GridFormat 0.6.0
I/O-Library for grid-like data structures
Loading...
Searching...
No Matches
GridFormat::DolfinX::LagrangePolynomialGrid< T > Class Template Reference

Wrapper around a nodal dolfinx::FunctionSpace, exposing it as a mesh composed of lagrange elements with the order of the given function space. More...

#include <dolfinx.hpp>

Detailed Description

template<std::floating_point T>
class GridFormat::DolfinX::LagrangePolynomialGrid< T >
Template Parameters
TThe geometry (coordinate) type of the underlying dolfinx mesh.

Public Member Functions

 LagrangePolynomialGrid (const dolfinx::fem::FunctionSpace< T > &space)
void update (const dolfinx::fem::FunctionSpace< T > &space)
void clear ()
std::integral auto number_of_points () const
std::integral auto number_of_cells () const
std::integral auto number_of_cell_points () const
std::int64_t id (const Point &p) const
auto position (const Point &p) const
std::ranges::range auto points () const
std::ranges::range auto points (const Cell &cell) const
std::ranges::range auto cells () const
template<int rank = 0, int dim = 3, Concepts::Scalar V>
auto evaluate (const dolfinx::fem::Function< V, T > &f, const Cell &c) const
template<int rank = 0, int dim = 3, Concepts::Scalar V>
auto evaluate (const dolfinx::fem::Function< V, T > &f, const Point &p) const
auto cell_type () const
template<Concepts::Scalar V>
bool is_compatible (const dolfinx::fem::Function< V, T > &f) const

Static Public Member Functions

static LagrangePolynomialGrid from (const dolfinx::fem::FunctionSpace< T > &space)

The documentation for this class was generated from the following file:
  • /__w/gridformat/gridformat/gridformat/traits/dolfinx.hpp