47 auto* ctorPtr = fileExtensionConstructorTable(fileType);
52 <<
"Unknown edge format " << fileType
53 <<
" for file " <<
name <<
nl
54 <<
"Valid types:" <<
nl
55 <<
flatOutput(fileExtensionConstructorTablePtr_->sortedToc())
Pointer management similar to std::unique_ptr, with some additional methods and type checking.
Description of feature edges and points.
static autoPtr< extendedEdgeMesh > New(const fileName &name, const word &fileType)
Select constructed from filename with given file format.
extendedEdgeMesh(std::nullptr_t)
Construct null, initializing start indices with -1.
A class for handling file names.
A class for handling words, derived from Foam::string.
#define FatalErrorInFunction
Report an error message using Foam::FatalError.
tmp< DimensionedField< TypeR, GeoMesh > > New(const tmp< DimensionedField< TypeR, GeoMesh > > &tf1, const word &name, const dimensionSet &dimensions, const bool initCopy=false)
Global function forwards to reuseTmpDimensionedField::New.
FlatOutput::OutputAdaptor< Container, Delimiters > flatOutput(const Container &obj, Delimiters delim)
Global flatOutput() function with specified output delimiters.
error FatalError
Error stream (stdout output on all processes), with additional 'FOAM FATAL ERROR' header text and sta...
word name(const expressions::valueTypeCode typeCode)
A word representation of a valueTypeCode. Empty for expressions::valueTypeCode::INVALID.
errorManipArg< error, int > exit(error &err, const int errNo=1)
constexpr char nl
The newline '\n' character (0x0a).
#define defineRunTimeSelectionTable(baseType, argNames)
Define run-time selection table.