#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 56 of file LSDynaFamily.h.
◆ SectionType
Enumerator |
---|
ControlSection | |
StaticSection | |
TimeStepSection | |
MaterialTypeData | |
FluidMaterialIdData | |
SPHElementData | |
GeometryData | |
UserIdData | |
AdaptedParentData | |
SPHNodeData | |
RigidSurfaceData | |
EndOfStaticSection | |
ElementDeletionState | |
SPHNodeState | |
RigidSurfaceState | |
NumberOfSectionTypes | |
Definition at line 76 of file LSDynaFamily.h.
◆ WordType
◆ LSDynaFamily()
LSDynaFamily::LSDynaFamily |
( |
| ) |
|
◆ ~LSDynaFamily()
LSDynaFamily::~LSDynaFamily |
( |
| ) |
|
◆ SetDatabaseDirectory()
void LSDynaFamily::SetDatabaseDirectory |
( |
const std::string & |
dd | ) |
|
◆ GetDatabaseDirectory()
std::string LSDynaFamily::GetDatabaseDirectory |
( |
| ) |
|
◆ SetDatabaseBaseName()
void LSDynaFamily::SetDatabaseBaseName |
( |
const std::string & |
bn | ) |
|
◆ GetDatabaseBaseName()
std::string LSDynaFamily::GetDatabaseBaseName |
( |
| ) |
|
◆ ScanDatabaseDirectory()
int LSDynaFamily::ScanDatabaseDirectory |
( |
| ) |
|
◆ SectionTypeToString()
static const char * LSDynaFamily::SectionTypeToString |
( |
SectionType |
s | ) |
|
|
static |
◆ SkipToWord()
◆ MarkTimeStep()
int LSDynaFamily::MarkTimeStep |
( |
| ) |
|
◆ SkipWords()
int LSDynaFamily::SkipWords |
( |
vtkIdType |
numWords | ) |
|
◆ BufferChunk()
◆ ClearBuffer()
int LSDynaFamily::ClearBuffer |
( |
| ) |
|
◆ InitPartialChunkBuffering()
◆ GetNextChunk()
◆ GetNextWordAsChars()
char * LSDynaFamily::GetNextWordAsChars |
( |
| ) |
|
|
inline |
◆ GetNextWordAsFloat()
double LSDynaFamily::GetNextWordAsFloat |
( |
| ) |
|
|
inline |
◆ GetNextWordAsInt()
◆ GetBufferAs()
template<typename T >
T * LSDynaFamily::GetBufferAs |
|
inline |
◆ AdvanceFile()
int LSDynaFamily::AdvanceFile |
( |
| ) |
|
◆ MarkSectionStart()
void LSDynaFamily::MarkSectionStart |
( |
int |
adaptLevel, |
|
|
SectionType |
m |
|
) |
| |
◆ JumpToMark()
◆ DetermineStorageModel()
int LSDynaFamily::DetermineStorageModel |
( |
| ) |
|
◆ SetStateSize()
void LSDynaFamily::SetStateSize |
( |
vtkIdType |
sz | ) |
|
◆ GetStateSize()
vtkIdType LSDynaFamily::GetStateSize |
( |
| ) |
const |
◆ GetNumberOfFiles()
◆ GetFileName()
std::string LSDynaFamily::GetFileName |
( |
int |
i | ) |
|
◆ GetFileSize()
◆ GetCurrentAdaptLevel()
int LSDynaFamily::GetCurrentAdaptLevel |
( |
| ) |
const |
|
inline |
◆ TimeAdaptLevel()
int LSDynaFamily::TimeAdaptLevel |
( |
int |
i | ) |
const |
|
inline |
◆ GetCurrentFWord()
vtkIdType LSDynaFamily::GetCurrentFWord |
( |
| ) |
const |
|
inline |
◆ GetWordSize()
int LSDynaFamily::GetWordSize |
( |
| ) |
const |
◆ Reset()
void LSDynaFamily::Reset |
( |
| ) |
|
◆ DumpMarks()
void LSDynaFamily::DumpMarks |
( |
std::ostream & |
os | ) |
|
Print all adaptation and time step marker information.
◆ CloseFileHandles()
void LSDynaFamily::CloseFileHandles |
( |
| ) |
|
◆ OpenFileHandles()
void LSDynaFamily::OpenFileHandles |
( |
| ) |
|
◆ SectionTypeNames
const char* LSDynaFamily::SectionTypeNames[] |
|
static |
◆ EOFMarker
const float LSDynaFamily::EOFMarker |
|
static |
◆ DatabaseDirectory
std::string LSDynaFamily::DatabaseDirectory |
|
protected |
The directory containing d3plot files.
Definition at line 193 of file LSDynaFamily.h.
◆ DatabaseBaseName
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 196 of file LSDynaFamily.h.
◆ Files
std::vector<std::string> LSDynaFamily::Files |
|
protected |
The list of files that make up the database.
Definition at line 198 of file LSDynaFamily.h.
◆ FileSizes
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 201 of file LSDynaFamily.h.
◆ FileAdaptLevels
std::vector<int> LSDynaFamily::FileAdaptLevels |
|
protected |
The adaptation level associated with each file.
Definition at line 203 of file LSDynaFamily.h.
◆ Adaptations
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 206 of file LSDynaFamily.h.
◆ FD
◆ FNum
The index of currently open file descriptor into list of files.
Definition at line 210 of file LSDynaFamily.h.
◆ FAdapt
The current adaptation level.
This is checked whenever a file is advanced so we can skip its control+geometry headers.
Definition at line 213 of file LSDynaFamily.h.
◆ FWord
The offset of Chunk in currently open file.
Definition at line 215 of file LSDynaFamily.h.
◆ TimeStep
A comprehensive list of all time values across all files (and mesh adaptations)
The current timestep
Definition at line 220 of file LSDynaFamily.h.
◆ SwapEndian
int LSDynaFamily::SwapEndian |
|
protected |
Whether files are reverse endian-ness of architecture.
Definition at line 222 of file LSDynaFamily.h.
◆ WordSize
int LSDynaFamily::WordSize |
|
protected |
◆ StateSize
◆ AdaptationsMarkers
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 229 of file LSDynaFamily.h.
◆ TimeStepMarks
An array of bookmarks pointing to the start of state information for each timestep.
Definition at line 232 of file LSDynaFamily.h.
◆ TimeAdaptLevels
std::vector<int> LSDynaFamily::TimeAdaptLevels |
|
protected |
The adaptation level associated with each time step.
Definition at line 234 of file LSDynaFamily.h.
◆ Chunk
unsigned char* LSDynaFamily::Chunk |
|
protected |
A buffer containing file contents of file FNum starting with word FWord.
Definition at line 236 of file LSDynaFamily.h.
◆ ChunkWord
A pointer to the next word in Chunk that will be returned when the reader requests a word.
Definition at line 239 of file LSDynaFamily.h.
◆ ChunkValid
◆ ChunkAlloc
The allocated size (in words) of Chunk.
Definition at line 244 of file LSDynaFamily.h.
◆ FileHandlesClosed
bool LSDynaFamily::FileHandlesClosed |
|
protected |
◆ BufferInfo
BufferingInfo* LSDynaFamily::BufferInfo |
|
protected |
The documentation for this class was generated from the following file: