VTK
|
Read LS-Dyna databases (d3plot) More...
#include <vtkLSDynaReader.h>
Public Types | |
enum | { 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... | |
typedef vtkMultiBlockDataSetAlgorithm | Superclass |
![]() | |
typedef vtkAlgorithm | Superclass |
![]() | |
typedef vtkObject | Superclass |
![]() | |
typedef vtkObjectBase | Superclass |
Public Member Functions | |
virtual const char * | GetClassName () |
virtual int | IsA (const char *type) |
virtual void | PrintSelf (ostream &os, vtkIndent indent) |
void | Dump (ostream &os) |
void | DebugDump () |
int | CanReadFile (const char *fname) |
char * | GetTitle () |
int | GetDimensionality () |
vtkIdType | GetNumberOfNodes () |
vtkIdType | GetNumberOfCells () |
vtkIdType | GetNumberOfContinuumCells () |
vtkIdType | GetNumberOfSolidCells () |
vtkIdType | GetNumberOfThickShellCells () |
vtkIdType | GetNumberOfShellCells () |
vtkIdType | GetNumberOfRigidBodyCells () |
vtkIdType | GetNumberOfRoadSurfaceCells () |
vtkIdType | GetNumberOfBeamCells () |
vtkIdType | GetNumberOfParticleCells () |
int | GetNumberOfComponentsInSolidArray (int a) |
int | GetNumberOfComponentsInSolidArray (const char *arrName) |
int | GetNumberOfComponentsInThickShellArray (int a) |
int | GetNumberOfComponentsInThickShellArray (const char *arrName) |
int | GetNumberOfComponentsInShellArray (int a) |
int | GetNumberOfComponentsInShellArray (const char *arrName) |
int | GetNumberOfComponentsInRigidBodyArray (int a) |
int | GetNumberOfComponentsInRigidBodyArray (const char *arrName) |
int | GetNumberOfComponentsInRoadSurfaceArray (int a) |
int | GetNumberOfComponentsInRoadSurfaceArray (const char *arrName) |
int | GetNumberOfComponentsInBeamArray (int a) |
int | GetNumberOfComponentsInBeamArray (const char *arrName) |
int | GetNumberOfComponentsInParticleArray (int a) |
int | GetNumberOfComponentsInParticleArray (const char *arrName) |
virtual void | SetDatabaseDirectory (const char *) |
const char * | GetDatabaseDirectory () |
int | IsDatabaseValid () |
virtual void | SetFileName (const char *) |
const char * | GetFileName () |
vtkIdType | GetNumberOfTimeSteps () |
virtual void | SetTimeStep (vtkIdType) |
vtkIdType | GetTimeStep () |
double | GetTimeValue (vtkIdType) |
virtual int * | GetTimeStepRange () |
virtual void | GetTimeStepRange (int &, int &) |
virtual void | GetTimeStepRange (int[2]) |
virtual void | SetTimeStepRange (int, int) |
void | SetTimeStepRange (int[2]) |
int | GetNumberOfPointArrays () |
const char * | GetPointArrayName (int) |
virtual void | SetPointArrayStatus (int arr, int status) |
virtual void | SetPointArrayStatus (const char *arrName, int status) |
int | GetPointArrayStatus (int arr) |
int | GetPointArrayStatus (const char *arrName) |
int | GetNumberOfComponentsInPointArray (int arr) |
int | GetNumberOfComponentsInPointArray (const char *arrName) |
int | GetNumberOfCellArrays (int cellType) |
const char * | GetCellArrayName (int cellType, int arr) |
virtual void | SetCellArrayStatus (int cellType, int arr, int status) |
virtual void | SetCellArrayStatus (int cellType, const char *arrName, int status) |
int | GetCellArrayStatus (int cellType, int arr) |
int | GetCellArrayStatus (int cellType, const char *arrName) |
int | GetNumberOfComponentsInCellArray (int cellType, int arr) |
int | GetNumberOfComponentsInCellArray (int cellType, const char *arrName) |
int | GetNumberOfSolidArrays () |
const char * | GetSolidArrayName (int) |
virtual void | SetSolidArrayStatus (int arr, int status) |
virtual void | SetSolidArrayStatus (const char *arrName, int status) |
int | GetSolidArrayStatus (int arr) |
int | GetSolidArrayStatus (const char *arrName) |
int | GetNumberOfThickShellArrays () |
const char * | GetThickShellArrayName (int) |
virtual void | SetThickShellArrayStatus (int arr, int status) |
virtual void | SetThickShellArrayStatus (const char *arrName, int status) |
int | GetThickShellArrayStatus (int arr) |
int | GetThickShellArrayStatus (const char *arrName) |
int | GetNumberOfShellArrays () |
const char * | GetShellArrayName (int) |
virtual void | SetShellArrayStatus (int arr, int status) |
virtual void | SetShellArrayStatus (const char *arrName, int status) |
int | GetShellArrayStatus (int arr) |
int | GetShellArrayStatus (const char *arrName) |
int | GetNumberOfRigidBodyArrays () |
const char * | GetRigidBodyArrayName (int) |
virtual void | SetRigidBodyArrayStatus (int arr, int status) |
virtual void | SetRigidBodyArrayStatus (const char *arrName, int status) |
int | GetRigidBodyArrayStatus (int arr) |
int | GetRigidBodyArrayStatus (const char *arrName) |
int | GetNumberOfRoadSurfaceArrays () |
const char * | GetRoadSurfaceArrayName (int) |
virtual void | SetRoadSurfaceArrayStatus (int arr, int status) |
virtual void | SetRoadSurfaceArrayStatus (const char *arrName, int status) |
int | GetRoadSurfaceArrayStatus (int arr) |
int | GetRoadSurfaceArrayStatus (const char *arrName) |
int | GetNumberOfBeamArrays () |
const char * | GetBeamArrayName (int) |
virtual void | SetBeamArrayStatus (int arr, int status) |
virtual void | SetBeamArrayStatus (const char *arrName, int status) |
int | GetBeamArrayStatus (int arr) |
int | GetBeamArrayStatus (const char *arrName) |
int | GetNumberOfParticleArrays () |
const char * | GetParticleArrayName (int) |
virtual void | SetParticleArrayStatus (int arr, int status) |
virtual void | SetParticleArrayStatus (const char *arrName, int status) |
int | GetParticleArrayStatus (int arr) |
int | GetParticleArrayStatus (const char *arrName) |
virtual void | SetDeformedMesh (int) |
virtual int | GetDeformedMesh () |
virtual void | DeformedMeshOn () |
virtual void | DeformedMeshOff () |
virtual void | SetRemoveDeletedCells (int) |
virtual int | GetRemoveDeletedCells () |
virtual void | RemoveDeletedCellsOn () |
virtual void | RemoveDeletedCellsOff () |
virtual void | SetSplitByMaterialId (int) |
virtual int | GetSplitByMaterialId () |
virtual void | SplitByMaterialIdOn () |
virtual void | SplitByMaterialIdOff () |
virtual void | SetInputDeck (const char *) |
virtual char * | GetInputDeck () |
int | GetNumberOfPartArrays () |
const char * | GetPartArrayName (int) |
virtual void | SetPartArrayStatus (int arr, int status) |
virtual void | SetPartArrayStatus (const char *partName, int status) |
int | GetPartArrayStatus (int arr) |
int | GetPartArrayStatus (const char *partName) |
![]() | |
vtkMultiBlockDataSet * | GetOutput () |
vtkMultiBlockDataSet * | GetOutput (int) |
void | SetInput (vtkDataObject *) |
void | SetInput (int, vtkDataObject *) |
virtual int | ProcessRequest (vtkInformation *request, vtkInformationVector **inputVector, vtkInformationVector *outputVector) |
![]() | |
int | HasExecutive () |
vtkExecutive * | GetExecutive () |
virtual void | SetExecutive (vtkExecutive *executive) |
virtual int | ModifyRequest (vtkInformation *request, int when) |
vtkInformation * | GetInputPortInformation (int port) |
vtkInformation * | GetOutputPortInformation (int port) |
int | GetNumberOfInputPorts () |
int | GetNumberOfOutputPorts () |
void | UpdateProgress (double amount) |
vtkInformation * | GetInputArrayInformation (int idx) |
void | RemoveAllInputs () |
vtkDataObject * | GetOutputDataObject (int port) |
virtual void | RemoveInputConnection (int port, vtkAlgorithmOutput *input) |
int | GetNumberOfInputConnections (int port) |
int | GetTotalNumberOfInputConnections () |
vtkAlgorithmOutput * | GetInputConnection (int port, int index) |
virtual void | Update () |
virtual void | UpdateInformation () |
virtual void | UpdateWholeExtent () |
void | ConvertTotalInputToPortConnection (int ind, int &port, int &conn) |
virtual double | ComputePriority () |
int | ProcessRequest (vtkInformation *request, vtkCollection *inInfo, vtkInformationVector *outInfo) |
virtual int | ComputePipelineMTime (vtkInformation *request, vtkInformationVector **inInfoVec, vtkInformationVector *outInfoVec, int requestFromOutputPort, unsigned long *mtime) |
virtual vtkInformation * | GetInformation () |
virtual void | SetInformation (vtkInformation *) |
virtual void | Register (vtkObjectBase *o) |
virtual void | UnRegister (vtkObjectBase *o) |
virtual void | SetAbortExecute (int) |
virtual int | GetAbortExecute () |
virtual void | AbortExecuteOn () |
virtual void | AbortExecuteOff () |
virtual void | SetProgress (double) |
virtual double | GetProgress () |
void | SetProgressText (const char *ptext) |
virtual char * | GetProgressText () |
virtual unsigned long | GetErrorCode () |
virtual void | SetInputArrayToProcess (int idx, int port, int connection, int fieldAssociation, const char *name) |
virtual void | SetInputArrayToProcess (int idx, int port, int connection, int fieldAssociation, int fieldAttributeType) |
virtual void | SetInputArrayToProcess (int idx, vtkInformation *info) |
virtual void | SetInputArrayToProcess (int idx, int port, int connection, const char *fieldAssociation, const char *attributeTypeorName) |
vtkDataObject * | GetInputDataObject (int port, int connection) |
virtual void | SetInputConnection (int port, vtkAlgorithmOutput *input) |
virtual void | SetInputConnection (vtkAlgorithmOutput *input) |
virtual void | AddInputConnection (int port, vtkAlgorithmOutput *input) |
virtual void | AddInputConnection (vtkAlgorithmOutput *input) |
vtkAlgorithmOutput * | GetOutputPort (int index) |
vtkAlgorithmOutput * | GetOutputPort () |
virtual void | SetReleaseDataFlag (int) |
virtual int | GetReleaseDataFlag () |
void | ReleaseDataFlagOn () |
void | ReleaseDataFlagOff () |
int | UpdateExtentIsEmpty (vtkDataObject *output) |
int | UpdateExtentIsEmpty (vtkInformation *pinfo, int extentType) |
![]() | |
virtual void | DebugOn () |
virtual void | DebugOff () |
unsigned char | GetDebug () |
void | SetDebug (unsigned char debugFlag) |
virtual void | Modified () |
virtual unsigned long | GetMTime () |
unsigned long | AddObserver (unsigned long event, vtkCommand *, float priority=0.0f) |
unsigned long | AddObserver (const char *event, vtkCommand *, float priority=0.0f) |
vtkCommand * | GetCommand (unsigned long tag) |
void | RemoveObserver (vtkCommand *) |
void | RemoveObservers (unsigned long event, vtkCommand *) |
void | RemoveObservers (const char *event, vtkCommand *) |
int | HasObserver (unsigned long event, vtkCommand *) |
int | HasObserver (const char *event, vtkCommand *) |
void | RemoveObserver (unsigned long tag) |
void | RemoveObservers (unsigned long event) |
void | RemoveObservers (const char *event) |
void | RemoveAllObservers () |
int | HasObserver (unsigned long event) |
int | HasObserver (const char *event) |
template<class U , class T > | |
unsigned long | AddObserver (unsigned long event, U observer, void(T::*callback)(), float priority=0.0f) |
template<class U , class T > | |
unsigned long | AddObserver (unsigned long event, U observer, void(T::*callback)(vtkObject *, unsigned long, void *), float priority=0.0f) |
int | InvokeEvent (unsigned long event, void *callData) |
int | InvokeEvent (const char *event, void *callData) |
int | InvokeEvent (unsigned long event) |
int | InvokeEvent (const char *event) |
![]() | |
const char * | GetClassName () const |
virtual void | Delete () |
virtual void | FastDelete () |
void | Print (ostream &os) |
void | SetReferenceCount (int) |
void | PrintRevisions (ostream &os) |
virtual void | PrintHeader (ostream &os, vtkIndent indent) |
virtual void | PrintTrailer (ostream &os, vtkIndent indent) |
int | GetReferenceCount () |
Protected Attributes | |
vtkUnstructuredGrid * | OutputParticles |
vtkUnstructuredGrid * | OutputBeams |
vtkUnstructuredGrid * | OutputShell |
vtkUnstructuredGrid * | OutputThickShell |
vtkUnstructuredGrid * | OutputSolid |
vtkUnstructuredGrid * | OutputRigidBody |
vtkUnstructuredGrid * | OutputRoadSurface |
int | DeformedMesh |
int | RemoveDeletedCells |
int | SplitByMaterialId |
int | TimeStepRange [2] |
char * | InputDeck |
![]() | |
vtkInformation * | Information |
double | Progress |
char * | ProgressText |
unsigned long | ErrorCode |
![]() | |
unsigned char | Debug |
vtkTimeStamp | MTime |
vtkSubjectHelper * | SubjectHelper |
![]() | |
int | ReferenceCount |
vtkWeakPointerBase ** | WeakPointers |
Additional Inherited Members | |
![]() | |
int | AbortExecute |
![]() | |
static vtkInformationIntegerKey * | PORT_REQUIREMENTS_FILLED () |
![]() | |
static vtkExecutive * | DefaultExecutivePrototype |
Read LS-Dyna databases (d3plot)
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:
spherical particle hydrodynamics (SPH) elements: have a radius of influence, internal energy, etc. Because each mesh has its own cell attributes, the vtkLSDynaReader has a rather large API. Instead of a single set of routines to query and set cell array names and status, one exists for each possible output mesh. Also, GetNumberOfCells() will return the sum of all the cells in all 7 meshes. If you want the number of cells in a specific mesh, there are separate routines for each mesh type.
The loop to read cell User IDs won't work if Rigid Body and Shell elements are interleaved (which I now believe they are).
Definition at line 160 of file vtkLSDynaReader.h.
Definition at line 163 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.
Enumerator | |
---|---|
PARTICLE | |
BEAM | |
SHELL | |
THICK_SHELL | |
SOLID | |
RIGID_BODY | |
ROAD_SURFACE | |
NUM_CELL_TYPES |
Definition at line 175 of file vtkLSDynaReader.h.
|
protected |
|
protectedvirtual |
|
virtual |
Reimplemented from vtkMultiBlockDataSetAlgorithm.
|
static |
|
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 |
|
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 |
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 |
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 |
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 |
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 |
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 |
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 |
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 |
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 |
These methods allow you to load only selected subsets of the nodal variables defined over the mesh.
|
inlinevirtual |
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.
|
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.
|
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 |
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
|
inlinevirtual |
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
|
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
|
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 |
These methods allow you to load only selected subsets of the cell variables defined over the mesh.
|
inlinevirtual |
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.
|
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 | ) |
|
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 |
These methods allow you to load only selected subsets of the cell variables defined over the mesh.
|
inlinevirtual |
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.
|
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 | ) |
|
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 |
These methods allow you to load only selected subsets of the cell variables defined over the mesh.
|
inlinevirtual |
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.
|
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 | ) |
|
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 |
These methods allow you to load only selected subsets of the cell variables defined over the mesh.
|
inlinevirtual |
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.
|
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 | ) |
|
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 |
These methods allow you to load only selected subsets of the cell variables defined over the mesh.
|
inlinevirtual |
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.
|
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 | ) |
|
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 |
These methods allow you to load only selected subsets of the cell variables defined over the mesh.
|
inlinevirtual |
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.
|
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 | ) |
|
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 |
These methods allow you to load only selected subsets of the cell variables defined over the mesh.
|
inlinevirtual |
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.
|
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 | ) |
|
inline |
Definition at line 844 of file vtkLSDynaReader.h.
|
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 |
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 |
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 |
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 |
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 |
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 |
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 |
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 |
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 |
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 |
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 |
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 |
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 |
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 |
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.
|
inlinevirtual |
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.
|
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.
|
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.
|
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.
|
protectedvirtual |
This is called by the superclass. This is the method you should override.
Reimplemented from vtkMultiBlockDataSetAlgorithm.
|
protectedvirtual |
This is called by the superclass. This is the method you should override.
Reimplemented from vtkMultiBlockDataSetAlgorithm.
|
protectedvirtual |
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.
|
protectedvirtual |
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.
|
protectedvirtual |
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.
|
protectedvirtual |
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.
|
protectedvirtual |
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.
|
protectedvirtual |
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.
|
protectedvirtual |
Called from within ReadHeaderInformation() to read part names associated with material IDs.
|
protectedvirtual |
Called from within ReadHeaderInformation() to read arbitrary material IDs (if present) or manufacture sequential material IDs (if not present).
|
protected |
ReadInputDeck determines the type of file (keyword or XML summary) and calls one of these two routines to read the file.
|
protected |
ReadInputDeck determines the type of file (keyword or XML summary) and calls one of these two routines to read the file.
|
protected |
ReadInputDeckKeywords calls this function if it was successful in reading part names for materials.
|
protected |
|
protectedvirtual |
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.
|
protected |
Definition at line 483 of file vtkLSDynaReader.h.
|
protected |
Definition at line 484 of file vtkLSDynaReader.h.
|
protected |
Definition at line 485 of file vtkLSDynaReader.h.
|
protected |
Definition at line 486 of file vtkLSDynaReader.h.
|
protected |
Definition at line 487 of file vtkLSDynaReader.h.
|
protected |
Definition at line 488 of file vtkLSDynaReader.h.
|
protected |
Definition at line 489 of file vtkLSDynaReader.h.
|
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.
|
protected |
Should cells marked as deleted be removed from the mesh? By default, this is true.
Definition at line 497 of file vtkLSDynaReader.h.
|
protected |
Split each mesh into submeshes based on the material ID of each cell.
Definition at line 500 of file vtkLSDynaReader.h.
|
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.
|
protected |
The name of a file containing part names and IDs.
Definition at line 507 of file vtkLSDynaReader.h.