VTK
Public Types | Public Member Functions | Static Public Member Functions | Protected Member Functions | Protected Attributes
vtkLSDynaReader Class Reference

Read LS-Dyna databases (d3plot) More...

#include <vtkLSDynaReader.h>

Inheritance diagram for vtkLSDynaReader:
Inheritance graph
[legend]
Collaboration diagram for vtkLSDynaReader:
Collaboration graph
[legend]

List of all members.

Public Types

typedef
vtkMultiBlockDataSetAlgorithm 
Superclass

Public Member Functions

virtual int IsA (const char *type)
vtkLSDynaReaderNewInstance () const
virtual void PrintSelf (ostream &os, vtkIndent indent)
void Dump (ostream &os)
void DebugDump ()
virtual 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 intGetTimeStepRange ()
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)
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 SetDeletedCellsAsGhostArray (int)
virtual int GetDeletedCellsAsGhostArray ()
virtual void DeletedCellsAsGhostArrayOn ()
virtual void DeletedCellsAsGhostArrayOff ()
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)

Static Public Member Functions

static int IsTypeOf (const char *type)
static vtkLSDynaReaderSafeDownCast (vtkObjectBase *o)
static vtkLSDynaReaderNew ()

Protected Member Functions

virtual vtkObjectBaseNewInstanceInternal () const
 vtkLSDynaReader ()
virtual ~vtkLSDynaReader ()
int ReadHeaderInformation (int currentAdaptLevel)
int ScanDatabaseTimeSteps ()
virtual int RequestInformation (vtkInformation *, vtkInformationVector **, vtkInformationVector *)
virtual int RequestData (vtkInformation *, vtkInformationVector **, vtkInformationVector *)
virtual void ResetPartInfo ()
virtual int ReadInputDeck ()
virtual int ReadPartTitlesFromRootFile ()
virtual int ReadUserMaterialIds ()
int WriteInputDeckSummary (const char *fname)
virtual void ReadDeletionArray (vtkUnsignedCharArray *arr, const int &pos, const int &size)
virtual void ReadCellProperties (const int &type, const int &numTuples)
void ResetPartsCache ()
virtual int ReadTopology ()
virtual int ReadNodes ()
virtual int ReadPartSizes ()
virtual int ReadConnectivityAndMaterial ()
virtual int ReadUserIds ()
virtual int ReadState (vtkIdType)
virtual int ReadNodeStateInfo (vtkIdType)
virtual int ReadCellStateInfo (vtkIdType)
virtual int ReadDeletion ()
virtual int ReadSPHState (vtkIdType)
int ReadInputDeckXML (ifstream &deck)
int ReadInputDeckKeywords (ifstream &deck)

Protected Attributes

vtkLSDynaPartCollectionParts
int DeformedMesh
int TimeStepRange [2]
char * InputDeck
LSDynaMetaData * P
int RemoveDeletedCells
int DeletedCellsAsGhostArray

Detailed Description

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:

Definition at line 166 of file vtkLSDynaReader.h.


Member Typedef Documentation

Reimplemented from vtkMultiBlockDataSetAlgorithm.

Reimplemented in vtkPLSDynaReader.

Definition at line 169 of file vtkLSDynaReader.h.


Constructor & Destructor Documentation

virtual vtkLSDynaReader::~vtkLSDynaReader ( ) [protected, virtual]

Member Function Documentation

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.

Reimplemented in vtkPLSDynaReader.

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.

Reimplemented in vtkPLSDynaReader.

Reimplemented from vtkMultiBlockDataSetAlgorithm.

Reimplemented in vtkPLSDynaReader.

virtual vtkObjectBase* vtkLSDynaReader::NewInstanceInternal ( ) const [protected, virtual]

Reimplemented from vtkMultiBlockDataSetAlgorithm.

Reimplemented in vtkPLSDynaReader.

Reimplemented from vtkMultiBlockDataSetAlgorithm.

Reimplemented in vtkPLSDynaReader.

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.

Reimplemented in vtkPLSDynaReader.

static vtkLSDynaReader* vtkLSDynaReader::New ( ) [static]

Create an object with Debug turned off, modified time initialized to zero, and reference counting on.

Reimplemented from vtkMultiBlockDataSetAlgorithm.

Reimplemented in vtkPLSDynaReader.

void vtkLSDynaReader::Dump ( ostream &  os)

Print out more complete information about the dataset (and less complete information about the VTK hierarchy) than PrintSelf.

A routine to call Dump() from within a lame debugger that won't properly pass a C++ iostream object like cout.

virtual int vtkLSDynaReader::CanReadFile ( const char *  fname) [virtual]

Determine if the file can be readed with this reader.

Reimplemented in vtkPLSDynaReader.

virtual void vtkLSDynaReader::SetDatabaseDirectory ( const char *  ) [virtual]

Get/Set the directory containing the LS-Dyna database and determine whether it is valid.

Get/Set the directory containing the LS-Dyna database and determine whether it is valid.

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.

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.

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().

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().

Retrieve the number of points in the database. Do not call this function before setting the database directory and calling UpdateInformation().

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().

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().

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().

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().

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().

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().

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().

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().

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().

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().

Retrieve information about the time extents of the LS-Dyna database. Do not call these functions before setting the database directory and calling UpdateInformation().

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().

Retrieve information about the time extents of the LS-Dyna database. Do not call these functions before setting the database directory and calling UpdateInformation().

These methods allow you to load only selected subsets of the nodal variables defined over the mesh.

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 593 of file vtkLSDynaReader.h.

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 606 of file vtkLSDynaReader.h.

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 619 of file vtkLSDynaReader.h.

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 632 of file vtkLSDynaReader.h.

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 645 of file vtkLSDynaReader.h.

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 658 of file vtkLSDynaReader.h.

These methods allow you to load only selected subsets of the cell variables defined over the mesh.

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 671 of file vtkLSDynaReader.h.

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 684 of file vtkLSDynaReader.h.

int vtkLSDynaReader::GetNumberOfComponentsInSolidArray ( const char *  arrName) [inline]

Definition at line 697 of file vtkLSDynaReader.h.

These methods allow you to load only selected subsets of the cell variables defined over the mesh.

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 710 of file vtkLSDynaReader.h.

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 723 of file vtkLSDynaReader.h.

Definition at line 736 of file vtkLSDynaReader.h.

These methods allow you to load only selected subsets of the cell variables defined over the mesh.

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 749 of file vtkLSDynaReader.h.

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 762 of file vtkLSDynaReader.h.

int vtkLSDynaReader::GetNumberOfComponentsInShellArray ( const char *  arrName) [inline]

Definition at line 775 of file vtkLSDynaReader.h.

These methods allow you to load only selected subsets of the cell variables defined over the mesh.

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 866 of file vtkLSDynaReader.h.

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 879 of file vtkLSDynaReader.h.

int vtkLSDynaReader::GetNumberOfComponentsInRigidBodyArray ( const char *  arrName) [inline]

Definition at line 892 of file vtkLSDynaReader.h.

These methods allow you to load only selected subsets of the cell variables defined over the mesh.

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 905 of file vtkLSDynaReader.h.

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 918 of file vtkLSDynaReader.h.

Definition at line 931 of file vtkLSDynaReader.h.

These methods allow you to load only selected subsets of the cell variables defined over the mesh.

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 788 of file vtkLSDynaReader.h.

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 801 of file vtkLSDynaReader.h.

int vtkLSDynaReader::GetNumberOfComponentsInBeamArray ( const char *  arrName) [inline]

Definition at line 814 of file vtkLSDynaReader.h.

These methods allow you to load only selected subsets of the cell variables defined over the mesh.

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 827 of file vtkLSDynaReader.h.

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 840 of file vtkLSDynaReader.h.

int vtkLSDynaReader::GetNumberOfComponentsInParticleArray ( const char *  arrName) [inline]

Definition at line 853 of file vtkLSDynaReader.h.

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.

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::SetDeletedCellsAsGhostArray ( int  ) [virtual]

Instead of removing the cells that are dead, hide them by setting the array as the ghost levels arrays

Instead of removing the cells that are dead, hide them by setting the array as the ghost levels arrays

virtual void vtkLSDynaReader::DeletedCellsAsGhostArrayOn ( ) [virtual]

Instead of removing the cells that are dead, hide them by setting the array as the ghost levels arrays

Instead of removing the cells that are dead, hide them by setting the array as the ghost levels arrays

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.

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.

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 944 of file vtkLSDynaReader.h.

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 957 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.

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.

This is called by the superclass. This is the method you should override.

Reimplemented from vtkMultiBlockDataSetAlgorithm.

Reimplemented in vtkPLSDynaReader.

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.

Reimplemented in vtkPLSDynaReader.

virtual int vtkLSDynaReader::ReadTopology ( ) [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.

Reimplemented in vtkPLSDynaReader.

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::ReadPartSizes ( ) [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::ReadNodeStateInfo ( 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::ReadCellStateInfo ( 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 void vtkLSDynaReader::ResetPartInfo ( ) [protected, virtual]

Resets the Part information to the default state

virtual int vtkLSDynaReader::ReadInputDeck ( ) [protected, virtual]

Called from within ReadHeaderInformation() to read part names associated with material IDs.

virtual int vtkLSDynaReader::ReadPartTitlesFromRootFile ( ) [protected, virtual]

Called from within ReadHeaderInformation to read part names from the end of the first d3plot file. Used if ReadInputDeck fails.

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.

virtual void vtkLSDynaReader::ReadDeletionArray ( vtkUnsignedCharArray arr,
const int pos,
const int size 
) [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 ones if deleted, zero it is not deleted The number of tuples must be set on the array previous to calling this routine. Note: pos is the position in the size that the death value is store at

virtual void vtkLSDynaReader::ReadCellProperties ( const int type,
const int numTuples 
) [protected, virtual]

Read all the cell properties of a given part type

void vtkLSDynaReader::ResetPartsCache ( ) [protected]

Member Data Documentation

Definition at line 468 of file vtkLSDynaReader.h.

Should deflected coordinates be used, or should the mesh remain undeflected? By default, this is true.

Definition at line 472 of file vtkLSDynaReader.h.

Should cells marked as deleted be removed from the mesh? By default, this is true.

Definition at line 477 of file vtkLSDynaReader.h.

Should cells marked as deleted be removed from the mesh? By default, this is true.

Definition at line 478 of file vtkLSDynaReader.h.

The range of time steps available within a database. Only valid after UpdateInformation() is called on the reader.

Definition at line 483 of file vtkLSDynaReader.h.

char* vtkLSDynaReader::InputDeck [protected]

The name of a file containing part names and IDs.

Definition at line 486 of file vtkLSDynaReader.h.

LSDynaMetaData* vtkLSDynaReader::P [protected]

Definition at line 569 of file vtkLSDynaReader.h.


The documentation for this class was generated from the following file: