VTK  9.1.0
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)
 
vtkIdType 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< int > RigidMaterials
 List of material IDs that indicate the associated shell element is rigid (and has no state data)
 
std::set< int > FluidMaterials
 List of material IDs that indicate the associated solid element represents an Eulerian or ALE fluid.
 
std::vector< std::string > PointArrayNames
 
std::vector< int > PointArrayComponents
 
std::vector< int > PointArrayStatus
 
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< int > PartIds
 
std::vector< int > PartMaterials
 
std::vector< int > PartStatus
 
std::vector< int > MaterialsOrdered
 
std::vector< int > MaterialsUnordered
 
std::vector< int > MaterialsLookup
 
std::vector< vtkIdTypeRigidSurfaceSegmentSizes
 
std::vector< double > TimeValues
 
vtkIdType FileNumberThisState
 
vtkIdType FileOffsetThisState
 
vtkIdType PreStateSize
 
vtkIdType StateSize
 
vtkIdType ElementDeletionOffset
 
vtkIdType SPHStateOffset
 

Detailed Description

Definition at line 37 of file LSDynaMetaData.h.

Member Enumeration Documentation

◆ LSDYNA_TYPES

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 57 of file LSDynaMetaData.h.

Constructor & Destructor Documentation

◆ LSDynaMetaData()

LSDynaMetaData::LSDynaMetaData ( )

Member Function Documentation

◆ AddPointArray()

bool LSDynaMetaData::AddPointArray ( const std::string &  name,
int  numComponents,
int  status 
)

◆ AddCellArray()

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

◆ GetTotalMaterialCount()

vtkIdType LSDynaMetaData::GetTotalMaterialCount ( )

◆ Reset()

void LSDynaMetaData::Reset ( )

Member Data Documentation

◆ FileIsValid

int LSDynaMetaData::FileIsValid

Definition at line 72 of file LSDynaMetaData.h.

◆ FileSizeFactor

int LSDynaMetaData::FileSizeFactor

Definition at line 73 of file LSDynaMetaData.h.

◆ MaxFileLength

vtkIdType LSDynaMetaData::MaxFileLength

Definition at line 74 of file LSDynaMetaData.h.

◆ Fam

LSDynaFamily LSDynaMetaData::Fam

Definition at line 76 of file LSDynaMetaData.h.

◆ Title

char LSDynaMetaData::Title[41]

Definition at line 78 of file LSDynaMetaData.h.

◆ ReleaseNumber

char LSDynaMetaData::ReleaseNumber[16]

Definition at line 79 of file LSDynaMetaData.h.

◆ CodeVersion

float LSDynaMetaData::CodeVersion

Definition at line 80 of file LSDynaMetaData.h.

◆ Dimensionality

int LSDynaMetaData::Dimensionality

Definition at line 81 of file LSDynaMetaData.h.

◆ CurrentState

vtkIdType LSDynaMetaData::CurrentState

Definition at line 82 of file LSDynaMetaData.h.

◆ NumberOfNodes

vtkIdType LSDynaMetaData::NumberOfNodes

Definition at line 83 of file LSDynaMetaData.h.

◆ NumberOfCells

vtkIdType LSDynaMetaData::NumberOfCells[LSDynaMetaData::NUM_CELL_TYPES]

Definition at line 84 of file LSDynaMetaData.h.

◆ ReadRigidRoadMvmt

int LSDynaMetaData::ReadRigidRoadMvmt

Definition at line 85 of file LSDynaMetaData.h.

◆ ConnectivityUnpacked

int LSDynaMetaData::ConnectivityUnpacked

Definition at line 86 of file LSDynaMetaData.h.

◆ Dict

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

Definition at line 87 of file LSDynaMetaData.h.

◆ RigidMaterials

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 91 of file LSDynaMetaData.h.

◆ FluidMaterials

std::set<int> LSDynaMetaData::FluidMaterials

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

Definition at line 94 of file LSDynaMetaData.h.

◆ PointArrayNames

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

Definition at line 96 of file LSDynaMetaData.h.

◆ PointArrayComponents

std::vector<int> LSDynaMetaData::PointArrayComponents

Definition at line 97 of file LSDynaMetaData.h.

◆ PointArrayStatus

std::vector<int> LSDynaMetaData::PointArrayStatus

Definition at line 98 of file LSDynaMetaData.h.

◆ CellArrayNames

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

Definition at line 100 of file LSDynaMetaData.h.

◆ CellArrayComponents

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

Definition at line 101 of file LSDynaMetaData.h.

◆ CellArrayStatus

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

Definition at line 102 of file LSDynaMetaData.h.

◆ PartNames

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

Definition at line 104 of file LSDynaMetaData.h.

◆ PartIds

std::vector<int> LSDynaMetaData::PartIds

Definition at line 105 of file LSDynaMetaData.h.

◆ PartMaterials

std::vector<int> LSDynaMetaData::PartMaterials

Definition at line 106 of file LSDynaMetaData.h.

◆ PartStatus

std::vector<int> LSDynaMetaData::PartStatus

Definition at line 107 of file LSDynaMetaData.h.

◆ MaterialsOrdered

std::vector<int> LSDynaMetaData::MaterialsOrdered

Definition at line 109 of file LSDynaMetaData.h.

◆ MaterialsUnordered

std::vector<int> LSDynaMetaData::MaterialsUnordered

Definition at line 110 of file LSDynaMetaData.h.

◆ MaterialsLookup

std::vector<int> LSDynaMetaData::MaterialsLookup

Definition at line 111 of file LSDynaMetaData.h.

◆ RigidSurfaceSegmentSizes

std::vector<vtkIdType> LSDynaMetaData::RigidSurfaceSegmentSizes

Definition at line 113 of file LSDynaMetaData.h.

◆ TimeValues

std::vector<double> LSDynaMetaData::TimeValues

Definition at line 114 of file LSDynaMetaData.h.

◆ FileNumberThisState

vtkIdType LSDynaMetaData::FileNumberThisState

Definition at line 117 of file LSDynaMetaData.h.

◆ FileOffsetThisState

vtkIdType LSDynaMetaData::FileOffsetThisState

Definition at line 119 of file LSDynaMetaData.h.

◆ PreStateSize

vtkIdType LSDynaMetaData::PreStateSize

Definition at line 121 of file LSDynaMetaData.h.

◆ StateSize

vtkIdType LSDynaMetaData::StateSize

Definition at line 123 of file LSDynaMetaData.h.

◆ ElementDeletionOffset

vtkIdType LSDynaMetaData::ElementDeletionOffset

Definition at line 126 of file LSDynaMetaData.h.

◆ SPHStateOffset

vtkIdType LSDynaMetaData::SPHStateOffset

Definition at line 129 of file LSDynaMetaData.h.


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