|  | VTK
    9.0.1
    | 
 
 
 
Go to the documentation of this file.    1 #ifndef vtkExodusIIReaderVariableCheck_h 
    2 #define vtkExodusIIReaderVariableCheck_h 
    4 #ifndef VTK_WRAPPING_CXX 
   11 #include <vtksys/RegularExpression.hxx>  
   29   virtual std::vector<std::string>::size_type 
Length();
 
   31   virtual int Accept(std::vector<vtkExodusIIReaderPrivate::ArrayInfoType>& arr, 
int startIndex,
 
   42     std::vector<vtkExodusIIReaderPrivate::ArrayInfoType>& arrays);
 
   66   std::vector<std::string>::size_type 
Length() 
override;
 
   85   std::vector<std::string>::size_type 
Length() 
override;
 
  103   std::vector<std::string>::size_type 
Length() 
override;
 
  127 #endif // vtkExodusIIReaderVariableCheck_h 
 
vtkExodusIIReaderIntPointCheck()
bool Add(std::string name, const int *truth) override
Add a name to the sequence. Returns true if any more names may be added.
This looks for symmetric tensors of a given rank and dimension.
std::set< std::string > IntPtNames
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().
std::vector< std::string >::size_type Length() override
Returns the length of the sequence (or 0 if the match is incorrect or incomplete).
virtual std::vector< std::string >::size_type Length()
Returns the length of the sequence (or 0 if the match is incorrect or incomplete).
bool StartIntegrationPoints(std::string cellType, std::string iptName)
bool StartInternal(std::string name, const int *, int) override
Subclasses implement this and returns true if any more names are acceptable.
std::vector< int > IntPtMax
std::vector< int > SeqTruth
bool CheckTruth(const int *truth)
Utility that subclasses may call from within Add() to verify that the new variable is defined on the ...
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, const int *) override
Add a name to the sequence. Returns true if any more names may be added.
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 bool Start(std::string name, const int *truth, int numTruth)
Initialize a sequence of names. Returns true if any more names are acceptable.
vtkExodusIIReaderScalarCheck()
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).
This looks for integration-point variables whose names contain an element shape and digits specifying...
virtual ~vtkExodusIIReaderVariableCheck()
std::vector< std::string > OriginalNames
This class holds metadata for an Exodus file.
std::vector< int > IntPtMin
bool UniquifyName(vtkExodusIIReaderPrivate::ArrayInfoType &ainfo, std::vector< vtkExodusIIReaderPrivate::ArrayInfoType > &arrays)
bool StartInternal(std::string name, const int *, int) override
Subclasses implement this and returns true if any more names are acceptable.
This looks for n-D vectors whose names are identical except for a single final character.
bool StartInternal(std::string name, const int *, int) override
Subclasses implement this and returns true if any more names are acceptable.
A struct to hold information about time-varying arrays.
Abstract base class for glomming arrays of variable names.
This always accepts a single array name as a scalar. It is the fallback for all other checkers.
vtkExodusIIReaderTensorCheck(const char *seq, int n, int rank, int dim)
vtksys::RegularExpression RegExp
vtkExodusIIReaderVariableCheck()
bool Add(std::string name, const int *) override
Add a name to the sequence. Returns true if any more names may be added.
bool AddIntegrationPoint(std::string iptName)
virtual bool StartInternal(std::string name, const int *truth, int numTruth)=0
Subclasses implement this and returns true if any more names are acceptable.
std::vector< std::string >::size_type Length() override
Returns the length of the sequence (or 0 if the match is incorrect or incomplete).
vtkExodusIIReaderVectorCheck(const char *seq, int n)