MFEM
v4.5.1
Finite element discretization library
|
Go to the source code of this file.
Namespaces | |
mfem | |
Functions | |
int | mfem::BarycentricToVTKTriangle (int *b, int ref) |
Return the VTK node index of the barycentric point b in a triangle with refinement level ref. More... | |
int | mfem::BarycentricToVTKTetra (int *b, int ref) |
int | mfem::VTKTriangleDOFOffset (int ref, int i, int j) |
int | mfem::CartesianToVTKPrism (int i, int j, int k, int ref) |
int | mfem::CartesianToVTKTensor (int idx_in, int ref, Geometry::Type geom) |
void | mfem::CreateVTKElementConnectivity (Array< int > &con, Geometry::Type geom, int ref) |
Create the VTK element connectivity array for a given element geometry and refinement level. More... | |
void | mfem::WriteVTKEncodedCompressed (std::ostream &os, const void *bytes, uint32_t nbytes, int compression_level) |
Outputs encoded binary data in the base 64 format needed by VTK. More... | |
bool | mfem::IsBigEndian () |
const char * | mfem::VTKByteOrder () |
Determine the byte order and return either "BigEndian" or "LittleEndian". More... | |
template<> | |
void | mfem::WriteBinaryOrASCII< uint8_t > (std::ostream &os, std::vector< char > &buf, const uint8_t &val, const char *suffix, VTKFormat format) |
Specialization of WriteBinaryOrASCII for uint8_t to ensure ASCII output is numeric (rather than interpreting val as a character.) More... | |
template<> | |
void | mfem::WriteBinaryOrASCII< double > (std::ostream &os, std::vector< char > &buf, const double &val, const char *suffix, VTKFormat format) |
Specialization of WriteBinaryOrASCII for double. More... | |
template<> | |
void | mfem::WriteBinaryOrASCII< float > (std::ostream &os, std::vector< char > &buf, const float &val, const char *suffix, VTKFormat format) |
Specialization of WriteBinaryOrASCII<T> for float. More... | |
void | mfem::WriteBase64WithSizeAndClear (std::ostream &os, std::vector< char > &buf, int compression_level) |
Encode in base 64 (and potentially compress) the given data, write it to the output stream (with a header) and clear the buffer. More... | |