VTK
Public Types | Public Member Functions | Public Attributes | List of all members
LSDynaMetaData Class Reference

#include <LSDynaMetaData.h>

Collaboration diagram for LSDynaMetaData:
[legend]

Public Types

enum  LSDYNA_TYPES {
  PARTICLE = 0, BEAM = 1, SHELL = 2, THICK_SHELL = 3,
  SOLID = 4, RIGID_BODY = 5, ROAD_SURFACE = 6, NUM_CELL_TYPES
}
 LS-Dyna cell types. More...
 

Public Member Functions

 LSDynaMetaData ()
 
bool AddPointArray (const std::string &name, int numComponents, int status)
 
bool AddCellArray (int cellType, const std::string &name, int numComponents, int status)
 
int GetTotalMaterialCount ()
 
void Reset ()
 

Public Attributes

int FileIsValid
 
int FileSizeFactor
 
vtkIdType MaxFileLength
 
LSDynaFamily Fam
 
char Title [41]
 
char ReleaseNumber [16]
 
float CodeVersion
 
int Dimensionality
 
vtkIdType CurrentState
 
vtkIdType NumberOfNodes
 
vtkIdType NumberOfCells [LSDynaMetaData::NUM_CELL_TYPES]
 
int ReadRigidRoadMvmt
 
int ConnectivityUnpacked
 
std::map< std::string, vtkIdTypeDict
 
std::set< intRigidMaterials
 List of material IDs that indicate the associated shell element is rigid (and has no state data) More...
 
std::set< intFluidMaterials
 List of material IDs that indicate the associated solid element represents an Eulerian or ALE fluid. More...
 
std::vector< std::string > PointArrayNames
 
std::vector< intPointArrayComponents
 
std::vector< intPointArrayStatus
 
std::map< int, std::vector< std::string > > CellArrayNames
 
std::map< int, std::vector< int > > CellArrayComponents
 
std::map< int, std::vector< int > > CellArrayStatus
 
std::vector< std::string > PartNames
 
std::vector< intPartIds
 
std::vector< intPartMaterials
 
std::vector< intPartStatus
 
std::vector< intMaterialsOrdered
 
std::vector< intMaterialsUnordered
 
std::vector< intMaterialsLookup
 
std::vector< vtkIdTypeRigidSurfaceSegmentSizes
 
std::vector< doubleTimeValues
 
vtkIdType FileNumberThisState
 
vtkIdType FileOffsetThisState
 
vtkIdType PreStateSize
 
vtkIdType StateSize
 
vtkIdType ElementDeletionOffset
 
vtkIdType SPHStateOffset
 

Detailed Description

Definition at line 38 of file LSDynaMetaData.h.

Member Enumeration Documentation

LS-Dyna cell types.

These may be used as values for the cellType argument in member functions. One dataset is created for each cell type so that cells can have different attributes (temperature, pressure, etc.) defined over them. Note that NUM_CELL_TYPES is not a cell type, but an enumerant that specifies the total number of cell types. It is used to size arrays.

Enumerator
PARTICLE 
BEAM 
SHELL 
THICK_SHELL 
SOLID 
RIGID_BODY 
ROAD_SURFACE 
NUM_CELL_TYPES 

Definition at line 58 of file LSDynaMetaData.h.

Constructor & Destructor Documentation

LSDynaMetaData::LSDynaMetaData ( )

Member Function Documentation

bool LSDynaMetaData::AddPointArray ( const std::string &  name,
int  numComponents,
int  status 
)
bool LSDynaMetaData::AddCellArray ( int  cellType,
const std::string &  name,
int  numComponents,
int  status 
)
int LSDynaMetaData::GetTotalMaterialCount ( )
void LSDynaMetaData::Reset ( )

Member Data Documentation

int LSDynaMetaData::FileIsValid

Definition at line 72 of file LSDynaMetaData.h.

int LSDynaMetaData::FileSizeFactor

Definition at line 73 of file LSDynaMetaData.h.

vtkIdType LSDynaMetaData::MaxFileLength

Definition at line 74 of file LSDynaMetaData.h.

LSDynaFamily LSDynaMetaData::Fam

Definition at line 76 of file LSDynaMetaData.h.

char LSDynaMetaData::Title[41]

Definition at line 78 of file LSDynaMetaData.h.

char LSDynaMetaData::ReleaseNumber[16]

Definition at line 79 of file LSDynaMetaData.h.

float LSDynaMetaData::CodeVersion

Definition at line 80 of file LSDynaMetaData.h.

int LSDynaMetaData::Dimensionality

Definition at line 81 of file LSDynaMetaData.h.

vtkIdType LSDynaMetaData::CurrentState

Definition at line 82 of file LSDynaMetaData.h.

vtkIdType LSDynaMetaData::NumberOfNodes

Definition at line 83 of file LSDynaMetaData.h.

vtkIdType LSDynaMetaData::NumberOfCells[LSDynaMetaData::NUM_CELL_TYPES]

Definition at line 84 of file LSDynaMetaData.h.

int LSDynaMetaData::ReadRigidRoadMvmt

Definition at line 85 of file LSDynaMetaData.h.

int LSDynaMetaData::ConnectivityUnpacked

Definition at line 86 of file LSDynaMetaData.h.

std::map<std::string,vtkIdType> LSDynaMetaData::Dict

Definition at line 87 of file LSDynaMetaData.h.

std::set<int> LSDynaMetaData::RigidMaterials

List of material IDs that indicate the associated shell element is rigid (and has no state data)

Definition at line 90 of file LSDynaMetaData.h.

std::set<int> LSDynaMetaData::FluidMaterials

List of material IDs that indicate the associated solid element represents an Eulerian or ALE fluid.

Definition at line 92 of file LSDynaMetaData.h.

std::vector<std::string> LSDynaMetaData::PointArrayNames

Definition at line 94 of file LSDynaMetaData.h.

std::vector<int> LSDynaMetaData::PointArrayComponents

Definition at line 95 of file LSDynaMetaData.h.

std::vector<int> LSDynaMetaData::PointArrayStatus

Definition at line 96 of file LSDynaMetaData.h.

std::map<int, std::vector<std::string> > LSDynaMetaData::CellArrayNames

Definition at line 98 of file LSDynaMetaData.h.

std::map<int, std::vector<int> > LSDynaMetaData::CellArrayComponents

Definition at line 99 of file LSDynaMetaData.h.

std::map<int, std::vector<int> > LSDynaMetaData::CellArrayStatus

Definition at line 100 of file LSDynaMetaData.h.

std::vector<std::string> LSDynaMetaData::PartNames

Definition at line 102 of file LSDynaMetaData.h.

std::vector<int> LSDynaMetaData::PartIds

Definition at line 103 of file LSDynaMetaData.h.

std::vector<int> LSDynaMetaData::PartMaterials

Definition at line 104 of file LSDynaMetaData.h.

std::vector<int> LSDynaMetaData::PartStatus

Definition at line 105 of file LSDynaMetaData.h.

std::vector<int> LSDynaMetaData::MaterialsOrdered

Definition at line 107 of file LSDynaMetaData.h.

std::vector<int> LSDynaMetaData::MaterialsUnordered

Definition at line 108 of file LSDynaMetaData.h.

std::vector<int> LSDynaMetaData::MaterialsLookup

Definition at line 109 of file LSDynaMetaData.h.

std::vector<vtkIdType> LSDynaMetaData::RigidSurfaceSegmentSizes

Definition at line 111 of file LSDynaMetaData.h.

std::vector<double> LSDynaMetaData::TimeValues

Definition at line 112 of file LSDynaMetaData.h.

vtkIdType LSDynaMetaData::FileNumberThisState

Definition at line 115 of file LSDynaMetaData.h.

vtkIdType LSDynaMetaData::FileOffsetThisState

Definition at line 117 of file LSDynaMetaData.h.

vtkIdType LSDynaMetaData::PreStateSize

Definition at line 119 of file LSDynaMetaData.h.

vtkIdType LSDynaMetaData::StateSize

Definition at line 121 of file LSDynaMetaData.h.

vtkIdType LSDynaMetaData::ElementDeletionOffset

Definition at line 124 of file LSDynaMetaData.h.

vtkIdType LSDynaMetaData::SPHStateOffset

Definition at line 127 of file LSDynaMetaData.h.


The documentation for this class was generated from the following file: