Click or drag to resize
CMULTIGRID3DUTILConvertDensityToVelocity Method
Convert Density MultiVoxset to Velocity MultiVoxset

Available since Oasis montaj version: 9.4
License: Available to anyone.  

Namespace: GeoEngine.Core.GXNetX
Assembly: geoengine.core.gxnetx (in geoengine.core.gxnetx.dll)
Syntax
public static void ConvertDensityToVelocity(
	CGXNETCore gxNetShared,
	string input_grid3d_filename,
	double input_scaling_factor,
	double input_lower_bound,
	double input_upper_bound,
	double a5,
	double a4,
	double a3,
	double a2,
	double a1,
	double a0,
	double output_scaling_factor,
	string output_grid3d_filename
)

Parameters

gxNetShared
Type: GeoEngine.Core.GXNetXCGXNETCore
A shared CGXNETCore
input_grid3d_filename
Type: SystemString
Input grid3d filename
input_scaling_factor
Type: SystemDouble
1.0, if this grid3d is in meters per second. Otherwise, a value by which each input cell is multiplied to convert it into meters per second.
input_lower_bound
Type: SystemDouble
Lower bound on velocity values, in meters per second. If the input value (after being pre-multiplied by dInputScalingFactor) is less than this value, the output cell value will be DUMMY.
input_upper_bound
Type: SystemDouble
Upper bound on velocity values, in meters per second. If the input value (after being pre-multiplied by dInputScalingFactor) is greater than this value, the output cell value will be DUMMY.
a5
Type: SystemDouble
Coefficient of fifth-order polynomial term.
a4
Type: SystemDouble
Coefficient of fourth-order polynomial term.
a3
Type: SystemDouble
Coefficient of third-order polynomial term.
a2
Type: SystemDouble
Coefficient of second-order polynomial term.
a1
Type: SystemDouble
Coefficient of first-order polynomial term.
a0
Type: SystemDouble
Constant offset of output.
output_scaling_factor
Type: SystemDouble
1.0, to produce an output grid3d that has units of g/cm^3. If different units are desired, pass in a different value, which will be multiplied into each output grid3d cell.
output_grid3d_filename
Type: SystemString
Output grid3d filename
See Also