42 if ((
name.length()) > 0 && (
name[0] ==
'M')) {
45 }
else if (
name.length() > 0) {
46 error_macro (
"invalid polynomial name `"<<
name<<
"' for the Mk polynomial set");
81 Eigen::Matrix<T,Eigen::Dynamic,1>& value)
const
91 value.resize(loc_ndof);
92 for (
size_t loc_idof = 0; loc_idof < loc_ndof; loc_idof++) {
109 value.resize(loc_ndof);
110 for (
size_t loc_idof = 0; loc_idof < loc_ndof; loc_idof++) {
112 value[loc_idof] = bx.
grad();
118#define _RHEOLEF_instanciation(T) \
119template class basis_raw_monomial<T>;
#define _RHEOLEF_instanciation(T, M, A)
see the Float page for the full documentation
const point_basic< T > & grad() const
size_type ndof(reference_element hat_K) const
std::array< std::vector< point_basic< size_type > >, reference_element::max_variant > _power_index
base::size_type size_type
void evaluate(reference_element hat_K, const point_basic< T > &hat_x, Eigen::Matrix< T, Eigen::Dynamic, 1 > &value) const
void grad_evaluate(reference_element hat_K, const point_basic< T > &hat_x, Eigen::Matrix< point_basic< T >, Eigen::Dynamic, 1 > &value) const
basis_raw_monomial(std::string name)
std::array< Eigen::Matrix< point_basic< ad3_basic< T > >, Eigen::Dynamic, 1 >, reference_element::max_variant > _hat_x_ad_pow
void _initialize(reference_element hat_K) const
std::array< Eigen::Matrix< point_basic< T >, Eigen::Dynamic, 1 >, reference_element::max_variant > _hat_x_pow
basis_raw_rep(std::string name="")
void _initialize_guard(reference_element hat_K) const
see the reference_element page for the full documentation
size_type dimension() const
variant_type variant() const
static size_type n_node(variant_type variant, size_type order)
#define trace_macro(message)
#define error_macro(message)
This file is part of Rheolef.