5 int which_node_or_elem,
14 Info<<
"Entering: USERD_get_var_value_at_specific" <<
endl 19 label nNode = which_node_or_elem;
40 values[0] = scalarField[nNode];
45 values[0] = vectorField[nNode].x();
46 values[1] = vectorField[nNode].y();
47 values[2] = vectorField[nNode].z();
51 Info<<
"ERROR in USERD_get_variable_value_at_specific. " 52 <<
"No available variable???" 59 Info<<
"This functionality is not implemented yet." 66 Info<<
"Leaving: USERD_get_var_value_at_specific" <<
endl
intWM_LABEL_SIZE_t label
A label is an int32_t or int64_t as specified by the pre-processor macro WM_LABEL_SIZE.
int USERD_get_var_value_at_specific(int which_var, int which_node_or_elem, int which_part, int which_elem_type, int time_step, float values[3], int imag_data)
Ostream & endl(Ostream &os)
Add newline and flush stream.
volVectorField vectorField(fieldObject, mesh)
IOobject fieldObject(fieldNames[var2field[nVar]], runTime.timeName(), mesh, IOobject::MUST_READ, IOobject::NO_WRITE)
GeometricField< vector, fvPatchField, volMesh > volVectorField
static bool isVector[maxNames]
static List< word > fieldNames
GeometricField< scalar, fvPatchField, volMesh > volScalarField
static label nSprayVariables
volScalarField scalarField(fieldObject, mesh)
Ostream & flush(Ostream &os)
Flush stream.
static label var2field[maxNames]
static bool isScalar[maxNames]