![](../icons/Help.png) | CGUiEMLayer Method |
Calculate the EM response of a layered earth model.
Available since Oasis montaj version: 5.0
License: Available to anyone with an Oasis Montaj license.
Namespace: Geosoft.Desktop.GXNetXAssembly: geosoft.desktop.gxnetx (in geosoft.desktop.gxnetx.dll)
Syntaxpublic static int iEMLayer(
CGXNETCore gxNetShared,
double coil_spacing,
double coil_frequency,
double coil_height,
int coil_configuration,
int n_layers,
CVV vv_thickness,
CVV vv_sigma,
ref double in_phase,
ref double quadrature
)
Public Shared Function iEMLayer (
gxNetShared As CGXNETCore,
coil_spacing As Double,
coil_frequency As Double,
coil_height As Double,
coil_configuration As Integer,
n_layers As Integer,
vv_thickness As CVV,
vv_sigma As CVV,
ByRef in_phase As Double,
ByRef quadrature As Double
) As Integer
public:
static int iEMLayer(
CGXNETCore^ gxNetShared,
double coil_spacing,
double coil_frequency,
double coil_height,
int coil_configuration,
int n_layers,
CVV^ vv_thickness,
CVV^ vv_sigma,
double% in_phase,
double% quadrature
)
static member iEMLayer :
gxNetShared : CGXNETCore *
coil_spacing : float *
coil_frequency : float *
coil_height : float *
coil_configuration : int *
n_layers : int *
vv_thickness : CVV *
vv_sigma : CVV *
in_phase : float byref *
quadrature : float byref -> int
Parameters
- gxNetShared
- Type: GeoEngine.Core.GXNetXCGXNETCore
A shared CGXNETCore - coil_spacing
- Type: SystemDouble
Coil spacing, error if == 0 - coil_frequency
- Type: SystemDouble
Coil frequency - coil_height
- Type: SystemDouble
Coil height above layer [0] - coil_configuration
- Type: SystemInt32
<define>EMLAY_GEOMETRY</define> - n_layers
- Type: SystemInt32
Number of layers (including lower halfspace) - vv_thickness
- Type: GeoEngine.Core.GXNetXCVV
sNLayer-1 thicknesses [0] to [sNLayer-2] - vv_sigma
- Type: GeoEngine.Core.GXNetXCVV
sNLayer conductivities [0] to [sNLayer-1] - in_phase
- Type: SystemDouble
On return - in-phase part (ppm) - quadrature
- Type: SystemDouble
On return - quadrature part (ppm)
Return Value
Type:
Int32
0 of OK
1 if some error
See Also