Rheolef  7.1
an efficient C++ finite element environment
bubble.h
Go to the documentation of this file.
1 // file automatically generated by "../../../rheolef/fem/lib/basis_symbolic_cxx.cc"
22 #ifndef _RHEOLEF_bubble_H
23 #define _RHEOLEF_bubble_H
24 #include "rheolef/basis.h"
25 #include "rheolef/tensor.h"
27 #include "basis_fem_Pk_lagrange.h"
28 namespace rheolef {
29 
30 template<class T>
31 class basis_bubble: public basis_rep<T> {
32 public:
33  typedef basis_rep<T> base;
34  typedef typename base::size_type size_type;
35  basis_bubble();
36  ~basis_bubble();
37  std::string name() const { return family_name(); }
38  bool have_index_parameter() const { return false; }
39  std::string family_name() const { return "bubble"; }
40  bool have_compact_support_inside_element() const { return true; }
41  size_type degree() const;
42  bool is_nodal() const { return true; }
43  void evaluate (
44  reference_element hat_K,
45  const point_basic<T>& hat_x,
46  Eigen::Matrix<T,Eigen::Dynamic,1>& values) const;
47  void grad_evaluate (
48  reference_element hat_K,
49  const point_basic<T>& hat_x,
50  Eigen::Matrix<point_basic<T>,Eigen::Dynamic,1>& values) const;
51  void _compute_dofs (
52  reference_element hat_K,
53  const Eigen::Matrix<T,Eigen::Dynamic,1>& f_xnod,
54  Eigen::Matrix<T,Eigen::Dynamic,1>& dof) const;
55  void _initialize_cstor_sizes() const;
56  void _initialize_data (reference_element hat_K) const;
57  const Eigen::Matrix<point_basic<T>,Eigen::Dynamic,1>& hat_node(reference_element hat_K) const {
59  return _hat_node [hat_K.variant()]; }
60  mutable std::array<
61  Eigen::Matrix<point_basic<T>,Eigen::Dynamic,1>,
63 };
64 } // namespace rheolef
65 #endif // _RHEOLEF_bubble_H
66 
rheolef::basis_rep::_initialize_data_guard
void _initialize_data_guard(reference_element hat_K) const
Definition: basis_rep.cc:126
rheolef::point_basic
Definition: point.h:87
rheolef::basis_bubble::~basis_bubble
~basis_bubble()
Definition: bubble.cc:173
basis_fem_Pk_lagrange.h
rheolef::basis_bubble::size_type
base::size_type size_type
Definition: bubble.h:34
rheolef::basis_bubble::evaluate
void evaluate(reference_element hat_K, const point_basic< T > &hat_x, Eigen::Matrix< T, Eigen::Dynamic, 1 > &values) const
Definition: bubble.cc:184
rheolef::basis_bubble::degree
size_type degree() const
Definition: bubble.cc:178
rheolef::basis_bubble::_initialize_data
void _initialize_data(reference_element hat_K) const
Definition: bubble.cc:255
rheolef::basis_rep::size_type
reference_element::size_type size_type
Definition: basis.h:214
rheolef::basis_bubble::base
basis_rep< T > base
Definition: bubble.h:33
rheolef::reference_element
see the reference_element page for the full documentation
Definition: reference_element.h:66
rheolef::basis_bubble::is_nodal
bool is_nodal() const
Definition: bubble.h:42
rheolef::basis_bubble::_compute_dofs
void _compute_dofs(reference_element hat_K, const Eigen::Matrix< T, Eigen::Dynamic, 1 > &f_xnod, Eigen::Matrix< T, Eigen::Dynamic, 1 > &dof) const
Definition: bubble.cc:234
Pk_get_local_idof_on_side.icc
rheolef::basis_bubble::have_compact_support_inside_element
bool have_compact_support_inside_element() const
Definition: bubble.h:40
rheolef::reference_element::variant
variant_type variant() const
Definition: reference_element.h:99
rheolef::basis_bubble::have_index_parameter
bool have_index_parameter() const
Definition: bubble.h:38
rheolef::basis_bubble::_initialize_cstor_sizes
void _initialize_cstor_sizes() const
Definition: bubble.cc:243
rheolef::basis_bubble::family_name
std::string family_name() const
Definition: bubble.h:39
rheolef::basis_bubble
Definition: bubble.h:31
rheolef
This file is part of Rheolef.
Definition: compiler_eigen.h:37
rheolef::basis_bubble::name
std::string name() const
Definition: bubble.h:37
rheolef::reference_element::max_variant
static const variant_type max_variant
Definition: reference_element.h:82
rheolef::basis_bubble::hat_node
const Eigen::Matrix< point_basic< T >, Eigen::Dynamic, 1 > & hat_node(reference_element hat_K) const
Definition: bubble.h:57
rheolef::basis_bubble::_hat_node
std::array< Eigen::Matrix< point_basic< T >, Eigen::Dynamic, 1 >, reference_element::max_variant > _hat_node
Definition: bubble.h:62
size_type
field::size_type size_type
Definition: branch.cc:425
rheolef::basis_bubble::basis_bubble
basis_bubble()
Definition: bubble.cc:165
rheolef::basis_bubble::grad_evaluate
void grad_evaluate(reference_element hat_K, const point_basic< T > &hat_x, Eigen::Matrix< point_basic< T >, Eigen::Dynamic, 1 > &values) const
Definition: bubble.cc:209
rheolef::basis_rep
Definition: basis.h:209