12#ifndef __FEM_MCC_2D_LocalSpace_HPP
13#define __FEM_MCC_2D_LocalSpace_HPP
63 throw std::runtime_error(
"not valid fem type");
83 throw std::runtime_error(
"not valid fem type");
105 throw std::runtime_error(
"not valid fem type");
118 const Eigen::MatrixXd &points)
const
129 throw std::runtime_error(
"not valid fem type");
141 const Eigen::MatrixXd &points)
const
152 throw std::runtime_error(
"not valid fem type");
164 const Eigen::MatrixXd &points)
const
175 throw std::runtime_error(
"not valid fem type");
Local space for a 2D mixed (velocity/pressure) MCC finite element.
Definition FEM_MCC_2D_LocalSpace.hpp:34
Polydim::FEM::MCC::FEM_MCC_2D_LocalSpace_Data CreateLocalSpace(const Polydim::FEM::MCC::FEM_MCC_2D_ReferenceElement_Data &reference_element_data, const Polydim::FEM::MCC::FEM_MCC_2D_Polygon_Geometry &polygon) const
Builds the local space on a given polygon.
Definition FEM_MCC_2D_LocalSpace.cpp:23
Eigen::MatrixXd ComputeVelocityBasisFunctionsDivergenceValues(const Polydim::FEM::MCC::FEM_MCC_2D_ReferenceElement_Data &reference_element_data, const Polydim::FEM::MCC::FEM_MCC_2D_LocalSpace_Data &local_space) const
Evaluates the divergence of the velocity basis functions at the local space internal quadrature point...
Definition FEM_MCC_2D_LocalSpace.hpp:93
std::vector< Eigen::MatrixXd > ComputeVelocityBasisFunctionsValues(const Polydim::FEM::MCC::FEM_MCC_2D_ReferenceElement_Data &reference_element_data, const Polydim::FEM::MCC::FEM_MCC_2D_LocalSpace_Data &local_space) const
Evaluates the (vector-valued) velocity basis functions at the local space internal quadrature points.
Definition FEM_MCC_2D_LocalSpace.hpp:52
Eigen::MatrixXd ComputeVelocityBasisFunctionsDivergenceValues(const Polydim::FEM::MCC::FEM_MCC_2D_ReferenceElement_Data &reference_element_data, const Polydim::FEM::MCC::FEM_MCC_2D_LocalSpace_Data &local_space, const Eigen::MatrixXd &points) const
Evaluates the divergence of the velocity basis functions at a user-provided set of points.
Definition FEM_MCC_2D_LocalSpace.hpp:162
std::vector< Eigen::MatrixXd > ComputeVelocityBasisFunctionsValues(const Polydim::FEM::MCC::FEM_MCC_2D_ReferenceElement_Data &reference_element_data, const Polydim::FEM::MCC::FEM_MCC_2D_LocalSpace_Data &local_space, const Eigen::MatrixXd &points) const
Evaluates the (vector-valued) velocity basis functions at a user-provided set of points.
Definition FEM_MCC_2D_LocalSpace.hpp:116
Eigen::MatrixXd ComputePressureBasisFunctionsValues(const Polydim::FEM::MCC::FEM_MCC_2D_ReferenceElement_Data &reference_element_data, const Polydim::FEM::MCC::FEM_MCC_2D_LocalSpace_Data &local_space, const Eigen::MatrixXd &points) const
Evaluates the (scalar) pressure basis functions at a user-provided set of points.
Definition FEM_MCC_2D_LocalSpace.hpp:139
Eigen::MatrixXd ComputePressureBasisFunctionsValues(const Polydim::FEM::MCC::FEM_MCC_2D_ReferenceElement_Data &reference_element_data, const Polydim::FEM::MCC::FEM_MCC_2D_LocalSpace_Data &local_space) const
Evaluates the (scalar) pressure basis functions at the local space internal quadrature points.
Definition FEM_MCC_2D_LocalSpace.hpp:72
Definition FEM_Triangle_RT_MCC_2D_LocalSpace.hpp:27
Eigen::MatrixXd ComputeVelocityBasisFunctionsDivergenceValues(const Polydim::FEM::MCC::FEM_Triangle_RT_MCC_2D_ReferenceElement_Data &reference_element_data, const Polydim::FEM::MCC::FEM_Triangle_RT_MCC_2D_LocalSpace_Data &local_space) const
Definition FEM_Triangle_RT_MCC_2D_LocalSpace.hpp:68
Eigen::MatrixXd ComputePressureBasisFunctionsValues(const Polydim::FEM::MCC::FEM_Triangle_RT_MCC_2D_ReferenceElement_Data &reference_element_data, const Polydim::FEM::MCC::FEM_Triangle_RT_MCC_2D_LocalSpace_Data &local_space) const
Definition FEM_Triangle_RT_MCC_2D_LocalSpace.hpp:53
std::vector< Eigen::MatrixXd > ComputeVelocityBasisFunctionsValues(const Polydim::FEM::MCC::FEM_Triangle_RT_MCC_2D_ReferenceElement_Data &reference_element_data, const Polydim::FEM::MCC::FEM_Triangle_RT_MCC_2D_LocalSpace_Data &local_space) const
Definition FEM_Triangle_RT_MCC_2D_LocalSpace.hpp:59
@ RT_Triangle
Raviart-Thomas element defined on a triangle.
Definition FEM_MCC_2D_LocalSpace.cpp:17
Aggregated local space data for a 2D MCC element.
Definition FEM_MCC_2D_LocalSpace_Data.hpp:75
Polydim::FEM::MCC::FEM_Triangle_RT_MCC_2D_LocalSpace_Data rt_triangle_local_space_data
Definition FEM_MCC_2D_LocalSpace_Data.hpp:76
Polydim::FEM::MCC::FEM_MCC_2D_Types fem_type
Definition FEM_MCC_2D_LocalSpace_Data.hpp:77
Geometric description of a polygon on which a 2D MCC local space is constructed.
Definition FEM_MCC_2D_LocalSpace_Data.hpp:40
Definition FEM_MCC_2D_ReferenceElement.hpp:31
Polydim::FEM::MCC::FEM_Triangle_RT_MCC_2D_ReferenceElement_Data rt_triangle_reference_element_data
Definition FEM_MCC_2D_ReferenceElement.hpp:39