Rheolef  7.2
an efficient C++ finite element environment
Loading...
Searching...
No Matches
basis_basic< T >

Detailed Description

template<class T>
class rheolef::basis_basic< T >

Definition at line 565 of file basis.h.

Inheritance diagram for basis_basic< T >:

Public Types

typedef basis_rep< Trep
typedef smart_pointer_nocopy< repbase
typedef rep::size_type size_type
typedef rep::value_type value_type
typedef rep::valued_type valued_type
Public Types inherited from smart_pointer_nocopy< basis_rep< T > >
typedef T handled_type
typedef base::internal internal

Public Member Functions

 basis_basic (std::string name="")
void reset (std::string &name)
void reset_family_index (size_type k)
bool is_initialized () const
size_type degree () const
size_type family_index () const
std::string family_name () const
std::string name () const
size_type ndof (reference_element hat_K) const
size_type nnod (reference_element hat_K) const
bool is_continuous () const
bool is_discontinuous () const
bool is_nodal () const
bool have_continuous_feature () const
bool have_compact_support_inside_element () const
bool is_hierarchical () const
size_type size () const
const basis_basic< T > & operator[] (size_type i_comp) const
bool have_index_parameter () const
const basis_optionoption () const
valued_type valued_tag () const
const std::string & valued () const
const piola_fem< T > & get_piola_fem () const
size_type local_ndof_on_side (reference_element hat_K, const side_information_type &sid) const
void local_idof_on_side (reference_element hat_K, const side_information_type &sid, Eigen::Matrix< size_type, Eigen::Dynamic, 1 > &loc_idof) const
size_type ndof_on_subgeo (size_type map_dim, size_type subgeo_variant) const
size_type nnod_on_subgeo (size_type map_dim, size_type subgeo_variant) const
size_type first_inod_by_dimension (reference_element hat_K, size_type dim) const
size_type first_idof_by_dimension (reference_element hat_K, size_type dim) const
size_type ndof_on_subgeo_internal (size_type map_dim, size_type subgeo_variant) const
size_type nnod_on_subgeo_internal (size_type map_dim, size_type subgeo_variant) const
size_type first_inod_by_dimension_internal (reference_element hat_K, size_type dim) const
size_type first_idof_by_dimension_internal (reference_element hat_K, size_type dim) const
template<class Value>
void evaluate (reference_element hat_K, const point_basic< T > &hat_x, Eigen::Matrix< Value, Eigen::Dynamic, 1 > &value) const
template<class Value>
void evaluate_on_side (reference_element tilde_K, const side_information_type &sid, const point_basic< T > &hat_x, Eigen::Matrix< Value, Eigen::Dynamic, 1 > &value) const
template<class Value>
void grad_evaluate (reference_element hat_K, const point_basic< T > &hat_x, Eigen::Matrix< Value, Eigen::Dynamic, 1 > &value) const
const Eigen::Matrix< point_basic< T >, Eigen::Dynamic, 1 > & hat_node (reference_element hat_K) const
template<class Function>
void compute_dof (reference_element hat_K, const Function &f, Eigen::Matrix< T, Eigen::Dynamic, 1 > &dofs) const
template<class Value>
void compute_dofs (reference_element hat_K, const Eigen::Matrix< Value, Eigen::Dynamic, 1 > &f_xnod, Eigen::Matrix< T, Eigen::Dynamic, 1 > &dof) const
const Eigen::Matrix< T, Eigen::Dynamic, Eigen::Dynamic > & vdm (reference_element hat_K) const
const Eigen::Matrix< T, Eigen::Dynamic, Eigen::Dynamic > & inv_vdm (reference_element hat_K) const
void put (std::ostream &os, reference_element hat_K) const
void put_hat_node (std::ostream &os, reference_element hat_K) const
void put_hat_node_on_side (std::ostream &os, reference_element hat_K, const side_information_type &sid) const
Public Member Functions inherited from smart_pointer_nocopy< basis_rep< T > >
 smart_pointer_nocopy (T *p=0)
smart_pointer_nocopy< T > & operator= (const smart_pointer_nocopy< T > &x)
 ~smart_pointer_nocopy ()
Public Member Functions inherited from smart_pointer_base< T, details::no_copy< T > >
 smart_pointer_base (T *p=0)
smart_pointer_base< T, details::no_copy< T > > & operator= (const smart_pointer_base< T, details::no_copy< T > > &)
 ~smart_pointer_base ()
const Tpointer () const
const Tdata () const
const Toperator-> () const
const Toperator* () const
int reference_counter () const
counter * get_count () const

Protected Member Functions

void _clear () const

Additional Inherited Members

Static Public Member Functions inherited from persistent_table< basis_basic< T > >
static basis_basic< Tload (const std::string &name)
static void unload (const std::string &name)
static bool verbose ()
static void set_verbose (bool v)
Protected Types inherited from persistent_table< basis_basic< T > >
using loaded_map_type
Static Protected Member Functions inherited from persistent_table< basis_basic< T > >
static loaded_map_typeget_loaded_map ()
Static Protected Attributes inherited from persistent_table< basis_basic< T > >
static loaded_map_type _loaded_map
static bool _verbose

Member Typedef Documentation

◆ rep

template<class T>
typedef basis_rep<T> rep

Definition at line 571 of file basis.h.

◆ base

template<class T>
typedef smart_pointer_nocopy<rep> base

Definition at line 572 of file basis.h.

◆ size_type

template<class T>
typedef rep::size_type size_type

Definition at line 573 of file basis.h.

◆ value_type

template<class T>
typedef rep::value_type value_type

Definition at line 574 of file basis.h.

◆ valued_type

template<class T>
typedef rep::valued_type valued_type

Definition at line 575 of file basis.h.

Constructor & Destructor Documentation

◆ basis_basic()

template<class T>
basis_basic ( std::string name = "")

Definition at line 691 of file basis.h.

Member Function Documentation

◆ reset()

template<class T>
void reset ( std::string & name)

Definition at line 79 of file basis_rep.cc.

◆ reset_family_index()

template<class T>
void reset_family_index ( size_type k)

Definition at line 94 of file basis_rep.cc.

◆ is_initialized()

template<class T>
bool is_initialized ( ) const

Definition at line 585 of file basis.h.

◆ degree()

template<class T>
basis_basic< T >::size_type degree ( ) const

Definition at line 728 of file basis.h.

◆ family_index()

template<class T>
basis_basic< T >::size_type family_index ( ) const

Definition at line 714 of file basis.h.

◆ family_name()

template<class T>
std::string family_name ( ) const

Definition at line 707 of file basis.h.

◆ name()

template<class T>
std::string name ( ) const

Definition at line 721 of file basis.h.

◆ ndof()

template<class T>
basis_basic< T >::size_type ndof ( reference_element hat_K) const

Definition at line 735 of file basis.h.

◆ nnod()

template<class T>
basis_basic< T >::size_type nnod ( reference_element hat_K) const

Definition at line 742 of file basis.h.

◆ is_continuous()

template<class T>
bool is_continuous ( ) const

Definition at line 756 of file basis.h.

◆ is_discontinuous()

template<class T>
bool is_discontinuous ( ) const

Definition at line 763 of file basis.h.

◆ is_nodal()

template<class T>
bool is_nodal ( ) const

Definition at line 770 of file basis.h.

◆ have_continuous_feature()

template<class T>
bool have_continuous_feature ( ) const

Definition at line 777 of file basis.h.

◆ have_compact_support_inside_element()

template<class T>
bool have_compact_support_inside_element ( ) const

Definition at line 784 of file basis.h.

◆ is_hierarchical()

template<class T>
bool is_hierarchical ( ) const

Definition at line 798 of file basis.h.

◆ size()

template<class T>
basis_basic< T >::size_type size ( ) const

Definition at line 791 of file basis.h.

◆ operator[]()

template<class T>
const basis_basic< T > & operator[] ( size_type i_comp) const

Definition at line 813 of file basis.h.

◆ have_index_parameter()

template<class T>
bool have_index_parameter ( ) const

Definition at line 820 of file basis.h.

◆ option()

template<class T>
const basis_option & option ( ) const

Definition at line 749 of file basis.h.

◆ valued_tag()

template<class T>
basis_basic< T >::valued_type valued_tag ( ) const

Definition at line 827 of file basis.h.

◆ valued()

template<class T>
const std::string & valued ( ) const

Definition at line 841 of file basis.h.

◆ get_piola_fem()

template<class T>
const piola_fem< T > & get_piola_fem ( ) const

Definition at line 834 of file basis.h.

◆ local_ndof_on_side()

template<class T>
basis_basic< T >::size_type local_ndof_on_side ( reference_element hat_K,
const side_information_type & sid ) const

Definition at line 995 of file basis.h.

◆ local_idof_on_side()

template<class T>
void local_idof_on_side ( reference_element hat_K,
const side_information_type & sid,
Eigen::Matrix< size_type, Eigen::Dynamic, 1 > & loc_idof ) const

Definition at line 1004 of file basis.h.

◆ ndof_on_subgeo()

template<class T>
basis_basic< T >::size_type ndof_on_subgeo ( size_type map_dim,
size_type subgeo_variant ) const

Definition at line 848 of file basis.h.

◆ nnod_on_subgeo()

template<class T>
basis_basic< T >::size_type nnod_on_subgeo ( size_type map_dim,
size_type subgeo_variant ) const

Definition at line 855 of file basis.h.

◆ first_inod_by_dimension()

template<class T>
basis_basic< T >::size_type first_inod_by_dimension ( reference_element hat_K,
size_type dim ) const

Definition at line 869 of file basis.h.

◆ first_idof_by_dimension()

template<class T>
basis_basic< T >::size_type first_idof_by_dimension ( reference_element hat_K,
size_type dim ) const

Definition at line 862 of file basis.h.

◆ ndof_on_subgeo_internal()

template<class T>
basis_basic< T >::size_type ndof_on_subgeo_internal ( size_type map_dim,
size_type subgeo_variant ) const

Definition at line 876 of file basis.h.

◆ nnod_on_subgeo_internal()

template<class T>
basis_basic< T >::size_type nnod_on_subgeo_internal ( size_type map_dim,
size_type subgeo_variant ) const

Definition at line 883 of file basis.h.

◆ first_inod_by_dimension_internal()

template<class T>
basis_basic< T >::size_type first_inod_by_dimension_internal ( reference_element hat_K,
size_type dim ) const

Definition at line 897 of file basis.h.

◆ first_idof_by_dimension_internal()

template<class T>
basis_basic< T >::size_type first_idof_by_dimension_internal ( reference_element hat_K,
size_type dim ) const

Definition at line 890 of file basis.h.

◆ evaluate()

template<class T>
template<class Value>
void evaluate ( reference_element hat_K,
const point_basic< T > & hat_x,
Eigen::Matrix< Value, Eigen::Dynamic, 1 > & value ) const

Definition at line 919 of file basis.h.

◆ evaluate_on_side()

template<class T>
template<class Value>
void evaluate_on_side ( reference_element tilde_K,
const side_information_type & sid,
const point_basic< T > & hat_x,
Eigen::Matrix< Value, Eigen::Dynamic, 1 > & value ) const

Definition at line 930 of file basis.h.

◆ grad_evaluate()

template<class T>
template<class Value>
void grad_evaluate ( reference_element hat_K,
const point_basic< T > & hat_x,
Eigen::Matrix< Value, Eigen::Dynamic, 1 > & value ) const

Definition at line 942 of file basis.h.

◆ hat_node()

template<class T>
const Eigen::Matrix< point_basic< T >, Eigen::Dynamic, 1 > & hat_node ( reference_element hat_K) const

Definition at line 974 of file basis.h.

◆ compute_dof()

template<class T>
template<class Function>
void compute_dof ( reference_element hat_K,
const Function & f,
Eigen::Matrix< T, Eigen::Dynamic, 1 > & dofs ) const

Definition at line 953 of file basis.h.

◆ compute_dofs()

template<class T>
template<class Value>
void compute_dofs ( reference_element hat_K,
const Eigen::Matrix< Value, Eigen::Dynamic, 1 > & f_xnod,
Eigen::Matrix< T, Eigen::Dynamic, 1 > & dof ) const

Definition at line 964 of file basis.h.

◆ vdm()

template<class T>
const Eigen::Matrix< T, Eigen::Dynamic, Eigen::Dynamic > & vdm ( reference_element hat_K) const

Definition at line 904 of file basis.h.

◆ inv_vdm()

template<class T>
const Eigen::Matrix< T, Eigen::Dynamic, Eigen::Dynamic > & inv_vdm ( reference_element hat_K) const

Definition at line 911 of file basis.h.

◆ put()

template<class T>
void put ( std::ostream & os,
reference_element hat_K ) const

Definition at line 981 of file basis.h.

◆ put_hat_node()

template<class T>
void put_hat_node ( std::ostream & os,
reference_element hat_K ) const

Definition at line 988 of file basis.h.

◆ put_hat_node_on_side()

template<class T>
void put_hat_node_on_side ( std::ostream & os,
reference_element hat_K,
const side_information_type & sid ) const

Definition at line 1014 of file basis.h.

◆ _clear()

template<class T>
void _clear ( ) const
protected

Definition at line 700 of file basis.h.


The documentation for this class was generated from the following files:
  • /build/rheolef-L67pNR/rheolef-7.2/fem/lib/basis.h
  • /build/rheolef-L67pNR/rheolef-7.2/fem/lib/basis_rep.cc