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

This looks for integration-point variables whose names contain an element shape and digits specifying an integration point. More...

#include <vtkExodusIIReaderVariableCheck.h>

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

Public Member Functions

 vtkExodusIIReaderIntPointCheck ()
 
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 *) 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 Member Functions

bool StartIntegrationPoints (std::string cellType, std::string iptName)
 
bool AddIntegrationPoint (std::string iptName)
 
- 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)
 

Protected Attributes

vtksys::RegularExpression RegExp
 
std::string VarName
 
std::string CellType
 
std::vector< int > IntPtMin
 
std::vector< int > IntPtMax
 
std::set< std::string > IntPtNames
 
vtkTypeUInt64 Rank
 
bool StillAdding
 
- Protected Attributes inherited from vtkExodusIIReaderVariableCheck
int GlomType
 
std::vector< int > SeqTruth
 
std::string Prefix
 
std::vector< std::string > OriginalNames
 

Detailed Description

This looks for integration-point variables whose names contain an element shape and digits specifying an integration point.

Definition at line 97 of file vtkExodusIIReaderVariableCheck.h.

Constructor & Destructor Documentation

◆ vtkExodusIIReaderIntPointCheck()

vtkExodusIIReaderIntPointCheck::vtkExodusIIReaderIntPointCheck ( )

Member Function Documentation

◆ StartInternal()

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

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

Implements vtkExodusIIReaderVariableCheck.

◆ Add()

bool vtkExodusIIReaderIntPointCheck::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.

◆ Length()

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

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

Reimplemented from vtkExodusIIReaderVariableCheck.

◆ StartIntegrationPoints()

bool vtkExodusIIReaderIntPointCheck::StartIntegrationPoints ( std::string  cellType,
std::string  iptName 
)
protected

◆ AddIntegrationPoint()

bool vtkExodusIIReaderIntPointCheck::AddIntegrationPoint ( std::string  iptName)
protected

Member Data Documentation

◆ RegExp

vtksys::RegularExpression vtkExodusIIReaderIntPointCheck::RegExp
protected

Definition at line 115 of file vtkExodusIIReaderVariableCheck.h.

◆ VarName

std::string vtkExodusIIReaderIntPointCheck::VarName
protected

Definition at line 116 of file vtkExodusIIReaderVariableCheck.h.

◆ CellType

std::string vtkExodusIIReaderIntPointCheck::CellType
protected

Definition at line 117 of file vtkExodusIIReaderVariableCheck.h.

◆ IntPtMin

std::vector<int> vtkExodusIIReaderIntPointCheck::IntPtMin
protected

Definition at line 118 of file vtkExodusIIReaderVariableCheck.h.

◆ IntPtMax

std::vector<int> vtkExodusIIReaderIntPointCheck::IntPtMax
protected

Definition at line 119 of file vtkExodusIIReaderVariableCheck.h.

◆ IntPtNames

std::set<std::string> vtkExodusIIReaderIntPointCheck::IntPtNames
protected

Definition at line 120 of file vtkExodusIIReaderVariableCheck.h.

◆ Rank

vtkTypeUInt64 vtkExodusIIReaderIntPointCheck::Rank
protected

Definition at line 121 of file vtkExodusIIReaderVariableCheck.h.

◆ StillAdding

bool vtkExodusIIReaderIntPointCheck::StillAdding
protected

Definition at line 122 of file vtkExodusIIReaderVariableCheck.h.


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