GridFormat 0.2.1
I/O-Library for grid-like data structures
Loading...
Searching...
No Matches
dolfinx.hpp File Reference

Traits specializations for dolfinx meshes More...

#include <array>
#include <ranges>
#include <cstdint>
#include <utility>
#include <memory>
#include <algorithm>
#include <dolfinx/io/cells.h>
#include <dolfinx/io/vtk_utils.h>
#include <dolfinx/mesh/cell_types.h>
#include <dolfinx/mesh/Mesh.h>
#include <dolfinx/fem/Function.h>
#include <dolfinx/fem/FunctionSpace.h>
#include <gridformat/common/ranges.hpp>
#include <gridformat/common/exceptions.hpp>
#include <gridformat/common/precision.hpp>
#include <gridformat/grid/cell_type.hpp>
#include <gridformat/grid/traits.hpp>
#include <gridformat/grid/writer.hpp>

Go to the source code of this file.

Classes

struct  GridFormat::DolfinX::Cell
 
struct  GridFormat::DolfinX::Point
 
struct  GridFormat::Traits::Cells< dolfinx::mesh::Mesh >
 
struct  GridFormat::Traits::CellType< dolfinx::mesh::Mesh, DolfinX::Cell >
 
struct  GridFormat::Traits::CellPoints< dolfinx::mesh::Mesh, DolfinX::Cell >
 
struct  GridFormat::Traits::Points< dolfinx::mesh::Mesh >
 
struct  GridFormat::Traits::PointCoordinates< dolfinx::mesh::Mesh, DolfinX::Point >
 
struct  GridFormat::Traits::PointId< dolfinx::mesh::Mesh, DolfinX::Point >
 
struct  GridFormat::Traits::NumberOfPoints< dolfinx::mesh::Mesh >
 
struct  GridFormat::Traits::NumberOfCells< dolfinx::mesh::Mesh >
 
struct  GridFormat::Traits::NumberOfCellPoints< dolfinx::mesh::Mesh, DolfinX::Cell >
 
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...
 
struct  GridFormat::Traits::Cells< DolfinX::LagrangePolynomialGrid >
 
struct  GridFormat::Traits::CellType< DolfinX::LagrangePolynomialGrid, DolfinX::Cell >
 
struct  GridFormat::Traits::CellPoints< DolfinX::LagrangePolynomialGrid, DolfinX::Cell >
 
struct  GridFormat::Traits::Points< DolfinX::LagrangePolynomialGrid >
 
struct  GridFormat::Traits::PointCoordinates< DolfinX::LagrangePolynomialGrid, DolfinX::Point >
 
struct  GridFormat::Traits::PointId< DolfinX::LagrangePolynomialGrid, DolfinX::Point >
 
struct  GridFormat::Traits::NumberOfPoints< DolfinX::LagrangePolynomialGrid >
 
struct  GridFormat::Traits::NumberOfCells< DolfinX::LagrangePolynomialGrid >
 
struct  GridFormat::Traits::NumberOfCellPoints< DolfinX::LagrangePolynomialGrid, DolfinX::Cell >
 

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.