57 <<
"Unable to process "
72 for (
direction dir = 0; dir < pTraits<Type>::nComponents; ++dir)
90 type_ = accessor::getValueType<Type>();
Info<< nl<< "Wrote faMesh in vtk format: "<< writer.output().name()<< nl;}{ vtk::lineWriter writer(aMesh.points(), aMesh.edges(), fileName(aMesh.mesh().time().globalPath()/"finiteArea-edges"));writer.writeGeometry();writer.beginCellData(4);writer.writeProcIDs();{ Field< scalar > fld(faMeshTools::flattenEdgeField(aMesh.magLe(), true))
Foam::string str() const
Get the string - as Foam::string rather than std::string.
Generic templated field type.
std::string toString() const
Output to string buffer, using a OSstream. Always UNCOMPRESSED.
static string getValueType()
Return the glTF value type for the given OpenFOAM type.
A traits class, which is primarily used for primitives.
A class for handling character strings derived from std::string.
bool set() const
Are all the vector set.
#define FatalErrorInFunction
Report an error message using Foam::FatalError.
auto key(const Type &t) -> typename std::enable_if< std::is_enum< Type >::value, typename std::underlying_type< Type >::type >::type
label max(const labelHashSet &set, label maxValue=labelMin)
Find the max value in labelHashSet, optionally limited by second argument.
void component(FieldField< Field, typename FieldField< Field, Type >::cmptType > &sf, const FieldField< Field, Type > &f, const direction d)
label min(const labelHashSet &set, label minValue=labelMax)
Find the min value in labelHashSet, optionally limited by second argument.
errorManip< error > abort(error &err)
Simple type identifiers for polymorphic expression values.