GridFormat 0.4.0
I/O-Library for grid-like data structures
|
Traits specializations and helper classes for frameworks. More...
Files | |
file | cgal.hpp |
Traits specializations for cgal triangulations in 2D 3D. | |
file | dealii.hpp |
Traits specializations for dealii triangulations | |
file | dolfinx.hpp |
Traits specializations for dolfinx meshes | |
file | dune.hpp |
Traits specializations for dune grid views | |
file | mfem.hpp |
Traits specializations for mfem::Mesh | |
Classes | |
class | GridFormat::DolfinX::LagrangePolynomialGrid |
Wrapper around a nodal dolfinx::FunctionSpace, exposing it as a mesh composed of lagrange elements with the order of the given function space. More... | |
class | GridFormat::Dune::LagrangePolynomialGrid< GV > |
Exposes a Dune::GridView as a grid composed of lagrange cells with the given order. Can be used to conveniently write Dune::Functions into grid files. More... | |
class | GridFormat::Dune::FunctionField< _Function, Grid, T > |
Implements the field interface for a Dune::Function defined on a (wrapped) Dune::GridView. More... | |
class | GridFormat::Dune::GridFactoryAdapter< Grid > |
Adapter around a Dune::GridFactory to be compatible with GridFormat::Concepts::GridFactory. Can be used to export a grid from a reader directly into a Dune::GridFactory. For instance: More... | |
Functions | |
template<typename Writer , Concepts::Scalar T, Concepts::Scalar P = T> | |
void | GridFormat::DolfinX::set_point_function (const dolfinx::fem::Function< T > &f, Writer &writer, std::string name="", const Precision< P > &prec={}) |
Insert the given function into the writer as point field. | |
template<typename Writer , Concepts::Scalar T, Concepts::Scalar P = T> | |
void | GridFormat::DolfinX::set_cell_function (const dolfinx::fem::Function< T > &f, Writer &writer, std::string name="", const Precision< P > &prec={}) |
Insert the given function into the writer as cell field. | |
template<typename Writer , Concepts::Scalar T, Concepts::Scalar P = T> | |
void | GridFormat::DolfinX::set_function (const dolfinx::fem::Function< T > &f, Writer &writer, const std::string &name="", const Precision< P > &prec={}) |
Insert the given function into the writer as field. | |
template<typename Function , typename Writer > | |
void | GridFormat::Dune::set_point_function (Function &&f, Writer &writer, const std::string &name) |
Insert the given Dune::Function to the writer as point field. | |
template<typename Function , typename Writer , GridFormat::Concepts::Scalar T> | |
void | GridFormat::Dune::set_point_function (Function &&f, Writer &writer, const std::string &name, const Precision< T > &prec) |
Insert the given Dune::Function to the writer as point field with the given precision. | |
template<typename Writer , typename Function > | |
void | GridFormat::Dune::set_cell_function (Function &&f, Writer &writer, const std::string &name) |
Insert the given Dune::Function to the writer as cell field. | |
template<typename Writer , typename Function , GridFormat::Concepts::Scalar T> | |
void | GridFormat::Dune::set_cell_function (Function &&f, Writer &writer, const std::string &name, const Precision< T > &prec) |
Insert the given Dune::Function to the writer as cell field with the given precision. | |
void GridFormat::DolfinX::set_cell_function | ( | const dolfinx::fem::Function< T > & | f, |
Writer & | writer, | ||
std::string | name = "" , |
||
const Precision< P > & | prec = {} |
||
) |
f | The function to be inserted |
writer | The writer in which to insert it |
name | The name of the field (defaults to f.name ) |
prec | The precision with which to write the field (defaults to the function's scalar type) |
void GridFormat::Dune::set_cell_function | ( | Function && | f, |
Writer & | writer, | ||
const std::string & | name | ||
) |
void GridFormat::Dune::set_cell_function | ( | Function && | f, |
Writer & | writer, | ||
const std::string & | name, | ||
const Precision< T > & | prec | ||
) |
void GridFormat::DolfinX::set_function | ( | const dolfinx::fem::Function< T > & | f, |
Writer & | writer, | ||
const std::string & | name = "" , |
||
const Precision< P > & | prec = {} |
||
) |
f | The function to be inserted |
writer | The writer in which to insert it |
name | The name of the field (defaults to f.name ) |
prec | The precision with which to write the field (defaults to the function's scalar type) |
void GridFormat::DolfinX::set_point_function | ( | const dolfinx::fem::Function< T > & | f, |
Writer & | writer, | ||
std::string | name = "" , |
||
const Precision< P > & | prec = {} |
||
) |
f | The function to be inserted |
writer | The writer in which to insert it |
name | The name of the field (defaults to f.name ) |
prec | The precision with which to write the field (defaults to the function's scalar type) |
void GridFormat::Dune::set_point_function | ( | Function && | f, |
Writer & | writer, | ||
const std::string & | name | ||
) |
void GridFormat::Dune::set_point_function | ( | Function && | f, |
Writer & | writer, | ||
const std::string & | name, | ||
const Precision< T > & | prec | ||
) |