VTK
9.1.0
|
This looks for symmetric tensors of a given rank and dimension. More...
#include <vtkExodusIIReaderVariableCheck.h>
Public Member Functions | |
vtkExodusIIReaderTensorCheck (const char *seq, int n, int rank, int dim) | |
bool | StartInternal (std::string name, const int *, int) override |
Subclasses implement this and returns true if any more names are acceptable. | |
bool | Add (std::string name, const int *truth) override |
Add a name to the sequence. Returns true if any more names may be added. | |
std::vector< std::string >::size_type | Length () override |
Returns the length of the sequence (or 0 if the match is incorrect or incomplete). | |
Public Member Functions inherited from vtkExodusIIReaderVariableCheck | |
virtual bool | Start (std::string name, const int *truth, int numTruth) |
Initialize a sequence of names. Returns true if any more names are acceptable. | |
virtual bool | StartInternal (std::string name, const int *truth, int numTruth)=0 |
Subclasses implement this and returns true if any more names are acceptable. | |
virtual bool | Add (std::string name, const int *truth)=0 |
Add a name to the sequence. Returns true if any more names may be added. | |
virtual std::vector< std::string >::size_type | Length () |
Returns the length of the sequence (or 0 if the match is incorrect or incomplete). | |
virtual int | Accept (std::vector< vtkExodusIIReaderPrivate::ArrayInfoType > &arr, int startIndex, vtkExodusIIReaderPrivate *priv, int objtyp) |
Accept this sequence. (Add an entry to the end of arr.) Must return Length(). | |
Protected Attributes | |
std::string | Endings |
vtkTypeUInt64 | NumEndings |
int | Dimension |
int | Rank |
bool | StillAdding |
Protected Attributes inherited from vtkExodusIIReaderVariableCheck | |
int | GlomType |
std::vector< int > | SeqTruth |
std::string | Prefix |
std::vector< std::string > | OriginalNames |
Additional Inherited Members | |
Protected Member Functions inherited from vtkExodusIIReaderVariableCheck | |
vtkExodusIIReaderVariableCheck () | |
virtual | ~vtkExodusIIReaderVariableCheck () |
bool | CheckTruth (const int *truth) |
Utility that subclasses may call from within Add() to verify that the new variable is defined on the same objects as other variables in the sequence. | |
bool | UniquifyName (vtkExodusIIReaderPrivate::ArrayInfoType &ainfo, std::vector< vtkExodusIIReaderPrivate::ArrayInfoType > &arrays) |
This looks for symmetric tensors of a given rank and dimension.
All array names must be identical except for the last rank characters which must be taken from the dim -length character array seq, specified as dimension indicators.
Definition at line 79 of file vtkExodusIIReaderVariableCheck.h.
vtkExodusIIReaderTensorCheck::vtkExodusIIReaderTensorCheck | ( | const char * | seq, |
int | n, | ||
int | rank, | ||
int | dim | ||
) |
|
overridevirtual |
Subclasses implement this and returns true if any more names are acceptable.
Implements vtkExodusIIReaderVariableCheck.
|
overridevirtual |
Add a name to the sequence. Returns true if any more names may be added.
Implements vtkExodusIIReaderVariableCheck.
|
overridevirtual |
Returns the length of the sequence (or 0 if the match is incorrect or incomplete).
Reimplemented from vtkExodusIIReaderVariableCheck.
|
protected |
Definition at line 88 of file vtkExodusIIReaderVariableCheck.h.
|
protected |
Definition at line 89 of file vtkExodusIIReaderVariableCheck.h.
|
protected |
Definition at line 90 of file vtkExodusIIReaderVariableCheck.h.
|
protected |
Definition at line 91 of file vtkExodusIIReaderVariableCheck.h.
|
protected |
Definition at line 92 of file vtkExodusIIReaderVariableCheck.h.