Rheolef  7.2
an efficient C++ finite element environment
 
Loading...
Searching...
No Matches
basis_fem_empty.cc
Go to the documentation of this file.
1
21#include "basis_fem_empty.h"
23#include "piola_fem_lagrange.h"
24namespace rheolef {
25using namespace std;
26
27template<class T>
28const Eigen::Matrix<point_basic<T>,Eigen::Dynamic,1> basis_fem_empty<T>::_dummy_hat_node;
29
30template<class T>
33{
34 base::_sopt.set_continuous(false);
36 base::_name = "empty";
37 base::_piola_fem.piola_fem<T>::base::operator= (new_macro(piola_fem_lagrange<T>));
38}
39template<class T>
43template<class T>
44void
47 const point_basic<T>& hat_x,
48 Eigen::Matrix<T,Eigen::Dynamic,1>& values) const
49{
50 values.resize (0);
51}
52template<class T>
53void
56 const point_basic<T>& hat_x,
57 Eigen::Matrix<point_basic<T>,Eigen::Dynamic,1>& values) const
58{
59 values.resize (0);
60}
61template<class T>
62void
65 const Eigen::Matrix<T,Eigen::Dynamic,1>& f_xnod,
66 Eigen::Matrix<T,Eigen::Dynamic,1>& dof) const
67{
68 dof.resize(0);
69}
70template<class T>
71void
73{
75 size_t(-1),
76 false,
77 base::_ndof_on_subgeo_internal,
78 base::_ndof_on_subgeo,
79 base::_nnod_on_subgeo_internal,
80 base::_nnod_on_subgeo,
81 base::_first_idof_by_dimension_internal,
82 base::_first_idof_by_dimension,
83 base::_first_inod_by_dimension_internal,
84 base::_first_inod_by_dimension);
85}
86template<class T>
87void
92// instantiation in library:
93template class basis_fem_empty<Float>;
94} // namespace rheolef
static void initialize_local_first(size_type k, bool is_continuous, std::array< std::array< size_type, reference_element::max_variant >, 4 > &ndof_on_subgeo_internal, std::array< std::array< size_type, reference_element::max_variant >, 4 > &ndof_on_subgeo, std::array< std::array< size_type, reference_element::max_variant >, 4 > &nnod_on_subgeo_internal, std::array< std::array< size_type, reference_element::max_variant >, 4 > &nnod_on_subgeo, std::array< std::array< size_type, 5 >, reference_element::max_variant > &first_idof_by_dimension_internal, std::array< std::array< size_type, 5 >, reference_element::max_variant > &first_idof_by_dimension, std::array< std::array< size_type, 5 >, reference_element::max_variant > &first_inod_by_dimension_internal, std::array< std::array< size_type, 5 >, reference_element::max_variant > &first_inod_by_dimension)
void _initialize_cstor_sizes() const
static const Eigen::Matrix< point_basic< T >, Eigen::Dynamic, 1 > _dummy_hat_node
void _compute_dofs(reference_element hat_K, const Eigen::Matrix< T, Eigen::Dynamic, 1 > &f_xnod, Eigen::Matrix< T, Eigen::Dynamic, 1 > &dof) const
void evaluate(reference_element hat_K, const point_basic< T > &hat_x, Eigen::Matrix< T, Eigen::Dynamic, 1 > &values) const
void grad_evaluate(reference_element hat_K, const point_basic< T > &hat_x, Eigen::Matrix< point_basic< T >, Eigen::Dynamic, 1 > &values) const
void _initialize_data(reference_element hat_K) const
see the basis_option page for the full documentation
see the reference_element page for the full documentation
Expr1::float_type T
Definition field_expr.h:230
This file is part of Rheolef.
STL namespace.