#include <vtkLSDynaReader.h>
This filter reads LS-Dyna databases.
The Set/GetFileName() routines are actually wrappers around the Set/GetDatabaseDirectory() members; the actual filename you choose is irrelevant -- only the directory name is used. This is done in order to accommodate ParaView.
Note that this reader produces 7 output meshes. These meshes are required as several attributes are defined on subsets of the mesh. Below is a list of meshes in the order they are output and an explanation of which attributes are unique to each mesh:
In their infinite wisdom, LSDyna developers decided to split simulation data into multiple files, each no larger than some predetermined limit. Each file can contain one section, a partial section (if it would not fit into a single file), or multiple sections. Files are padded with zeros so that their lengths will be multiples of 512*512. The size of each section is determined by constants in the control and data sections, which means that these must be parsed carefully in order to correctly locate desired information. Unfortunately, the constants are not terribly well-documented and in some cases the documentation is in error.
Definition at line 160 of file vtkLSDynaReader.h.
anonymous enum |
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.
Definition at line 175 of file vtkLSDynaReader.h.
vtkLSDynaReader::vtkLSDynaReader | ( | ) | [protected] |
virtual vtkLSDynaReader::~vtkLSDynaReader | ( | ) | [protected, virtual] |
virtual const char* vtkLSDynaReader::GetClassName | ( | ) | [virtual] |
Reimplemented from vtkMultiBlockDataSetAlgorithm.
static int vtkLSDynaReader::IsTypeOf | ( | const char * | name | ) | [static] |
Return 1 if this class type is the same type of (or a subclass of) the named class. Returns 0 otherwise. This method works in combination with vtkTypeMacro found in vtkSetGet.h.
Reimplemented from vtkMultiBlockDataSetAlgorithm.
virtual int vtkLSDynaReader::IsA | ( | const char * | name | ) | [virtual] |
Return 1 if this class is the same type of (or a subclass of) the named class. Returns 0 otherwise. This method works in combination with vtkTypeMacro found in vtkSetGet.h.
Reimplemented from vtkMultiBlockDataSetAlgorithm.
static vtkLSDynaReader* vtkLSDynaReader::SafeDownCast | ( | vtkObject * | o | ) | [static] |
Reimplemented from vtkMultiBlockDataSetAlgorithm.
virtual void vtkLSDynaReader::PrintSelf | ( | ostream & | os, | |
vtkIndent | indent | |||
) | [virtual] |
Methods invoked by print to print information about the object including superclasses. Typically not called by the user (use Print() instead) but used in the hierarchical print process to combine the output of several classes.
Reimplemented from vtkMultiBlockDataSetAlgorithm.
static vtkLSDynaReader* vtkLSDynaReader::New | ( | ) | [static] |
Create an object with Debug turned off, modified time initialized to zero, and reference counting on.
Reimplemented from vtkMultiBlockDataSetAlgorithm.
void vtkLSDynaReader::Dump | ( | ostream & | os | ) |
Print out more complete information about the dataset (and less complete information about the VTK hierarchy) than PrintSelf.
void vtkLSDynaReader::DebugDump | ( | ) |
A routine to call Dump() from within a lame debugger that won't properly pass a C++ iostream object like cout.
int vtkLSDynaReader::CanReadFile | ( | const char * | fname | ) |
Determine if the file can be readed with this reader.
virtual void vtkLSDynaReader::SetDatabaseDirectory | ( | const char * | ) | [virtual] |
Get/Set the directory containing the LS-Dyna database and determine whether it is valid.
const char* vtkLSDynaReader::GetDatabaseDirectory | ( | ) |
Get/Set the directory containing the LS-Dyna database and determine whether it is valid.
int vtkLSDynaReader::IsDatabaseValid | ( | ) |
Get/Set the directory containing the LS-Dyna database and determine whether it is valid.
virtual void vtkLSDynaReader::SetFileName | ( | const char * | ) | [virtual] |
Get/Set the filename. The Set/GetFileName() routines are actually wrappers around the Set/GetDatabaseDirectory() members; the actual filename you choose is irrelevant -- only the directory name is used. This is done in order to accommodate ParaView.
const char* vtkLSDynaReader::GetFileName | ( | ) |
Get/Set the filename. The Set/GetFileName() routines are actually wrappers around the Set/GetDatabaseDirectory() members; the actual filename you choose is irrelevant -- only the directory name is used. This is done in order to accommodate ParaView.
char* vtkLSDynaReader::GetTitle | ( | ) |
The title of the database is a 40 or 80 character text description stored at the front of a d3plot file. Do not call this function before setting the database directory and calling UpdateInformation().
int vtkLSDynaReader::GetDimensionality | ( | ) |
Retrieve the dimension of points in the database. This should return 2 or 3. Do not call this function before setting the database directory and calling UpdateInformation().
vtkIdType vtkLSDynaReader::GetNumberOfNodes | ( | ) |
Retrieve the number of points in the database. Do not call this function before setting the database directory and calling UpdateInformation().
vtkIdType vtkLSDynaReader::GetNumberOfCells | ( | ) |
Retrieve the number of cells of a given type in the database. Do not call this function before setting the database directory and calling UpdateInformation(). Note that GetNumberOfCells() returns the sum of GetNumberOfContinuumCells() and GetNumberOfParticleCells().
vtkIdType vtkLSDynaReader::GetNumberOfContinuumCells | ( | ) |
Retrieve the number of cells of a given type in the database. Do not call this function before setting the database directory and calling UpdateInformation(). Note that GetNumberOfContinuumCells() returns the sum of GetNumberOfSolidCells(), GetNumberOfThickShellCells(), GetNumberOfShellCells(), GetNumberOfRigidBodyCells(), GetNumberOfRoadSurfaceCells(), and GetNumberOfBeamCells().
vtkIdType vtkLSDynaReader::GetNumberOfSolidCells | ( | ) |
Retrieve the number of cells of a given type in the database. Do not call this function before setting the database directory and calling UpdateInformation().
vtkIdType vtkLSDynaReader::GetNumberOfThickShellCells | ( | ) |
Retrieve the number of cells of a given type in the database. Do not call this function before setting the database directory and calling UpdateInformation().
vtkIdType vtkLSDynaReader::GetNumberOfShellCells | ( | ) |
Retrieve the number of cells of a given type in the database. Do not call this function before setting the database directory and calling UpdateInformation().
vtkIdType vtkLSDynaReader::GetNumberOfRigidBodyCells | ( | ) |
Retrieve the number of cells of a given type in the database. Do not call this function before setting the database directory and calling UpdateInformation().
vtkIdType vtkLSDynaReader::GetNumberOfRoadSurfaceCells | ( | ) |
Retrieve the number of cells of a given type in the database. Do not call this function before setting the database directory and calling UpdateInformation().
vtkIdType vtkLSDynaReader::GetNumberOfBeamCells | ( | ) |
Retrieve the number of cells of a given type in the database. Do not call this function before setting the database directory and calling UpdateInformation().
vtkIdType vtkLSDynaReader::GetNumberOfParticleCells | ( | ) |
Retrieve the number of cells of a given type in the database. Do not call this function before setting the database directory and calling UpdateInformation().
vtkIdType vtkLSDynaReader::GetNumberOfTimeSteps | ( | ) |
Retrieve information about the time extents of the LS-Dyna database. Do not call these functions before setting the database directory and calling UpdateInformation().
virtual void vtkLSDynaReader::SetTimeStep | ( | vtkIdType | ) | [virtual] |
Retrieve information about the time extents of the LS-Dyna database. Do not call these functions before setting the database directory and calling UpdateInformation().
vtkIdType vtkLSDynaReader::GetTimeStep | ( | ) |
Retrieve information about the time extents of the LS-Dyna database. Do not call these functions before setting the database directory and calling UpdateInformation().
double vtkLSDynaReader::GetTimeValue | ( | vtkIdType | ) |
Retrieve information about the time extents of the LS-Dyna database. Do not call these functions before setting the database directory and calling UpdateInformation().
virtual int* vtkLSDynaReader::GetTimeStepRange | ( | ) | [virtual] |
Retrieve information about the time extents of the LS-Dyna database. Do not call these functions before setting the database directory and calling UpdateInformation().
virtual void vtkLSDynaReader::GetTimeStepRange | ( | int & | , | |
int & | ||||
) | [virtual] |
Retrieve information about the time extents of the LS-Dyna database. Do not call these functions before setting the database directory and calling UpdateInformation().
virtual void vtkLSDynaReader::GetTimeStepRange | ( | int | [2] | ) | [virtual] |
Retrieve information about the time extents of the LS-Dyna database. Do not call these functions before setting the database directory and calling UpdateInformation().
virtual void vtkLSDynaReader::SetTimeStepRange | ( | int | , | |
int | ||||
) | [virtual] |
Retrieve information about the time extents of the LS-Dyna database. Do not call these functions before setting the database directory and calling UpdateInformation().
void vtkLSDynaReader::SetTimeStepRange | ( | int | [2] | ) |
Retrieve information about the time extents of the LS-Dyna database. Do not call these functions before setting the database directory and calling UpdateInformation().
int vtkLSDynaReader::GetNumberOfPointArrays | ( | ) |
These methods allow you to load only selected subsets of the nodal variables defined over the mesh.
const char* vtkLSDynaReader::GetPointArrayName | ( | int | ) |
These methods allow you to load only selected subsets of the nodal variables defined over the mesh.
virtual void vtkLSDynaReader::SetPointArrayStatus | ( | int | arr, | |
int | status | |||
) | [virtual] |
These methods allow you to load only selected subsets of the nodal variables defined over the mesh.
void vtkLSDynaReader::SetPointArrayStatus | ( | const char * | arrName, | |
int | status | |||
) | [inline, virtual] |
These methods allow you to load only selected subsets of the nodal variables defined over the mesh.
Definition at line 584 of file vtkLSDynaReader.h.
int vtkLSDynaReader::GetPointArrayStatus | ( | int | arr | ) |
These methods allow you to load only selected subsets of the nodal variables defined over the mesh.
int vtkLSDynaReader::GetPointArrayStatus | ( | const char * | arrName | ) | [inline] |
These methods allow you to load only selected subsets of the nodal variables defined over the mesh.
Definition at line 597 of file vtkLSDynaReader.h.
int vtkLSDynaReader::GetNumberOfComponentsInPointArray | ( | int | arr | ) |
These methods allow you to load only selected subsets of the nodal variables defined over the mesh.
int vtkLSDynaReader::GetNumberOfComponentsInPointArray | ( | const char * | arrName | ) | [inline] |
These methods allow you to load only selected subsets of the nodal variables defined over the mesh.
Definition at line 610 of file vtkLSDynaReader.h.
int vtkLSDynaReader::GetNumberOfCellArrays | ( | int | cellType | ) |
Routines that allow the status of a cell variable to be adjusted or queried independent of the output mesh. The cellType parameter should be one of: LS_POINT, LS_BEAM, LS_SHELL, LS_THICK_SHELL, LS_SOLID, LS_RIGID_BODY, or LS_ROAD_SURFACE
const char* vtkLSDynaReader::GetCellArrayName | ( | int | cellType, | |
int | arr | |||
) |
Routines that allow the status of a cell variable to be adjusted or queried independent of the output mesh. The cellType parameter should be one of: LS_POINT, LS_BEAM, LS_SHELL, LS_THICK_SHELL, LS_SOLID, LS_RIGID_BODY, or LS_ROAD_SURFACE
virtual void vtkLSDynaReader::SetCellArrayStatus | ( | int | cellType, | |
int | arr, | |||
int | status | |||
) | [virtual] |
Routines that allow the status of a cell variable to be adjusted or queried independent of the output mesh. The cellType parameter should be one of: LS_POINT, LS_BEAM, LS_SHELL, LS_THICK_SHELL, LS_SOLID, LS_RIGID_BODY, or LS_ROAD_SURFACE
void vtkLSDynaReader::SetCellArrayStatus | ( | int | cellType, | |
const char * | arrName, | |||
int | status | |||
) | [inline, virtual] |
Routines that allow the status of a cell variable to be adjusted or queried independent of the output mesh. The cellType parameter should be one of: LS_POINT, LS_BEAM, LS_SHELL, LS_THICK_SHELL, LS_SOLID, LS_RIGID_BODY, or LS_ROAD_SURFACE
Definition at line 623 of file vtkLSDynaReader.h.
int vtkLSDynaReader::GetCellArrayStatus | ( | int | cellType, | |
int | arr | |||
) |
Routines that allow the status of a cell variable to be adjusted or queried independent of the output mesh. The cellType parameter should be one of: LS_POINT, LS_BEAM, LS_SHELL, LS_THICK_SHELL, LS_SOLID, LS_RIGID_BODY, or LS_ROAD_SURFACE
int vtkLSDynaReader::GetCellArrayStatus | ( | int | cellType, | |
const char * | arrName | |||
) | [inline] |
Routines that allow the status of a cell variable to be adjusted or queried independent of the output mesh. The cellType parameter should be one of: LS_POINT, LS_BEAM, LS_SHELL, LS_THICK_SHELL, LS_SOLID, LS_RIGID_BODY, or LS_ROAD_SURFACE
Definition at line 636 of file vtkLSDynaReader.h.
int vtkLSDynaReader::GetNumberOfComponentsInCellArray | ( | int | cellType, | |
int | arr | |||
) |
Routines that allow the status of a cell variable to be adjusted or queried independent of the output mesh. The cellType parameter should be one of: LS_POINT, LS_BEAM, LS_SHELL, LS_THICK_SHELL, LS_SOLID, LS_RIGID_BODY, or LS_ROAD_SURFACE
int vtkLSDynaReader::GetNumberOfComponentsInCellArray | ( | int | cellType, | |
const char * | arrName | |||
) | [inline] |
Routines that allow the status of a cell variable to be adjusted or queried independent of the output mesh. The cellType parameter should be one of: LS_POINT, LS_BEAM, LS_SHELL, LS_THICK_SHELL, LS_SOLID, LS_RIGID_BODY, or LS_ROAD_SURFACE
Definition at line 649 of file vtkLSDynaReader.h.
int vtkLSDynaReader::GetNumberOfSolidArrays | ( | ) |
These methods allow you to load only selected subsets of the cell variables defined over the mesh.
const char* vtkLSDynaReader::GetSolidArrayName | ( | int | ) |
These methods allow you to load only selected subsets of the cell variables defined over the mesh.
virtual void vtkLSDynaReader::SetSolidArrayStatus | ( | int | arr, | |
int | status | |||
) | [virtual] |
These methods allow you to load only selected subsets of the cell variables defined over the mesh.
void vtkLSDynaReader::SetSolidArrayStatus | ( | const char * | arrName, | |
int | status | |||
) | [inline, virtual] |
These methods allow you to load only selected subsets of the cell variables defined over the mesh.
Definition at line 662 of file vtkLSDynaReader.h.
int vtkLSDynaReader::GetSolidArrayStatus | ( | int | arr | ) |
These methods allow you to load only selected subsets of the cell variables defined over the mesh.
int vtkLSDynaReader::GetSolidArrayStatus | ( | const char * | arrName | ) | [inline] |
These methods allow you to load only selected subsets of the cell variables defined over the mesh.
Definition at line 675 of file vtkLSDynaReader.h.
int vtkLSDynaReader::GetNumberOfComponentsInSolidArray | ( | int | a | ) |
int vtkLSDynaReader::GetNumberOfComponentsInSolidArray | ( | const char * | arrName | ) | [inline] |
Definition at line 688 of file vtkLSDynaReader.h.
int vtkLSDynaReader::GetNumberOfThickShellArrays | ( | ) |
These methods allow you to load only selected subsets of the cell variables defined over the mesh.
const char* vtkLSDynaReader::GetThickShellArrayName | ( | int | ) |
These methods allow you to load only selected subsets of the cell variables defined over the mesh.
virtual void vtkLSDynaReader::SetThickShellArrayStatus | ( | int | arr, | |
int | status | |||
) | [virtual] |
These methods allow you to load only selected subsets of the cell variables defined over the mesh.
void vtkLSDynaReader::SetThickShellArrayStatus | ( | const char * | arrName, | |
int | status | |||
) | [inline, virtual] |
These methods allow you to load only selected subsets of the cell variables defined over the mesh.
Definition at line 701 of file vtkLSDynaReader.h.
int vtkLSDynaReader::GetThickShellArrayStatus | ( | int | arr | ) |
These methods allow you to load only selected subsets of the cell variables defined over the mesh.
int vtkLSDynaReader::GetThickShellArrayStatus | ( | const char * | arrName | ) | [inline] |
These methods allow you to load only selected subsets of the cell variables defined over the mesh.
Definition at line 714 of file vtkLSDynaReader.h.
int vtkLSDynaReader::GetNumberOfComponentsInThickShellArray | ( | int | a | ) |
int vtkLSDynaReader::GetNumberOfComponentsInThickShellArray | ( | const char * | arrName | ) | [inline] |
Definition at line 727 of file vtkLSDynaReader.h.
int vtkLSDynaReader::GetNumberOfShellArrays | ( | ) |
These methods allow you to load only selected subsets of the cell variables defined over the mesh.
const char* vtkLSDynaReader::GetShellArrayName | ( | int | ) |
These methods allow you to load only selected subsets of the cell variables defined over the mesh.
virtual void vtkLSDynaReader::SetShellArrayStatus | ( | int | arr, | |
int | status | |||
) | [virtual] |
These methods allow you to load only selected subsets of the cell variables defined over the mesh.
void vtkLSDynaReader::SetShellArrayStatus | ( | const char * | arrName, | |
int | status | |||
) | [inline, virtual] |
These methods allow you to load only selected subsets of the cell variables defined over the mesh.
Definition at line 740 of file vtkLSDynaReader.h.
int vtkLSDynaReader::GetShellArrayStatus | ( | int | arr | ) |
These methods allow you to load only selected subsets of the cell variables defined over the mesh.
int vtkLSDynaReader::GetShellArrayStatus | ( | const char * | arrName | ) | [inline] |
These methods allow you to load only selected subsets of the cell variables defined over the mesh.
Definition at line 753 of file vtkLSDynaReader.h.
int vtkLSDynaReader::GetNumberOfComponentsInShellArray | ( | int | a | ) |
int vtkLSDynaReader::GetNumberOfComponentsInShellArray | ( | const char * | arrName | ) | [inline] |
Definition at line 766 of file vtkLSDynaReader.h.
int vtkLSDynaReader::GetNumberOfRigidBodyArrays | ( | ) |
These methods allow you to load only selected subsets of the cell variables defined over the mesh.
const char* vtkLSDynaReader::GetRigidBodyArrayName | ( | int | ) |
These methods allow you to load only selected subsets of the cell variables defined over the mesh.
virtual void vtkLSDynaReader::SetRigidBodyArrayStatus | ( | int | arr, | |
int | status | |||
) | [virtual] |
These methods allow you to load only selected subsets of the cell variables defined over the mesh.
void vtkLSDynaReader::SetRigidBodyArrayStatus | ( | const char * | arrName, | |
int | status | |||
) | [inline, virtual] |
These methods allow you to load only selected subsets of the cell variables defined over the mesh.
Definition at line 857 of file vtkLSDynaReader.h.
int vtkLSDynaReader::GetRigidBodyArrayStatus | ( | int | arr | ) |
These methods allow you to load only selected subsets of the cell variables defined over the mesh.
int vtkLSDynaReader::GetRigidBodyArrayStatus | ( | const char * | arrName | ) | [inline] |
These methods allow you to load only selected subsets of the cell variables defined over the mesh.
Definition at line 870 of file vtkLSDynaReader.h.
int vtkLSDynaReader::GetNumberOfComponentsInRigidBodyArray | ( | int | a | ) |
int vtkLSDynaReader::GetNumberOfComponentsInRigidBodyArray | ( | const char * | arrName | ) | [inline] |
Definition at line 883 of file vtkLSDynaReader.h.
int vtkLSDynaReader::GetNumberOfRoadSurfaceArrays | ( | ) |
These methods allow you to load only selected subsets of the cell variables defined over the mesh.
const char* vtkLSDynaReader::GetRoadSurfaceArrayName | ( | int | ) |
These methods allow you to load only selected subsets of the cell variables defined over the mesh.
virtual void vtkLSDynaReader::SetRoadSurfaceArrayStatus | ( | int | arr, | |
int | status | |||
) | [virtual] |
These methods allow you to load only selected subsets of the cell variables defined over the mesh.
void vtkLSDynaReader::SetRoadSurfaceArrayStatus | ( | const char * | arrName, | |
int | status | |||
) | [inline, virtual] |
These methods allow you to load only selected subsets of the cell variables defined over the mesh.
Definition at line 896 of file vtkLSDynaReader.h.
int vtkLSDynaReader::GetRoadSurfaceArrayStatus | ( | int | arr | ) |
These methods allow you to load only selected subsets of the cell variables defined over the mesh.
int vtkLSDynaReader::GetRoadSurfaceArrayStatus | ( | const char * | arrName | ) | [inline] |
These methods allow you to load only selected subsets of the cell variables defined over the mesh.
Definition at line 909 of file vtkLSDynaReader.h.
int vtkLSDynaReader::GetNumberOfComponentsInRoadSurfaceArray | ( | int | a | ) |
int vtkLSDynaReader::GetNumberOfComponentsInRoadSurfaceArray | ( | const char * | arrName | ) | [inline] |
Definition at line 922 of file vtkLSDynaReader.h.
int vtkLSDynaReader::GetNumberOfBeamArrays | ( | ) |
These methods allow you to load only selected subsets of the cell variables defined over the mesh.
const char* vtkLSDynaReader::GetBeamArrayName | ( | int | ) |
These methods allow you to load only selected subsets of the cell variables defined over the mesh.
virtual void vtkLSDynaReader::SetBeamArrayStatus | ( | int | arr, | |
int | status | |||
) | [virtual] |
These methods allow you to load only selected subsets of the cell variables defined over the mesh.
void vtkLSDynaReader::SetBeamArrayStatus | ( | const char * | arrName, | |
int | status | |||
) | [inline, virtual] |
These methods allow you to load only selected subsets of the cell variables defined over the mesh.
Definition at line 779 of file vtkLSDynaReader.h.
int vtkLSDynaReader::GetBeamArrayStatus | ( | int | arr | ) |
These methods allow you to load only selected subsets of the cell variables defined over the mesh.
int vtkLSDynaReader::GetBeamArrayStatus | ( | const char * | arrName | ) | [inline] |
These methods allow you to load only selected subsets of the cell variables defined over the mesh.
Definition at line 792 of file vtkLSDynaReader.h.
int vtkLSDynaReader::GetNumberOfComponentsInBeamArray | ( | int | a | ) |
int vtkLSDynaReader::GetNumberOfComponentsInBeamArray | ( | const char * | arrName | ) | [inline] |
Definition at line 805 of file vtkLSDynaReader.h.
int vtkLSDynaReader::GetNumberOfParticleArrays | ( | ) |
These methods allow you to load only selected subsets of the cell variables defined over the mesh.
const char* vtkLSDynaReader::GetParticleArrayName | ( | int | ) |
These methods allow you to load only selected subsets of the cell variables defined over the mesh.
virtual void vtkLSDynaReader::SetParticleArrayStatus | ( | int | arr, | |
int | status | |||
) | [virtual] |
These methods allow you to load only selected subsets of the cell variables defined over the mesh.
void vtkLSDynaReader::SetParticleArrayStatus | ( | const char * | arrName, | |
int | status | |||
) | [inline, virtual] |
These methods allow you to load only selected subsets of the cell variables defined over the mesh.
Definition at line 818 of file vtkLSDynaReader.h.
int vtkLSDynaReader::GetParticleArrayStatus | ( | int | arr | ) |
These methods allow you to load only selected subsets of the cell variables defined over the mesh.
int vtkLSDynaReader::GetParticleArrayStatus | ( | const char * | arrName | ) | [inline] |
These methods allow you to load only selected subsets of the cell variables defined over the mesh.
Definition at line 831 of file vtkLSDynaReader.h.
int vtkLSDynaReader::GetNumberOfComponentsInParticleArray | ( | int | a | ) |
int vtkLSDynaReader::GetNumberOfComponentsInParticleArray | ( | const char * | arrName | ) | [inline] |
Definition at line 844 of file vtkLSDynaReader.h.
virtual void vtkLSDynaReader::SetDeformedMesh | ( | int | ) | [virtual] |
Should deflected coordinates be used, or should the mesh remain undeflected? By default, this is true but its value is ignored if the nodal "Deflection" array is not set to be loaded.
virtual int vtkLSDynaReader::GetDeformedMesh | ( | ) | [virtual] |
Should deflected coordinates be used, or should the mesh remain undeflected? By default, this is true but its value is ignored if the nodal "Deflection" array is not set to be loaded.
virtual void vtkLSDynaReader::DeformedMeshOn | ( | ) | [virtual] |
Should deflected coordinates be used, or should the mesh remain undeflected? By default, this is true but its value is ignored if the nodal "Deflection" array is not set to be loaded.
virtual void vtkLSDynaReader::DeformedMeshOff | ( | ) | [virtual] |
Should deflected coordinates be used, or should the mesh remain undeflected? By default, this is true but its value is ignored if the nodal "Deflection" array is not set to be loaded.
virtual void vtkLSDynaReader::SetRemoveDeletedCells | ( | int | ) | [virtual] |
Should dead cells be removed from the mesh? Cells are marked dead by setting the corresponding entry in the cell array "Death" to 0. Cells that are not dead have the corresponding entry in the cell array "Death" set to their material ID. By default, this is true but its value is ignored if the cell "Death" array is not set to be loaded. It is also ignored if the database's element deletion option is set to denote points (not cells) as deleted; in that case, "Death" will appear to be a point array.
virtual int vtkLSDynaReader::GetRemoveDeletedCells | ( | ) | [virtual] |
Should dead cells be removed from the mesh? Cells are marked dead by setting the corresponding entry in the cell array "Death" to 0. Cells that are not dead have the corresponding entry in the cell array "Death" set to their material ID. By default, this is true but its value is ignored if the cell "Death" array is not set to be loaded. It is also ignored if the database's element deletion option is set to denote points (not cells) as deleted; in that case, "Death" will appear to be a point array.
virtual void vtkLSDynaReader::RemoveDeletedCellsOn | ( | ) | [virtual] |
Should dead cells be removed from the mesh? Cells are marked dead by setting the corresponding entry in the cell array "Death" to 0. Cells that are not dead have the corresponding entry in the cell array "Death" set to their material ID. By default, this is true but its value is ignored if the cell "Death" array is not set to be loaded. It is also ignored if the database's element deletion option is set to denote points (not cells) as deleted; in that case, "Death" will appear to be a point array.
virtual void vtkLSDynaReader::RemoveDeletedCellsOff | ( | ) | [virtual] |
Should dead cells be removed from the mesh? Cells are marked dead by setting the corresponding entry in the cell array "Death" to 0. Cells that are not dead have the corresponding entry in the cell array "Death" set to their material ID. By default, this is true but its value is ignored if the cell "Death" array is not set to be loaded. It is also ignored if the database's element deletion option is set to denote points (not cells) as deleted; in that case, "Death" will appear to be a point array.
virtual void vtkLSDynaReader::SetSplitByMaterialId | ( | int | ) | [virtual] |
Split each part into submeshes based on material ID. By default, this is false and all cells of a given type (solid, thick shell, shell, ...) are in a single mesh.
virtual int vtkLSDynaReader::GetSplitByMaterialId | ( | ) | [virtual] |
Split each part into submeshes based on material ID. By default, this is false and all cells of a given type (solid, thick shell, shell, ...) are in a single mesh.
virtual void vtkLSDynaReader::SplitByMaterialIdOn | ( | ) | [virtual] |
Split each part into submeshes based on material ID. By default, this is false and all cells of a given type (solid, thick shell, shell, ...) are in a single mesh.
virtual void vtkLSDynaReader::SplitByMaterialIdOff | ( | ) | [virtual] |
Split each part into submeshes based on material ID. By default, this is false and all cells of a given type (solid, thick shell, shell, ...) are in a single mesh.
virtual void vtkLSDynaReader::SetInputDeck | ( | const char * | ) | [virtual] |
The name of the input deck corresponding to the current database. This is used to determine the part names associated with each material ID. This file may be in two formats: a valid LSDyna input deck or a short XML summary. If the file begins with "<?xml" then the summary format is used. Otherwise, the keyword format is used and a summary file will be created if write permissions exist in the directory containing the keyword file. The newly created summary will have ".k" or ".key" stripped from the end of the keyword filename and ".lsdyna" appended.
virtual char* vtkLSDynaReader::GetInputDeck | ( | ) | [virtual] |
The name of the input deck corresponding to the current database. This is used to determine the part names associated with each material ID. This file may be in two formats: a valid LSDyna input deck or a short XML summary. If the file begins with "<?xml" then the summary format is used. Otherwise, the keyword format is used and a summary file will be created if write permissions exist in the directory containing the keyword file. The newly created summary will have ".k" or ".key" stripped from the end of the keyword filename and ".lsdyna" appended.
int vtkLSDynaReader::GetNumberOfPartArrays | ( | ) |
These methods allow you to load only selected parts of the input. If InputDeck points to a valid keyword file (or summary), then part names will be taken from that file. Otherwise, when arbitrary material numbering is used, parts will be named "PartXXX (MatlYYY)" where XXX is an increasing sequential number and YYY is the respective material ID. If no input deck is specified and arbitrary arbitrary material numbering is not used, parts will be named "PartXXX" where XXX is a sequential material ID.
const char* vtkLSDynaReader::GetPartArrayName | ( | int | ) |
These methods allow you to load only selected parts of the input. If InputDeck points to a valid keyword file (or summary), then part names will be taken from that file. Otherwise, when arbitrary material numbering is used, parts will be named "PartXXX (MatlYYY)" where XXX is an increasing sequential number and YYY is the respective material ID. If no input deck is specified and arbitrary arbitrary material numbering is not used, parts will be named "PartXXX" where XXX is a sequential material ID.
virtual void vtkLSDynaReader::SetPartArrayStatus | ( | int | arr, | |
int | status | |||
) | [virtual] |
These methods allow you to load only selected parts of the input. If InputDeck points to a valid keyword file (or summary), then part names will be taken from that file. Otherwise, when arbitrary material numbering is used, parts will be named "PartXXX (MatlYYY)" where XXX is an increasing sequential number and YYY is the respective material ID. If no input deck is specified and arbitrary arbitrary material numbering is not used, parts will be named "PartXXX" where XXX is a sequential material ID.
void vtkLSDynaReader::SetPartArrayStatus | ( | const char * | partName, | |
int | status | |||
) | [inline, virtual] |
These methods allow you to load only selected parts of the input. If InputDeck points to a valid keyword file (or summary), then part names will be taken from that file. Otherwise, when arbitrary material numbering is used, parts will be named "PartXXX (MatlYYY)" where XXX is an increasing sequential number and YYY is the respective material ID. If no input deck is specified and arbitrary arbitrary material numbering is not used, parts will be named "PartXXX" where XXX is a sequential material ID.
Definition at line 935 of file vtkLSDynaReader.h.
int vtkLSDynaReader::GetPartArrayStatus | ( | int | arr | ) |
These methods allow you to load only selected parts of the input. If InputDeck points to a valid keyword file (or summary), then part names will be taken from that file. Otherwise, when arbitrary material numbering is used, parts will be named "PartXXX (MatlYYY)" where XXX is an increasing sequential number and YYY is the respective material ID. If no input deck is specified and arbitrary arbitrary material numbering is not used, parts will be named "PartXXX" where XXX is a sequential material ID.
int vtkLSDynaReader::GetPartArrayStatus | ( | const char * | partName | ) | [inline] |
These methods allow you to load only selected parts of the input. If InputDeck points to a valid keyword file (or summary), then part names will be taken from that file. Otherwise, when arbitrary material numbering is used, parts will be named "PartXXX (MatlYYY)" where XXX is an increasing sequential number and YYY is the respective material ID. If no input deck is specified and arbitrary arbitrary material numbering is not used, parts will be named "PartXXX" where XXX is a sequential material ID.
Definition at line 948 of file vtkLSDynaReader.h.
int vtkLSDynaReader::ReadHeaderInformation | ( | int | currentAdaptLevel | ) | [protected] |
This function populates the reader's private dictionary with information about the database. It is called once from RequestInformation() and once any time the adaptation level changes. The adaptation level can change any time the current state(time) is modified. Upon success, -1 is returned. "Soft" failures return 0 and "hard" failures return 1.
int vtkLSDynaReader::ScanDatabaseTimeSteps | ( | ) | [protected] |
This function scans the list of files in the database and bookmarks the start of each time step's state information. Before this function is called: - The database directory name must be set, - ReadHeaderInformation must have been called for adaptation level 0, and - The "read head" must be placed at the end of the first adaptation's geometry section. Upon success, -1 is returned. "Soft" failures return 0 and "hard" failures return 1.
virtual int vtkLSDynaReader::RequestInformation | ( | vtkInformation * | , | |
vtkInformationVector ** | , | |||
vtkInformationVector * | ||||
) | [protected, virtual] |
This is called by the superclass. This is the method you should override.
Reimplemented from vtkMultiBlockDataSetAlgorithm.
virtual int vtkLSDynaReader::RequestData | ( | vtkInformation * | , | |
vtkInformationVector ** | , | |||
vtkInformationVector * | ||||
) | [protected, virtual] |
This is called by the superclass. This is the method you should override.
Reimplemented from vtkMultiBlockDataSetAlgorithm.
virtual int vtkLSDynaReader::ReadNodes | ( | ) | [protected, virtual] |
These functions read various parts of the database. The functions that take a vtkIdType argument must be passed the current timestep. Functions that do not take a timestep must have the read head positioned to the start of their data sections. These functions should only be called from within RequestData() since they require the various output meshes to exist.
virtual int vtkLSDynaReader::ReadConnectivityAndMaterial | ( | ) | [protected, virtual] |
These functions read various parts of the database. The functions that take a vtkIdType argument must be passed the current timestep. Functions that do not take a timestep must have the read head positioned to the start of their data sections. These functions should only be called from within RequestData() since they require the various output meshes to exist.
virtual int vtkLSDynaReader::ReadUserIds | ( | ) | [protected, virtual] |
These functions read various parts of the database. The functions that take a vtkIdType argument must be passed the current timestep. Functions that do not take a timestep must have the read head positioned to the start of their data sections. These functions should only be called from within RequestData() since they require the various output meshes to exist.
virtual int vtkLSDynaReader::ReadState | ( | vtkIdType | ) | [protected, virtual] |
These functions read various parts of the database. The functions that take a vtkIdType argument must be passed the current timestep. Functions that do not take a timestep must have the read head positioned to the start of their data sections. These functions should only be called from within RequestData() since they require the various output meshes to exist.
virtual int vtkLSDynaReader::ReadDeletion | ( | ) | [protected, virtual] |
These functions read various parts of the database. The functions that take a vtkIdType argument must be passed the current timestep. Functions that do not take a timestep must have the read head positioned to the start of their data sections. These functions should only be called from within RequestData() since they require the various output meshes to exist.
virtual int vtkLSDynaReader::ReadSPHState | ( | vtkIdType | ) | [protected, virtual] |
These functions read various parts of the database. The functions that take a vtkIdType argument must be passed the current timestep. Functions that do not take a timestep must have the read head positioned to the start of their data sections. These functions should only be called from within RequestData() since they require the various output meshes to exist.
virtual int vtkLSDynaReader::ReadInputDeck | ( | ) | [protected, virtual] |
Called from within ReadHeaderInformation() to read part names associated with material IDs.
virtual int vtkLSDynaReader::ReadUserMaterialIds | ( | ) | [protected, virtual] |
Called from within ReadHeaderInformation() to read arbitrary material IDs (if present) or manufacture sequential material IDs (if not present).
int vtkLSDynaReader::ReadInputDeckXML | ( | ifstream & | deck | ) | [protected] |
ReadInputDeck determines the type of file (keyword or XML summary) and calls one of these two routines to read the file.
int vtkLSDynaReader::ReadInputDeckKeywords | ( | ifstream & | deck | ) | [protected] |
ReadInputDeck determines the type of file (keyword or XML summary) and calls one of these two routines to read the file.
int vtkLSDynaReader::WriteInputDeckSummary | ( | const char * | fname | ) | [protected] |
ReadInputDeckKeywords calls this function if it was successful in reading part names for materials.
void vtkLSDynaReader::PartFilter | ( | vtkMultiBlockDataSet * | mbds, | |
int | celltype | |||
) | [protected] |
virtual int vtkLSDynaReader::ReadDeletionArray | ( | vtkDataArray * | arr, | |
int & | anyDeleted | |||
) | [protected, virtual] |
Read an array of deletion data. This is used by ReadDeletion to actually read the data from the file (as opposed to attach it to the proper place in the VTK dataset) depending on the value of "MDLOPT". The array passed to this routine is filled with deletion data. The number of tuples must be set on the array previous to calling this routine. The anyDeleted argument is set to 0 if no cells in the array are marked deleted, or 1 if any cells are marked for deletion.
vtkUnstructuredGrid* vtkLSDynaReader::OutputParticles [protected] |
Definition at line 483 of file vtkLSDynaReader.h.
vtkUnstructuredGrid* vtkLSDynaReader::OutputBeams [protected] |
Definition at line 484 of file vtkLSDynaReader.h.
vtkUnstructuredGrid* vtkLSDynaReader::OutputShell [protected] |
Definition at line 485 of file vtkLSDynaReader.h.
vtkUnstructuredGrid* vtkLSDynaReader::OutputThickShell [protected] |
Definition at line 486 of file vtkLSDynaReader.h.
vtkUnstructuredGrid* vtkLSDynaReader::OutputSolid [protected] |
Definition at line 487 of file vtkLSDynaReader.h.
vtkUnstructuredGrid* vtkLSDynaReader::OutputRigidBody [protected] |
Definition at line 488 of file vtkLSDynaReader.h.
vtkUnstructuredGrid* vtkLSDynaReader::OutputRoadSurface [protected] |
Definition at line 489 of file vtkLSDynaReader.h.
int vtkLSDynaReader::DeformedMesh [protected] |
Should deflected coordinates be used, or should the mesh remain undeflected? By default, this is true.
Definition at line 493 of file vtkLSDynaReader.h.
int vtkLSDynaReader::RemoveDeletedCells [protected] |
Should cells marked as deleted be removed from the mesh? By default, this is true.
Definition at line 497 of file vtkLSDynaReader.h.
int vtkLSDynaReader::SplitByMaterialId [protected] |
Split each mesh into submeshes based on the material ID of each cell.
Definition at line 500 of file vtkLSDynaReader.h.
int vtkLSDynaReader::TimeStepRange[2] [protected] |
The range of time steps available within a database. Only valid after UpdateInformation() is called on the reader.
Definition at line 504 of file vtkLSDynaReader.h.
char* vtkLSDynaReader::InputDeck [protected] |
The name of a file containing part names and IDs.
Definition at line 507 of file vtkLSDynaReader.h.