Main Page   Namespace List   Class Hierarchy   Compound List   File List   Namespace Members   Compound Members   File Members  

CGNS::Discreted Class Reference

#include <cgns++.h>

Inherits CGNS::Gridded.

Inherited by CGNS::ArbitraryGridMotion, CGNS::DiscreteData, and CGNS::FlowSolution.

Inheritance diagram for CGNS::Discreted:

Inheritance graph
[legend]
List of all members.

Public Types

typedef iterator< DataArrayField_iterator_t
enum  FieldType {
  NULL_FIELD, POTENTIAL = DataArray::POTENTIAL, STREAMFUNCTION, DENSITY,
  PRESSURE, TEMPERATURE, ENERGY_INTERNAL, ENTHALPY,
  ENTROPY, ENTROPY_APPROX, DENSITY_STAGNATION, PRESSURE_STAGNATION,
  TEMPERATURE_STAGNATION, ENERGY_STAGNATION, ENTHALPY_STAGNATION, ENERGY_STAGNATION_DENSITY,
  VELOCITY_X, VELOCITY_Y, VELOCITY_Z, VELOCITY_R,
  VELOCITY_THETA, VELOCITY_PHI, VELOCITY_MAGNITUDE, VELOCITY_NORMAL,
  VELOCITY_TANGENTIAL, VELOCITY_SOUND, VELOCITY_SOUND_STAGNATION, MOMENTUM_X,
  MOMENTUM_Y, MOMENTUM_Z, MOMENTUM_MAGNITUDE, ENERGY_KINETIC,
  PRESSURE_DYNAMIC, VORTICITY_X, VORTICITY_Y, VORTICITY_Z,
  VORTICITY_MAGNITUDE, SKIN_FRICTION_X, SKIN_FRICTION_Y, SKIN_FRICTION_Z,
  SKIN_FRICTION_MAGNITUDE, VELOCITY_ANGLE_X, VELOCITY_ANGLE_Y, VELOCITY_ANGLE_Z,
  VELOCITY_UNIT_VECTOR_X, VELOCITY_UNIT_VECTOR_Y, VELOCITY_UNIT_VECTOR_Z, MASS_FLOW,
  VISCOSITY_KINEMATIC, VISCOSITY_MOLECULAR, VISCOSITY_EDDY_KINEMATIC, VISCOSITY_EDDY,
  THERMAL_CONDUCTIVITY, REYNOLDS_STRESS_XX, REYNOLDS_STRESS_XY, REYNOLDS_STRESS_XZ,
  REYNOLDS_STRESS_YY, REYNOLDS_STRESS_YZ, REYNOLDS_STRESS_ZZ, USER_FIELD
}

Public Methods

GridLocation getLocation () const
int getNumFields () const
FieldType getFieldType (int iNth) const
bool hasField (FieldType iField) const
DataArray getField (FieldType iField) const
DataArray getField (std::string const &iFieldName) const
void readData (FieldType iQuantity, double *oField) const
void readData (FieldType iQuantity, float *oField) const
void writeData (FieldType iQuantity, double const *iField)
void writeData (FieldType iQuantity, float const *iField)
DataArray writeField (FieldType iField, DataArray::DataType iType=DataArray::DOUBLE)
Field_iterator_t beginField () const
Field_iterator_t endField () const
void deleteField (FieldType iField)
void deleteField (std::string const &iName)

Protected Methods

 Discreted (Private::Discreted *iImpl)
 ~Discreted ()

Detailed Description

Represents a SIDS node holding either a FlowSolution_t or DiscreteData_t.


Member Typedef Documentation

typedef iterator<DataArray> Field_iterator_t
 


Member Enumeration Documentation

enum FieldType
 

Enumeration values:
NULL_FIELD 
POTENTIAL 
STREAMFUNCTION 
DENSITY 
PRESSURE 
TEMPERATURE 
ENERGY_INTERNAL 
ENTHALPY 
ENTROPY 
ENTROPY_APPROX 
DENSITY_STAGNATION 
PRESSURE_STAGNATION 
TEMPERATURE_STAGNATION 
ENERGY_STAGNATION 
ENTHALPY_STAGNATION 
ENERGY_STAGNATION_DENSITY 
VELOCITY_X 
VELOCITY_Y 
VELOCITY_Z 
VELOCITY_R 
VELOCITY_THETA 
VELOCITY_PHI 
VELOCITY_MAGNITUDE 
VELOCITY_NORMAL 
VELOCITY_TANGENTIAL 
VELOCITY_SOUND 
VELOCITY_SOUND_STAGNATION 
MOMENTUM_X 
MOMENTUM_Y 
MOMENTUM_Z 
MOMENTUM_MAGNITUDE 
ENERGY_KINETIC 
PRESSURE_DYNAMIC 
VORTICITY_X 
VORTICITY_Y 
VORTICITY_Z 
VORTICITY_MAGNITUDE 
SKIN_FRICTION_X 
SKIN_FRICTION_Y 
SKIN_FRICTION_Z 
SKIN_FRICTION_MAGNITUDE 
VELOCITY_ANGLE_X 
VELOCITY_ANGLE_Y 
VELOCITY_ANGLE_Z 
VELOCITY_UNIT_VECTOR_X 
VELOCITY_UNIT_VECTOR_Y 
VELOCITY_UNIT_VECTOR_Z 
MASS_FLOW 
VISCOSITY_KINEMATIC 
VISCOSITY_MOLECULAR 
VISCOSITY_EDDY_KINEMATIC 
VISCOSITY_EDDY 
THERMAL_CONDUCTIVITY 
REYNOLDS_STRESS_XX 
REYNOLDS_STRESS_XY 
REYNOLDS_STRESS_XZ 
REYNOLDS_STRESS_YY 
REYNOLDS_STRESS_YZ 
REYNOLDS_STRESS_ZZ 
USER_FIELD 


Constructor & Destructor Documentation

Discreted Private::Discreted *    iImpl [protected]
 

Creates this node from implementation data.

~Discreted   [inline, protected]
 

Deletes this node and disables access via base pointers.


Member Function Documentation

Field_iterator_t beginField   const
 

void deleteField std::string const &    iName
 

void deleteField FieldType    iField
 

Field_iterator_t endField   const
 

DataArray getField std::string const &    iFieldName const
 

Gets the named DataArray_t subnode.

DataArray getField FieldType    iField const
 

Gets the corresponding DataArray_t subnode.

FieldType getFieldType int    iNth const
 

Gets the quantity type of the nth field.

GridLocation getLocation   const
 

Gets the location of the solution data.

int getNumFields   const
 

Gets the number of fields, e.g. Pressure, VelocityX etc.

bool hasField FieldType    iField const
 

Asks if there is a subnode for the given QuantityType.

void readData FieldType    iQuantity,
float *    oField
const
 

void readData FieldType    iQuantity,
double *    oField
const
 

Does the actual read of the quantity entry.

void writeData FieldType    iQuantity,
float const *    iField
 

void writeData FieldType    iQuantity,
double const *    iField
 

Does the actual write of the quantity entry.

DataArray writeField FieldType    iField,
DataArray::DataType    iType = DataArray::DOUBLE
 

Adds the named quantity entry to this node and returns it.


Generated on Thu Mar 14 10:44:28 2002 for CGNS++ by doxygen1.2.13.1 written by Dimitri van Heesch, © 1997-2001