|  | VTK
    9.0.1
    | 
 
 
 
Go to the documentation of this file.
  152 #ifndef vtkLSDynaReader_h 
  153 #define vtkLSDynaReader_h 
  155 #include "vtkIOLSDynaModule.h"  
  177   void Dump(ostream& os);
 
  188   virtual int CanReadFile(
const char* fname);
 
  195   virtual void SetDatabaseDirectory(
const std::string&);
 
  196   virtual void SetDatabaseDirectory(
const char*);
 
  197 #ifdef VTK_LEGACY_REMOVE 
  200   VTK_LEGACY(
const char* GetDatabaseDirectory());
 
  202   int IsDatabaseValid();
 
  213   virtual void SetFileName(
const char*);
 
  214 #ifdef VTK_LEGACY_REMOVE 
  233   int GetDimensionality();
 
  323   vtkGetVector2Macro(TimeStepRange, 
int);
 
  324   vtkSetVector2Macro(TimeStepRange, 
int);
 
  332   int GetNumberOfPointArrays();
 
  333   const char* GetPointArrayName(
int);
 
  334   virtual void SetPointArrayStatus(
int arr, 
int status);
 
  335   virtual void SetPointArrayStatus(
const char* arrName, 
int status);
 
  336   int GetPointArrayStatus(
int arr);
 
  337   int GetPointArrayStatus(
const char* arrName);
 
  338   int GetNumberOfComponentsInPointArray(
int arr);
 
  339   int GetNumberOfComponentsInPointArray(
const char* arrName);
 
  349   int GetNumberOfCellArrays(
int cellType);
 
  350   const char* GetCellArrayName(
int cellType, 
int arr);
 
  351   virtual void SetCellArrayStatus(
int cellType, 
int arr, 
int status);
 
  352   virtual void SetCellArrayStatus(
int cellType, 
const char* arrName, 
int status);
 
  353   int GetCellArrayStatus(
int cellType, 
int arr);
 
  354   int GetCellArrayStatus(
int cellType, 
const char* arrName);
 
  355   int GetNumberOfComponentsInCellArray(
int cellType, 
int arr);
 
  356   int GetNumberOfComponentsInCellArray(
int cellType, 
const char* arrName);
 
  364   int GetNumberOfSolidArrays();
 
  365   const char* GetSolidArrayName(
int);
 
  366   virtual void SetSolidArrayStatus(
int arr, 
int status);
 
  367   virtual void SetSolidArrayStatus(
const char* arrName, 
int status);
 
  368   int GetSolidArrayStatus(
int arr);
 
  369   int GetSolidArrayStatus(
const char* arrName);
 
  372   int GetNumberOfComponentsInSolidArray(
int a);
 
  373   int GetNumberOfComponentsInSolidArray(
const char* arrName);
 
  380   int GetNumberOfThickShellArrays();
 
  381   const char* GetThickShellArrayName(
int);
 
  382   virtual void SetThickShellArrayStatus(
int arr, 
int status);
 
  383   virtual void SetThickShellArrayStatus(
const char* arrName, 
int status);
 
  384   int GetThickShellArrayStatus(
int arr);
 
  385   int GetThickShellArrayStatus(
const char* arrName);
 
  388   int GetNumberOfComponentsInThickShellArray(
int a);
 
  389   int GetNumberOfComponentsInThickShellArray(
const char* arrName);
 
  396   int GetNumberOfShellArrays();
 
  397   const char* GetShellArrayName(
int);
 
  398   virtual void SetShellArrayStatus(
int arr, 
int status);
 
  399   virtual void SetShellArrayStatus(
const char* arrName, 
int status);
 
  400   int GetShellArrayStatus(
int arr);
 
  401   int GetShellArrayStatus(
const char* arrName);
 
  404   int GetNumberOfComponentsInShellArray(
int a);
 
  405   int GetNumberOfComponentsInShellArray(
const char* arrName);
 
  412   int GetNumberOfRigidBodyArrays();
 
  413   const char* GetRigidBodyArrayName(
int);
 
  414   virtual void SetRigidBodyArrayStatus(
int arr, 
int status);
 
  415   virtual void SetRigidBodyArrayStatus(
const char* arrName, 
int status);
 
  416   int GetRigidBodyArrayStatus(
int arr);
 
  417   int GetRigidBodyArrayStatus(
const char* arrName);
 
  420   int GetNumberOfComponentsInRigidBodyArray(
int a);
 
  421   int GetNumberOfComponentsInRigidBodyArray(
const char* arrName);
 
  428   int GetNumberOfRoadSurfaceArrays();
 
  429   const char* GetRoadSurfaceArrayName(
int);
 
  430   virtual void SetRoadSurfaceArrayStatus(
int arr, 
int status);
 
  431   virtual void SetRoadSurfaceArrayStatus(
const char* arrName, 
int status);
 
  432   int GetRoadSurfaceArrayStatus(
int arr);
 
  433   int GetRoadSurfaceArrayStatus(
const char* arrName);
 
  436   int GetNumberOfComponentsInRoadSurfaceArray(
int a);
 
  437   int GetNumberOfComponentsInRoadSurfaceArray(
const char* arrName);
 
  444   int GetNumberOfBeamArrays();
 
  445   const char* GetBeamArrayName(
int);
 
  446   virtual void SetBeamArrayStatus(
int arr, 
int status);
 
  447   virtual void SetBeamArrayStatus(
const char* arrName, 
int status);
 
  448   int GetBeamArrayStatus(
int arr);
 
  449   int GetBeamArrayStatus(
const char* arrName);
 
  452   int GetNumberOfComponentsInBeamArray(
int a);
 
  453   int GetNumberOfComponentsInBeamArray(
const char* arrName);
 
  460   int GetNumberOfParticleArrays();
 
  461   const char* GetParticleArrayName(
int);
 
  462   virtual void SetParticleArrayStatus(
int arr, 
int status);
 
  463   virtual void SetParticleArrayStatus(
const char* arrName, 
int status);
 
  464   int GetParticleArrayStatus(
int arr);
 
  465   int GetParticleArrayStatus(
const char* arrName);
 
  468   int GetNumberOfComponentsInParticleArray(
int a);
 
  469   int GetNumberOfComponentsInParticleArray(
const char* arrName);
 
  503   vtkSetMacro(DeletedCellsAsGhostArray, 
vtkTypeBool);
 
  504   vtkGetMacro(DeletedCellsAsGhostArray, 
vtkTypeBool);
 
  505   vtkBooleanMacro(DeletedCellsAsGhostArray, 
vtkTypeBool);
 
  520   vtkSetStringMacro(InputDeck);
 
  521   vtkGetStringMacro(InputDeck);
 
  535   int GetNumberOfPartArrays();
 
  536   const char* GetPartArrayName(
int);
 
  537   virtual void SetPartArrayStatus(
int arr, 
int status);
 
  538   virtual void SetPartArrayStatus(
const char* partName, 
int status);
 
  539   int GetPartArrayStatus(
int arr);
 
  540   int GetPartArrayStatus(
const char* partName);
 
  566   int TimeStepRange[2];
 
  584   int ReadHeaderInformation(
int currentAdaptLevel);
 
  595   int ScanDatabaseTimeSteps();
 
  610   virtual int ReadTopology();
 
  611   virtual int ReadNodes();
 
  612   virtual int ReadPartSizes();
 
  613   virtual int ReadConnectivityAndMaterial();
 
  614   virtual int ReadUserIds();
 
  616   virtual int ReadNodeStateInfo(
vtkIdType);
 
  617   virtual int ReadCellStateInfo(
vtkIdType);
 
  618   virtual int ReadDeletion();
 
  626   virtual void ResetPartInfo();
 
  632   virtual int ReadInputDeck();
 
  639   virtual int ReadPartTitlesFromRootFile();
 
  646   virtual int ReadUserMaterialIds();
 
  653   int ReadInputDeckXML(istream& deck);
 
  654   int ReadInputDeckKeywords(istream& deck);
 
  661   int WriteInputDeckSummary(
const char* fname);
 
  679   virtual void ReadCellProperties(
const int& 
type, 
const int& numTuples);
 
  683   void ResetPartsCache();
 
  688   template <
typename T>
 
  690     const vtkIdType& numCells, 
const int& deathPos, 
const int& cellSize);
 
  692   template <
int wordSize, 
typename T>
 
  693   int FillTopology(T* buffer);
 
  695   template <
typename T, 
int blockType, vtkIdType numWordsPerCell, vtkIdType cellLength>
 
  696   void ReadBlockCellSizes();
 
  698   template <
typename T>
 
  715   vtkWarningMacro(
"Point array \"" << arrName << 
"\" does not exist");
 
  754   vtkWarningMacro(
"Cell array \"" << arrName << 
"\" (type " << cellType << 
") does not exist");
 
  793   vtkWarningMacro(
"Solid array \"" << arrName << 
"\" does not exist");
 
  832   vtkWarningMacro(
"Thick shell array \"" << arrName << 
"\" does not exist");
 
  871   vtkWarningMacro(
"Shell array \"" << arrName << 
"\" does not exist");
 
  910   vtkWarningMacro(
"Beam array \"" << arrName << 
"\" does not exist");
 
  949   vtkWarningMacro(
"Particle array \"" << arrName << 
"\" does not exist");
 
  988   vtkWarningMacro(
"Rigid body array \"" << arrName << 
"\" does not exist");
 
 1027   vtkWarningMacro(
"Road surface array \"" << arrName << 
"\" does not exist");
 
 1066   vtkWarningMacro(
"Part \"" << arrName << 
"\" does not exist");
 
 1082 #endif // vtkLSDynaReader_h 
  
represent and manipulate 3D points
int GetNumberOfComponentsInShellArray(int a)
int GetNumberOfParticleArrays()
These methods allow you to load only selected subsets of the cell variables defined over the mesh.
virtual void SetPointArrayStatus(int arr, int status)
int GetCellArrayStatus(int cellType, int arr)
const char * GetSolidArrayName(int)
vtkTypeBool RemoveDeletedCells
Should cells marked as deleted be removed from the mesh? By default, this is true.
Read LS-Dyna databases (d3plot)
const char * GetCellArrayName(int cellType, int arr)
int GetShellArrayStatus(int arr)
int GetSolidArrayStatus(int arr)
virtual void SetThickShellArrayStatus(int arr, int status)
dynamic, self-adjusting array of unsigned char
static vtkMultiBlockDataSetAlgorithm * New()
virtual void SetPartArrayStatus(int arr, int status)
int GetNumberOfComponentsInRigidBodyArray(int a)
abstract superclass for arrays of numeric data
int GetNumberOfPointArrays()
These methods allow you to load only selected subsets of the nodal variables defined over the mesh.
int GetNumberOfComponentsInCellArray(int cellType, int arr)
const char * GetThickShellArrayName(int)
int GetNumberOfBeamArrays()
These methods allow you to load only selected subsets of the cell variables defined over the mesh.
virtual int RequestData(vtkInformation *, vtkInformationVector **, vtkInformationVector *)
This is called by the superclass.
int GetPartArrayStatus(int arr)
int GetParticleArrayStatus(int arr)
int GetNumberOfComponentsInParticleArray(int a)
const char * GetPartArrayName(int)
virtual void SetBeamArrayStatus(int arr, int status)
int GetNumberOfCellArrays(int cellType)
Routines that allow the status of a cell variable to be adjusted or queried independent of the output...
int GetNumberOfComponentsInSolidArray(int a)
int GetPointArrayStatus(int arr)
const char * GetPointArrayName(int)
int GetNumberOfShellArrays()
These methods allow you to load only selected subsets of the cell variables defined over the mesh.
int GetNumberOfPartArrays()
These methods allow you to load only selected parts of the input.
int GetRoadSurfaceArrayStatus(int arr)
vtkTypeBool DeformedMesh
Should deflected coordinates be used, or should the mesh remain undeflected? By default,...
int GetNumberOfThickShellArrays()
These methods allow you to load only selected subsets of the cell variables defined over the mesh.
a simple class to control print indentation
virtual void SetRoadSurfaceArrayStatus(int arr, int status)
const char * GetParticleArrayName(int)
const char * GetRoadSurfaceArrayName(int)
int GetRigidBodyArrayStatus(int arr)
virtual void SetShellArrayStatus(int arr, int status)
int GetNumberOfSolidArrays()
These methods allow you to load only selected subsets of the cell variables defined over the mesh.
const char * GetShellArrayName(int)
const char * GetRigidBodyArrayName(int)
int GetBeamArrayStatus(int arr)
int GetNumberOfComponentsInBeamArray(int a)
virtual void SetSolidArrayStatus(int arr, int status)
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.
virtual void SetParticleArrayStatus(int arr, int status)
int GetThickShellArrayStatus(int arr)
vtkTypeBool DeletedCellsAsGhostArray
virtual void SetRigidBodyArrayStatus(int arr, int status)
int GetNumberOfRigidBodyArrays()
These methods allow you to load only selected subsets of the cell variables defined over the mesh.
char * InputDeck
The name of a file containing part names and IDs.
const char * GetBeamArrayName(int)
int GetNumberOfComponentsInThickShellArray(int a)
dataset represents arbitrary combinations of all possible cell types
int GetNumberOfComponentsInPointArray(int arr)
virtual void SetCellArrayStatus(int cellType, int arr, int status)
virtual int RequestInformation(vtkInformation *, vtkInformationVector **, vtkInformationVector *)
This is called by the superclass.
int GetNumberOfRoadSurfaceArrays()
These methods allow you to load only selected subsets of the cell variables defined over the mesh.
vtkLSDynaPartCollection * Parts
std::string GetFileName(const std::string &fileName) noexcept
Set the appropriate file name based on recognized user input.
int GetNumberOfComponentsInRoadSurfaceArray(int a)
Superclass for algorithms that produce only vtkMultiBlockDataSet as output.