Ensight format surface reader.
More...
|
| TypeName ("ensight") |
|
| ensightSurfaceReader (const fileName &fName) |
|
virtual | ~ensightSurfaceReader ()=default |
|
virtual const meshedSurface & | geometry (const label timeIndex) |
|
virtual instantList | times () const |
|
virtual wordList | fieldNames (const label timeIndex) const |
|
virtual tmp< Field< scalar > > | field (const label timeIndex, const label fieldIndex, const scalar &refValue=pTraits< scalar >::zero) const |
|
virtual tmp< Field< vector > > | field (const label timeIndex, const label fieldIndex, const vector &refValue=pTraits< vector >::zero) const |
|
virtual tmp< Field< sphericalTensor > > | field (const label timeIndex, const label fieldIndex, const sphericalTensor &refValue=pTraits< sphericalTensor >::zero) const |
|
virtual tmp< Field< symmTensor > > | field (const label timeIndex, const label fieldIndex, const symmTensor &refValue=pTraits< symmTensor >::zero) const |
|
virtual tmp< Field< tensor > > | field (const label timeIndex, const label fieldIndex, const tensor &refValue=pTraits< tensor >::zero) const |
|
template<class Type > |
Foam::tmp< Foam::Field< Type > > | readField (const label timeIndex, const label fieldIndex) const |
|
| TypeName ("surfaceReader") |
|
| declareRunTimeSelectionTable (autoPtr, surfaceReader, fileName,(const fileName &fName),(fName)) |
|
| surfaceReader (const fileName &fName) |
|
virtual | ~surfaceReader ()=default |
|
Ensight format surface reader.
- Source files
-
Definition at line 50 of file ensightSurfaceReader.H.
◆ idTypes
Enumerator |
---|
NONE | "off", "assign"
|
IGNORE | Read but "ignore".
|
GIVEN | Use "given" values (not supported)
|
Definition at line 59 of file ensightSurfaceReader.H.
◆ ensightSurfaceReader()
◆ ~ensightSurfaceReader()
◆ skip()
void skip |
( |
const label |
n, |
|
|
Istream & |
is |
|
) |
| const |
|
protected |
◆ readLine()
◆ debugSection()
void debugSection |
( |
const word & |
expected, |
|
|
IFstream & |
is |
|
) |
| const |
|
protected |
◆ replaceMask()
◆ readGeometryHeader()
◆ readCase()
Definition at line 225 of file ensightSurfaceReader.C.
References List::append(), DynamicList::append(), Foam::expressions::patchExpr::debug, DebugInfo, DebugInFunction, Foam::endl(), Foam::exit(), Foam::FatalError, FatalErrorInFunction, fieldNames(), IOstream::good(), Foam::Info, IFstream::name(), Foam::name(), Foam::nl, s, Foam::stringOps::splitSpace(), and WarningInFunction.
Referenced by ensightSurfaceReader::ensightSurfaceReader().
◆ readFromLine() [1/2]
void readFromLine |
( |
const label |
nSkip, |
|
|
IStringStream & |
is, |
|
|
Type & |
value |
|
) |
| const |
|
protected |
◆ readFromLine() [2/2]
void readFromLine |
( |
const label |
nSkip, |
|
|
const string & |
buffer, |
|
|
Type & |
value |
|
) |
| const |
|
protected |
◆ readField() [1/2]
tmp<Field<Type> > readField |
( |
const label |
timeIndex, |
|
|
const label |
fieldIndex |
|
) |
| const |
|
protected |
◆ TypeName()
◆ geometry()
Implements surfaceReader.
Definition at line 357 of file ensightSurfaceReader.C.
References DynamicList::append(), IOstreamOption::ASCII, IOstreamOption::BINARY, Foam::expressions::patchExpr::debug, DebugInfo, DebugInFunction, Foam::endl(), Foam::exit(), f(), Foam::FatalError, FatalErrorInFunction, IOstream::good(), Foam::Info, IFstream::name(), VectorSpace< Vector< scalar >, scalar, 3 >::nComponents, Foam::nl, nPoints, points, ensightReadFile::read(), Pair::second(), IFstream::stdStream(), timeIndex, and WarningInFunction.
◆ times()
◆ fieldNames()
◆ field() [1/5]
◆ field() [2/5]
◆ field() [3/5]
◆ field() [4/5]
◆ field() [5/5]
◆ readField() [2/2]
Definition at line 56 of file ensightSurfaceReaderTemplates.C.
References List::append(), List::clear(), DebugInfo, DebugInFunction, Foam::endl(), Foam::exit(), Foam::FatalError, FatalErrorInFunction, field(), forAll, IOstream::good(), IOWarningInFunction, n, IFstream::name(), Foam::New(), Foam::nl, ensightReadFile::read(), timeIndex, Foam::HashTableOps::values(), and Foam::Zero.
◆ streamFormat_
◆ baseDir_
◆ meshFileName_
◆ fieldNames_
◆ fieldFileNames_
◆ nTimeSteps_
◆ timeStartIndex_
◆ timeIncrement_
◆ timeValues_
◆ surfPtr_
◆ schema_
The documentation for this class was generated from the following files: