12#ifndef __VEM_MCC_2D_Creator_HPP
13#define __VEM_MCC_2D_Creator_HPP
51 return std::make_unique<VEM_MCC_2D_Pressure_ReferenceElement>();
54 return std::make_unique<VEM_MCC_2D_EdgeOrtho_Pressure_ReferenceElement>();
56 throw std::runtime_error(
"VEM type " + std::to_string((
unsigned int)type) +
" not supported");
68 return std::make_unique<VEM_MCC_2D_Velocity_ReferenceElement>();
71 return std::make_unique<VEM_MCC_2D_EdgeOrtho_Velocity_ReferenceElement>();
73 throw std::runtime_error(
"VEM type " + std::to_string((
unsigned int)type) +
" not supported");
86 return std::make_unique<VEM_MCC_2D_Pressure_LocalSpace>();
88 throw std::runtime_error(
"VEM type " + std::to_string((
unsigned int)type) +
" not supported");
97 return std::make_unique<VEM_MCC_2D_Velocity_LocalSpace>();
99 return std::make_unique<VEM_MCC_2D_Partial_Velocity_LocalSpace>();
101 return std::make_unique<VEM_MCC_2D_Ortho_Velocity_LocalSpace>();
103 return std::make_unique<VEM_MCC_2D_EdgeOrtho_Velocity_LocalSpace>();
105 return std::make_unique<VEM_MCC_2D_Ortho_EdgeOrtho_Velocity_LocalSpace>();
107 throw std::runtime_error(
"VEM type " + std::to_string((
unsigned int)type) +
" not supported");
std::unique_ptr< I_VEM_MCC_2D_Pressure_LocalSpace > create_VEM_MCC_2D_pressure_local_space(const Polydim::VEM::MCC::VEM_MCC_2D_LocalSpace_Types &type)
Definition VEM_MCC_2D_Creator.hpp:77
std::unique_ptr< Polydim::VEM::MCC::I_VEM_MCC_2D_Pressure_ReferenceElement > create_VEM_MCC_2D_pressure_reference_element(const Polydim::VEM::MCC::VEM_MCC_2D_LocalSpace_Types &type)
Definition VEM_MCC_2D_Creator.hpp:43
VEM_MCC_2D_LocalSpace_Types
Definition VEM_MCC_2D_Creator.hpp:35
@ VEM_MCC_2D_Partial_LocalSpace
@ VEM_MCC_2D_Ortho_LocalSpace
@ VEM_MCC_2D_Ortho_EdgeOrtho_LocalSpace
@ VEM_MCC_2D_EdgeOrtho_LocalSpace
std::unique_ptr< I_VEM_MCC_2D_Velocity_LocalSpace > create_VEM_MCC_2D_velocity_local_space(const Polydim::VEM::MCC::VEM_MCC_2D_LocalSpace_Types &type)
Definition VEM_MCC_2D_Creator.hpp:92
std::unique_ptr< I_VEM_MCC_2D_Velocity_ReferenceElement > create_VEM_MCC_2D_velocity_reference_element(const Polydim::VEM::MCC::VEM_MCC_2D_LocalSpace_Types &type)
Definition VEM_MCC_2D_Creator.hpp:60
Definition FEM_MCC_2D_LocalSpace.cpp:17