ActiveField - QuickField API help

QuickField Student Edition free download     Contacts

ActiveField Technology

Objects Overview

Hierarchy Chart

How to Start: Application Object

How to work with Problems

How to work with Model

How to work with Data

How to Analyze Results

Objects

Properties

Methods

GetCustomIntegral Method

Applies to

Summary

Returns the custom integral quantity.

Syntax

Result.GetCustomIntegral (
   function As UserFunction,
   Flags As QfCustomIntegralFlags,
  [p As Contour]
) As Quantity

Parameters

function
[in, optional] UserFunction
Flags
[in, optional] QfCustomIntegralFlags
p
[in, optional] Contour

Remarks

GetCustomIntegral task is calculation of the physical quantity value by integration over the line, surface, or volume defined by the given contour. The integrand expression is defined as the custom user-defined function by the UserFunction object.

The domain of integration is defined by the Contour parameter and the Flags parameter. The exact domain depends on whether the contour is closed or open, as shown in the table below.

Flags Open coutour Closed contour
  qfOverContour

        Integration over the line definied by the Contour

  qfOverCrossSect not applicabe Integartion over the cross-section: a flat surface bounded by the closed contour.
  qfOverSurface

        Integration over the side surface

  qfOverVolume not applicable The integration is performed over the volume formed by the movement of the cross-section in the direction of third coordinate

If the integration is performed on the side surface, the shape of the surface depends on the model symmetry class:

Return value has the Quantity type, which encapsulates the integral quantity. Actual type of the integral depends on the user implementation of the UserFunction interface.