Skip to content

Class uipc::core::FiniteElementStateAccessorFeature

ClassList > uipc > core > FiniteElementStateAccessorFeature

Feature to access finite element state data.More...

  • #include <finite_element_state_accessor_feature.h>

Inherits the following classes: uipc::core::Feature

Public Static Attributes

Type Name
constexpr std::string_view FeatureName = "core/finite\_element\_state\_accessor"

Public Functions

Type Name
FiniteElementStateAccessorFeature (S< FiniteElementStateAccessorFeatureOverrider > overrider)
void copy_from (const geometry::SimplicialComplex & state_geo) const
Copy finite element state data from the given geometry.
void copy_to (geometry::SimplicialComplex & state_geo) const
Copy finite element state data to the given geometry.
geometry::SimplicialComplex create_geometry (IndexT vertex_offset=0, SizeT vertex_count=~0ull) const
Create a simplicial complex geometry to contain finite element state data.
SizeT vertex_count () const
Get the number of vertices in the finite element system.

Public Functions inherited from uipc::core::IFeature

See uipc::core::IFeature

Type Name
std::string_view name () const
std::string_view type_name () const
virtual ~IFeature () = default

Protected Functions inherited from uipc::core::IFeature

See uipc::core::IFeature

Type Name
virtual void do_on_required () const = 0
virtual std::string_view get_name () const = 0
virtual std::string_view get_type_name () const = 0

Detailed Description

https://github.com/spiriMirror/libuipc/discussions/232

Public Static Attributes Documentation

variable FeatureName

constexpr std::string_view uipc::core::FiniteElementStateAccessorFeature::FeatureName;

Public Functions Documentation

function FiniteElementStateAccessorFeature

explicit uipc::core::FiniteElementStateAccessorFeature::FiniteElementStateAccessorFeature (
    S< FiniteElementStateAccessorFeatureOverrider > overrider
) 

function copy_from

Copy finite element state data from the given geometry.

void uipc::core::FiniteElementStateAccessorFeature::copy_from (
    const geometry::SimplicialComplex & state_geo
) const

Parameters:

  • state_geo The geometry containing finite element state data to copy from.

function copy_to

Copy finite element state data to the given geometry.

void uipc::core::FiniteElementStateAccessorFeature::copy_to (
    geometry::SimplicialComplex & state_geo
) const

Parameters:

  • state_geo The geometry to copy finite element state data to.

function create_geometry

Create a simplicial complex geometry to contain finite element state data.

geometry::SimplicialComplex uipc::core::FiniteElementStateAccessorFeature::create_geometry (
    IndexT vertex_offset=0,
    SizeT vertex_count=~0ull
) const

Parameters:

  • vertex_offset The starting vertex index in finite element system.
  • vertex_count The number of vertices to include, if vertex_count == ~0ull, all vertices from vertex_offset to the end will be included.

function vertex_count

Get the number of vertices in the finite element system.

SizeT uipc::core::FiniteElementStateAccessorFeature::vertex_count () const


The documentation for this class was generated from the following file include/uipc/core/finite_element_state_accessor_feature.h