VTK
Public Member Functions | Protected Attributes | List of all members
vtkExodusIIReaderTensorCheck Class Reference

This looks for symmetric tensors of a given rank and dimension. More...

#include <vtkExodusIIReaderVariableCheck.h>

Inheritance diagram for vtkExodusIIReaderTensorCheck:
[legend]
Collaboration diagram for vtkExodusIIReaderTensorCheck:
[legend]

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. More...
 
bool Add (std::string name, const int *truth) override
 Add a name to the sequence. Returns true if any more names may be added. More...
 
std::vector< std::string >::size_type Length () override
 Returns the length of the sequence (or 0 if the match is incorrect or incomplete). More...
 
- 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. More...
 
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(). More...
 

Protected Attributes

std::string Endings
 
vtkTypeUInt64 NumEndings
 
int Dimension
 
int Rank
 
bool StillAdding
 
- Protected Attributes inherited from vtkExodusIIReaderVariableCheck
int GlomType
 
std::vector< intSeqTruth
 
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. More...
 
bool UniquifyName (vtkExodusIIReaderPrivate::ArrayInfoType &ainfo, std::vector< vtkExodusIIReaderPrivate::ArrayInfoType > &arrays)
 

Detailed Description

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 78 of file vtkExodusIIReaderVariableCheck.h.

Constructor & Destructor Documentation

vtkExodusIIReaderTensorCheck::vtkExodusIIReaderTensorCheck ( const char *  seq,
int  n,
int  rank,
int  dim 
)

Member Function Documentation

bool vtkExodusIIReaderTensorCheck::StartInternal ( std::string  name,
const int truth,
int  numTruth 
)
overridevirtual

Subclasses implement this and returns true if any more names are acceptable.

Implements vtkExodusIIReaderVariableCheck.

bool vtkExodusIIReaderTensorCheck::Add ( std::string  name,
const int truth 
)
overridevirtual

Add a name to the sequence. Returns true if any more names may be added.

Implements vtkExodusIIReaderVariableCheck.

std::vector<std::string>::size_type vtkExodusIIReaderTensorCheck::Length ( )
overridevirtual

Returns the length of the sequence (or 0 if the match is incorrect or incomplete).

Reimplemented from vtkExodusIIReaderVariableCheck.

Member Data Documentation

std::string vtkExodusIIReaderTensorCheck::Endings
protected

Definition at line 86 of file vtkExodusIIReaderVariableCheck.h.

vtkTypeUInt64 vtkExodusIIReaderTensorCheck::NumEndings
protected

Definition at line 87 of file vtkExodusIIReaderVariableCheck.h.

int vtkExodusIIReaderTensorCheck::Dimension
protected

Definition at line 88 of file vtkExodusIIReaderVariableCheck.h.

int vtkExodusIIReaderTensorCheck::Rank
protected

Definition at line 89 of file vtkExodusIIReaderVariableCheck.h.

bool vtkExodusIIReaderTensorCheck::StillAdding
protected

Definition at line 90 of file vtkExodusIIReaderVariableCheck.h.


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