43 if ((
name.length()) > 0 && (
name[0] ==
'B')) {
45 base::_degree = atoi(name.c_str()+1);
46 }
else if (
name.length() > 0) {
47 error_macro (
"invalid polynomial name `"<<name<<
"' for the Bk raw polynomial set");
87 Eigen::Matrix<T,Eigen::Dynamic,1>& value)
const
96 value.resize(loc_ndof);
97 for (
size_t loc_idof = 0; loc_idof < loc_ndof; loc_idof++) {
113 value.resize(loc_ndof);
114 for (
size_t loc_idof = 0; loc_idof < loc_ndof; loc_idof++) {
116 value[loc_idof] = bx.
grad();
122#define _RHEOLEF_instanciation(T) \
123template class basis_raw_bernstein<T>;
#define _RHEOLEF_instanciation(T, M, A)
see the Float page for the full documentation
const point_basic< T > & grad() const
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
std::array< std::vector< std::array< ad3_basic< T >, 6 > >, reference_element::max_variant > _lambda_ad_pow
std::array< std::vector< std::array< T, 6 > >, reference_element::max_variant > _lambda_pow
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_bernstein(std::string name)
size_type ndof(reference_element hat_K) const
std::array< std::vector< point_basic< size_type > >, reference_element::max_variant > _power_index
void _initialize(reference_element hat_K) const
std::vector< T > _factorial
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)
This file is part of Rheolef.