Class LagrangeFunctionSpace

Nested Relationships

Nested Types

Inheritance Relationships

Base Type

Class Documentation

class LagrangeFunctionSpace : public pcms::FunctionSpace

Public Types

enum class Backend

Values:

enumerator MeshFields
enumerator OmegaH

Public Functions

LagrangeFunctionSpace(Key, std::shared_ptr<const FieldLayout> layout, std::function<FieldDataVariant(Type, ValueBasis)> create_field_data_fn, std::shared_ptr<FieldEvaluatorFactory<Real>> evaluator_factory) noexcept
virtual std::shared_ptr<const FieldLayout> GetLayout() const noexcept override
std::shared_ptr<const FieldEvaluatorFactory<Real>> GetEvaluatorFactory() const noexcept

Public Static Functions

static std::shared_ptr<LagrangeFunctionSpace> FromMesh(Omega_h::Mesh &mesh, int order, int num_components, std::shared_ptr<const CoordinateSystem> mesh_coordinate_system, std::string global_id_name = "global", Backend backend = DefaultBackend, std::string layout_name = "")
static std::shared_ptr<LagrangeFunctionSpace> FromMesh(Omega_h::Mesh &mesh, int order, int num_components, std::shared_ptr<const CoordinateSystem> mesh_coordinate_system, Omega_h::Read<Omega_h::I8> owned_mask, std::string global_id_name = "global", Backend backend = DefaultBackend, std::string layout_name = "")
static std::shared_ptr<LagrangeFunctionSpace> FromUniformGrid(const UniformGrid<2> &grid, int num_components, std::shared_ptr<const CoordinateSystem> mesh_coordinate_system, int order = 1, std::string layout_name = "")
static std::shared_ptr<LagrangeFunctionSpace> FromUniformGrid(const UniformGrid<3> &grid, int num_components, std::shared_ptr<const CoordinateSystem> mesh_coordinate_system, int order = 1, std::string layout_name = "")

Public Static Attributes

static constexpr Backend DefaultBackend = Backend::MeshFields

Protected Functions

virtual FieldVariant CreateFieldImpl(Type storage_type, ValueBasis basis) const override
virtual FieldVariant CreateFieldImpl(FieldDataVariant data) const override
virtual PointEvaluatorVariant CreatePointEvaluatorImpl(Type value_type, const EvaluationRequest &request) const override