#include <LSDynaFamily.h>
|
enum | SectionType {
ControlSection = 0,
StaticSection,
TimeStepSection,
MaterialTypeData,
FluidMaterialIdData,
SPHElementData,
GeometryData,
UserIdData,
AdaptedParentData,
SPHNodeData,
RigidSurfaceData,
EndOfStaticSection,
ElementDeletionState,
SPHNodeState,
RigidSurfaceState,
NumberOfSectionTypes
} |
|
enum | WordType { Char,
Float,
Int
} |
|
Definition at line 70 of file LSDynaFamily.h.
Enumerator |
---|
ControlSection |
|
StaticSection |
|
TimeStepSection |
|
MaterialTypeData |
|
FluidMaterialIdData |
|
SPHElementData |
|
GeometryData |
|
UserIdData |
|
AdaptedParentData |
|
SPHNodeData |
|
RigidSurfaceData |
|
EndOfStaticSection |
|
ElementDeletionState |
|
SPHNodeState |
|
RigidSurfaceState |
|
NumberOfSectionTypes |
|
Definition at line 90 of file LSDynaFamily.h.
LSDynaFamily::LSDynaFamily |
( |
| ) |
|
LSDynaFamily::~LSDynaFamily |
( |
| ) |
|
void LSDynaFamily::SetDatabaseDirectory |
( |
const std::string & |
dd | ) |
|
std::string LSDynaFamily::GetDatabaseDirectory |
( |
| ) |
|
void LSDynaFamily::SetDatabaseBaseName |
( |
const std::string & |
bn | ) |
|
std::string LSDynaFamily::GetDatabaseBaseName |
( |
| ) |
|
int LSDynaFamily::ScanDatabaseDirectory |
( |
| ) |
|
static const char* LSDynaFamily::SectionTypeToString |
( |
SectionType |
s | ) |
|
|
static |
int LSDynaFamily::MarkTimeStep |
( |
| ) |
|
int LSDynaFamily::SkipWords |
( |
vtkIdType |
numWords | ) |
|
int LSDynaFamily::ClearBuffer |
( |
| ) |
|
char * LSDynaFamily::GetNextWordAsChars |
( |
| ) |
|
|
inline |
double LSDynaFamily::GetNextWordAsFloat |
( |
| ) |
|
|
inline |
template<typename T >
T * LSDynaFamily::GetBufferAs |
( |
| ) |
|
|
inline |
int LSDynaFamily::AdvanceFile |
( |
| ) |
|
void LSDynaFamily::MarkSectionStart |
( |
int |
adaptLevel, |
|
|
SectionType |
m |
|
) |
| |
int LSDynaFamily::DetermineStorageModel |
( |
| ) |
|
void LSDynaFamily::SetStateSize |
( |
vtkIdType |
sz | ) |
|
vtkIdType LSDynaFamily::GetStateSize |
( |
| ) |
const |
std::string LSDynaFamily::GetFileName |
( |
int |
i | ) |
|
int LSDynaFamily::GetCurrentAdaptLevel |
( |
| ) |
const |
|
inline |
int LSDynaFamily::TimeAdaptLevel |
( |
int |
i | ) |
const |
|
inline |
vtkIdType LSDynaFamily::GetCurrentFWord |
( |
| ) |
const |
|
inline |
int LSDynaFamily::GetWordSize |
( |
| ) |
const |
void LSDynaFamily::Reset |
( |
| ) |
|
void LSDynaFamily::DumpMarks |
( |
std::ostream & |
os | ) |
|
Print all adaptation and time step marker information.
void LSDynaFamily::CloseFileHandles |
( |
| ) |
|
void LSDynaFamily::OpenFileHandles |
( |
| ) |
|
const char* LSDynaFamily::SectionTypeNames[] |
|
static |
const float LSDynaFamily::EOFMarker |
|
static |
std::string LSDynaFamily::DatabaseDirectory |
|
protected |
The directory containing d3plot files.
Definition at line 207 of file LSDynaFamily.h.
std::string LSDynaFamily::DatabaseBaseName |
|
protected |
The name (title string) of the database.
This is the first 10 words (40 or 80 bytes) of the first file.
Definition at line 210 of file LSDynaFamily.h.
std::vector<std::string> LSDynaFamily::Files |
|
protected |
The list of files that make up the database.
Definition at line 212 of file LSDynaFamily.h.
std::vector<vtkIdType> LSDynaFamily::FileSizes |
|
protected |
The size of each file in the database.
Note that they can be padded, so this is >= the amount of data in each file.
Definition at line 215 of file LSDynaFamily.h.
std::vector<int> LSDynaFamily::FileAdaptLevels |
|
protected |
The adaptation level associated with each file.
Definition at line 217 of file LSDynaFamily.h.
std::vector<int> LSDynaFamily::Adaptations |
|
protected |
Which files mark the start of a new mesh adaptation.
There is at least one entry and the first entry is always 0.
Definition at line 220 of file LSDynaFamily.h.
The index of currently open file descriptor into list of files.
Definition at line 224 of file LSDynaFamily.h.
The current adaptation level.
This is checked whenever a file is advanced so we can skip its control+geometry headers.
Definition at line 227 of file LSDynaFamily.h.
The offset of Chunk in currently open file.
Definition at line 229 of file LSDynaFamily.h.
A comprehensive list of all time values across all files (and mesh adaptations)
The current timestep
Definition at line 234 of file LSDynaFamily.h.
int LSDynaFamily::SwapEndian |
|
protected |
Whether files are reverse endian-ness of architecture.
Definition at line 236 of file LSDynaFamily.h.
int LSDynaFamily::WordSize |
|
protected |
A vector of arrays of offsets to various header information sections (that do not vary with timestep), one for each mesh adaptation.
Definition at line 243 of file LSDynaFamily.h.
An array of bookmarks pointing to the start of state information for each timestep.
Definition at line 246 of file LSDynaFamily.h.
std::vector<int> LSDynaFamily::TimeAdaptLevels |
|
protected |
The adaptation level associated with each time step.
Definition at line 248 of file LSDynaFamily.h.
unsigned char* LSDynaFamily::Chunk |
|
protected |
A buffer containing file contents of file FNum starting with word FWord.
Definition at line 250 of file LSDynaFamily.h.
A pointer to the next word in Chunk that will be returned when the reader requests a word.
Definition at line 253 of file LSDynaFamily.h.
The allocated size (in words) of Chunk.
Definition at line 258 of file LSDynaFamily.h.
bool LSDynaFamily::FileHandlesClosed |
|
protected |
BufferingInfo* LSDynaFamily::BufferInfo |
|
protected |
The documentation for this class was generated from the following file: