#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 71 of file LSDynaFamily.h.
Enumerator |
---|
ControlSection |
|
StaticSection |
|
TimeStepSection |
|
MaterialTypeData |
|
FluidMaterialIdData |
|
SPHElementData |
|
GeometryData |
|
UserIdData |
|
AdaptedParentData |
|
SPHNodeData |
|
RigidSurfaceData |
|
EndOfStaticSection |
|
ElementDeletionState |
|
SPHNodeState |
|
RigidSurfaceState |
|
NumberOfSectionTypes |
|
Definition at line 91 of file LSDynaFamily.h.
LSDynaFamily::LSDynaFamily |
( |
| ) |
|
LSDynaFamily::~LSDynaFamily |
( |
| ) |
|
void LSDynaFamily::SetDatabaseDirectory |
( |
std::string |
dd | ) |
|
std::string LSDynaFamily::GetDatabaseDirectory |
( |
| ) |
|
void LSDynaFamily::SetDatabaseBaseName |
( |
std::string |
bn | ) |
|
std::string LSDynaFamily::GetDatabaseBaseName |
( |
| ) |
|
int LSDynaFamily::ScanDatabaseDirectory |
( |
| ) |
|
static const char* LSDynaFamily::SectionTypeToString |
( |
SectionType |
s | ) |
|
|
static |
int LSDynaFamily::MarkTimeStep |
( |
| ) |
|
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 |
adapteLevel, |
|
|
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 206 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 209 of file LSDynaFamily.h.
std::vector<std::string> LSDynaFamily::Files |
|
protected |
The list of files that make up the database.
Definition at line 211 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 214 of file LSDynaFamily.h.
std::vector<int> LSDynaFamily::FileAdaptLevels |
|
protected |
The adaptation level associated with each file.
Definition at line 216 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 219 of file LSDynaFamily.h.
The index of currently open file descriptor into list of files.
Definition at line 223 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 226 of file LSDynaFamily.h.
The offset of Chunk in currently open file.
Definition at line 228 of file LSDynaFamily.h.
A comprehensive list of all time values across all files (and mesh adaptations)
The current timestep
Definition at line 233 of file LSDynaFamily.h.
int LSDynaFamily::SwapEndian |
|
protected |
Whether files are reverse endian-ness of architecture.
Definition at line 235 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 242 of file LSDynaFamily.h.
An array of bookmarks pointing to the start of state information for each timestep.
Definition at line 245 of file LSDynaFamily.h.
std::vector<int> LSDynaFamily::TimeAdaptLevels |
|
protected |
The adaptation level associated with each time step.
Definition at line 247 of file LSDynaFamily.h.
unsigned char* LSDynaFamily::Chunk |
|
protected |
A buffer containing file contents of file FNum starting with word FWord.
Definition at line 249 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 252 of file LSDynaFamily.h.
The allocated size (in words) of Chunk.
Definition at line 257 of file LSDynaFamily.h.
bool LSDynaFamily::FileHandlesClosed |
|
protected |
BufferingInfo* LSDynaFamily::BufferInfo |
|
protected |
The documentation for this class was generated from the following file:
- /home/demarle/Builds/VTK/release/Utilities/Doxygen/dox/IO/LSDyna/private/LSDynaFamily.h