rheolef  6.3
Public Types | Public Member Functions | Static Public Member Functions | Protected Attributes | List of all members
rheolef::form_element_rep< T, M > Class Template Reference

#include <form_element.h>

Collaboration diagram for rheolef::form_element_rep< T, M >:
Collaboration graph
[legend]

Public Types

typedef geo_element::size_type size_type
typedef scalar_traits< T >::type scalar_type
typedef float_traits< T >::type float_type
typedef point_basic< float_typevertex_type
typedef space_basic
< float_type, M > 
space_type
typedef geo_basic< float_type, M > geo_type
typedef
space_constant::coordinate_type 
coordinate_type
typedef basis_on_pointset< T >
::const_iterator 
quad_const_iterator
typedef basis_on_pointset< T >
::const_iterator_grad 
quad_const_iterator_grad

Public Member Functions

 form_element_rep ()
 form_element_rep (const space_type &X, const space_type &Y, const geo_type &omega, const quadrature_option_type &qopt)
virtual ~form_element_rep ()
void initialize_all () const
virtual void operator() (const geo_element &K, ublas::matrix< T > &m) const =0
virtual void initialize () const =0
virtual bool is_symmetric () const =0
virtual void first_dis_idof (const geo_element &K, std::vector< size_type > &dis_jdx) const
virtual void second_dis_idof (const geo_element &K, std::vector< size_type > &dis_idy) const
const space_typeget_first_space () const
const space_typeget_second_space () const
const basisget_first_basis () const
const basisget_second_basis () const
const basisget_piola_basis () const
size_type coordinate_dimension () const
coordinate_type coordinate_system () const
size_type n_derivative () const
void set_n_derivative (size_type n) const
const vertex_typedis_node (size_type dis_inod) const
void build_scalar_mass (const geo_element &K, ublas::matrix< T > &m, size_type w_i_comp=0) const
void build_general_mass (const geo_element &K, ublas::matrix< T > &m) const
void build_scalar_grad_grad (const geo_element &K, ublas::matrix< T > &a) const
void build_gradt_grad (const geo_element &K, ublas::matrix< T > &a) const
void build_div_div (const geo_element &K, ublas::matrix< T > &a) const
void build_d_dx (const geo_element &K, ublas::matrix< T > &a, size_type i_comp) const
void set_weight (const field_basic< T, M > &wh) const
template<class Expr >
void set_weight (const field_nonlinear_expr< Expr > &expr) const
template<class Expr >
void set_weight (const field_nonlinear_expr< Expr > &w_expr, const geo_basic< T, M > &w_omega) const
bool is_weighted () const
bool is_weight_on_subgeo () const
weight (const geo_element &K, size_type q, size_type i_comp=0) const
void weight (const geo_element &K, size_type q, tensor_basic< T > &W) const
weight_coordinate_system (const geo_element &K, const std::vector< size_type > &dis_inod, size_type q) const
void set_use_coordinate_system_weight (bool use) const
bool use_coordinate_system_weight () const
void set_use_coordinate_system_dual_weight (bool use) const
bool use_coordinate_system_dual_weight () const
bool is_on_band () const
void set_band (const band_basic< T, M > &bh) const
const band_basic< T, M > & get_band () const

Static Public Member Functions

static void cumul_otimes (ublas::matrix< T > &m, const T &w, quad_const_iterator phi, quad_const_iterator last_phi, quad_const_iterator first_psi, quad_const_iterator last_psi)
static void cumul_otimes (ublas::matrix< T > &m, const tensor_basic< T > &Dw, quad_const_iterator_grad grad_phi, quad_const_iterator_grad last_grad_phi, quad_const_iterator_grad first_grad_psi, quad_const_iterator_grad last_grad_psi, size_type map_d)
static form_element_rep< T, M > * make_ptr (std::string name, const space_type &X, const space_type &Y, const geo_type &omega, const quadrature_option_type &qopt)

Protected Attributes

space_type _X
space_type _Y
geo_type _omega
bool _initialized
size_type _n_derivative
quadrature< T > _quad
quadrature_option_type _qopt
basis_on_pointset< T > _bx_table
basis_on_pointset< T > _by_table
basis_on_pointset< T > _piola_table
bool _is_weighted
bool _is_weight_on_subgeo
field_on_pointset< T, M > _wops
geo_type _weight_omega
bool _use_coordinate_system_weight
bool _use_coordinate_system_dual_weight
bool _is_on_band
band_basic< T, M > _band

Detailed Description

template<class T, class M>
class rheolef::form_element_rep< T, M >

Definition at line 18 of file form_element.h.

Member Typedef Documentation

template<class T, class M>
typedef geo_element::size_type rheolef::form_element_rep< T, M >::size_type

Definition at line 20 of file form_element.h.

template<class T, class M>
typedef scalar_traits<T>::type rheolef::form_element_rep< T, M >::scalar_type

Definition at line 21 of file form_element.h.

template<class T, class M>
typedef float_traits<T>::type rheolef::form_element_rep< T, M >::float_type

Definition at line 22 of file form_element.h.

template<class T, class M>
typedef point_basic<float_type> rheolef::form_element_rep< T, M >::vertex_type

Definition at line 23 of file form_element.h.

template<class T, class M>
typedef space_basic<float_type,M> rheolef::form_element_rep< T, M >::space_type

Definition at line 24 of file form_element.h.

template<class T, class M>
typedef geo_basic<float_type,M> rheolef::form_element_rep< T, M >::geo_type

Definition at line 25 of file form_element.h.

template<class T, class M>
typedef space_constant::coordinate_type rheolef::form_element_rep< T, M >::coordinate_type

Definition at line 26 of file form_element.h.

template<class T, class M>
typedef basis_on_pointset<T>::const_iterator rheolef::form_element_rep< T, M >::quad_const_iterator

Definition at line 27 of file form_element.h.

template<class T, class M>
typedef basis_on_pointset<T>::const_iterator_grad rheolef::form_element_rep< T, M >::quad_const_iterator_grad

Definition at line 28 of file form_element.h.

Constructor & Destructor Documentation

template<class T , class M >
rheolef::form_element_rep< T, M >::form_element_rep ( )
inline

Definition at line 161 of file form_element.h.

template<class T , class M >
rheolef::form_element_rep< T, M >::form_element_rep ( const space_type X,
const space_type Y,
const geo_type omega,
const quadrature_option_type qopt 
)
inline

Definition at line 184 of file form_element.h.

template<class T , class M >
rheolef::form_element_rep< T, M >::~form_element_rep ( )
inlinevirtual

Definition at line 211 of file form_element.h.

Member Function Documentation

template<class T , class M >
void rheolef::form_element_rep< T, M >::initialize_all ( ) const

Definition at line 13 of file form_element.cc.

template<class T, class M>
virtual void rheolef::form_element_rep< T, M >::operator() ( const geo_element K,
ublas::matrix< T > &  m 
) const
pure virtual
template<class T, class M>
virtual void rheolef::form_element_rep< T, M >::initialize ( ) const
pure virtual
template<class T, class M>
virtual bool rheolef::form_element_rep< T, M >::is_symmetric ( ) const
pure virtual
template<class T, class M>
virtual void rheolef::form_element_rep< T, M >::first_dis_idof ( const geo_element K,
std::vector< size_type > &  dis_jdx 
) const
inlinevirtual

Definition at line 47 of file form_element.h.

template<class T, class M>
virtual void rheolef::form_element_rep< T, M >::second_dis_idof ( const geo_element K,
std::vector< size_type > &  dis_idy 
) const
inlinevirtual

Definition at line 49 of file form_element.h.

template<class T , class M >
const form_element_rep< T, M >::space_type & rheolef::form_element_rep< T, M >::get_first_space ( ) const
inline

Definition at line 224 of file form_element.h.

template<class T , class M >
const form_element_rep< T, M >::space_type & rheolef::form_element_rep< T, M >::get_second_space ( ) const
inline

Definition at line 231 of file form_element.h.

template<class T , class M >
const basis & rheolef::form_element_rep< T, M >::get_first_basis ( ) const
inline

Definition at line 238 of file form_element.h.

template<class T , class M >
const basis & rheolef::form_element_rep< T, M >::get_second_basis ( ) const
inline

Definition at line 245 of file form_element.h.

template<class T , class M >
const basis & rheolef::form_element_rep< T, M >::get_piola_basis ( ) const
inline

Definition at line 252 of file form_element.h.

template<class T , class M >
form_element_rep< T, M >::size_type rheolef::form_element_rep< T, M >::coordinate_dimension ( ) const
inline

Definition at line 259 of file form_element.h.

template<class T , class M >
form_element_rep< T, M >::coordinate_type rheolef::form_element_rep< T, M >::coordinate_system ( ) const
inline

Definition at line 266 of file form_element.h.

template<class T , class M >
form_element_rep< T, M >::size_type rheolef::form_element_rep< T, M >::n_derivative ( ) const
inline

Definition at line 273 of file form_element.h.

template<class T , class M >
void rheolef::form_element_rep< T, M >::set_n_derivative ( size_type  n) const
inline

Definition at line 280 of file form_element.h.

template<class T , class M >
const form_element_rep< T, M >::vertex_type & rheolef::form_element_rep< T, M >::dis_node ( size_type  dis_inod) const
inline

Definition at line 217 of file form_element.h.

template<class T , class M >
void rheolef::form_element_rep< T, M >::build_scalar_mass ( const geo_element K,
ublas::matrix< T > &  m,
size_type  w_i_comp = 0 
) const

Definition at line 159 of file form_element.cc.

template<class T , class M >
void rheolef::form_element_rep< T, M >::build_general_mass ( const geo_element K,
ublas::matrix< T > &  m 
) const

Definition at line 339 of file form_element.cc.

template<class T , class M >
void rheolef::form_element_rep< T, M >::build_scalar_grad_grad ( const geo_element K,
ublas::matrix< T > &  a 
) const

Definition at line 222 of file form_element.cc.

template<class T , class M >
void rheolef::form_element_rep< T, M >::build_gradt_grad ( const geo_element K,
ublas::matrix< T > &  a 
) const

Definition at line 470 of file form_element.cc.

template<class T , class M >
void rheolef::form_element_rep< T, M >::build_div_div ( const geo_element K,
ublas::matrix< T > &  a 
) const

Definition at line 518 of file form_element.cc.

template<class T , class M >
void rheolef::form_element_rep< T, M >::build_d_dx ( const geo_element K,
ublas::matrix< T > &  a,
size_type  i_comp 
) const

Definition at line 426 of file form_element.cc.

template<class T , class M >
void rheolef::form_element_rep< T, M >::cumul_otimes ( ublas::matrix< T > &  m,
const T &  w,
quad_const_iterator  phi,
quad_const_iterator  last_phi,
quad_const_iterator  first_psi,
quad_const_iterator  last_psi 
)
static

Definition at line 90 of file form_element.cc.

template<class T , class M >
void rheolef::form_element_rep< T, M >::cumul_otimes ( ublas::matrix< T > &  m,
const tensor_basic< T > &  Dw,
quad_const_iterator_grad  grad_phi,
quad_const_iterator_grad  last_grad_phi,
quad_const_iterator_grad  first_grad_psi,
quad_const_iterator_grad  last_grad_psi,
size_type  map_d 
)
static

Definition at line 107 of file form_element.cc.

template<class T , class M >
void rheolef::form_element_rep< T, M >::set_weight ( const field_basic< T, M > &  wh) const
inline

Definition at line 325 of file form_element.h.

template<class T , class M >
template<class Expr >
void rheolef::form_element_rep< T, M >::set_weight ( const field_nonlinear_expr< Expr > &  expr) const
inline

Definition at line 316 of file form_element.h.

template<class T , class M >
template<class Expr >
void rheolef::form_element_rep< T, M >::set_weight ( const field_nonlinear_expr< Expr > &  w_expr,
const geo_basic< T, M > &  w_omega 
) const
inline

Definition at line 302 of file form_element.h.

template<class T , class M >
bool rheolef::form_element_rep< T, M >::is_weighted ( ) const
inline

Definition at line 287 of file form_element.h.

template<class T , class M >
bool rheolef::form_element_rep< T, M >::is_weight_on_subgeo ( ) const
inline

Definition at line 294 of file form_element.h.

template<class T , class M >
T rheolef::form_element_rep< T, M >::weight ( const geo_element K,
size_type  q,
size_type  i_comp = 0 
) const

Definition at line 566 of file form_element.cc.

template<class T , class M >
void rheolef::form_element_rep< T, M >::weight ( const geo_element K,
size_type  q,
tensor_basic< T > &  W 
) const

Definition at line 585 of file form_element.cc.

template<class T , class M >
T rheolef::form_element_rep< T, M >::weight_coordinate_system ( const geo_element K,
const std::vector< size_type > &  dis_inod,
size_type  q 
) const

Definition at line 47 of file form_element.cc.

template<class T, class M>
void rheolef::form_element_rep< T, M >::set_use_coordinate_system_weight ( bool  use) const
inline

Definition at line 113 of file form_element.h.

template<class T, class M>
bool rheolef::form_element_rep< T, M >::use_coordinate_system_weight ( ) const
inline

Definition at line 115 of file form_element.h.

template<class T, class M>
void rheolef::form_element_rep< T, M >::set_use_coordinate_system_dual_weight ( bool  use) const
inline

Definition at line 117 of file form_element.h.

template<class T, class M>
bool rheolef::form_element_rep< T, M >::use_coordinate_system_dual_weight ( ) const
inline

Definition at line 119 of file form_element.h.

template<class T, class M>
bool rheolef::form_element_rep< T, M >::is_on_band ( ) const
inline

Definition at line 123 of file form_element.h.

template<class T, class M>
void rheolef::form_element_rep< T, M >::set_band ( const band_basic< T, M > &  bh) const
inline

Definition at line 124 of file form_element.h.

template<class T, class M>
const band_basic<T,M>& rheolef::form_element_rep< T, M >::get_band ( ) const
inline

Definition at line 125 of file form_element.h.

template<class T, class M>
static form_element_rep<T,M>* rheolef::form_element_rep< T, M >::make_ptr ( std::string  name,
const space_type X,
const space_type Y,
const geo_type omega,
const quadrature_option_type qopt 
)
static

Member Data Documentation

template<class T, class M>
space_type rheolef::form_element_rep< T, M >::_X
protected

Definition at line 128 of file form_element.h.

template<class T, class M>
space_type rheolef::form_element_rep< T, M >::_Y
protected

Definition at line 129 of file form_element.h.

template<class T, class M>
geo_type rheolef::form_element_rep< T, M >::_omega
protected

Definition at line 130 of file form_element.h.

template<class T, class M>
bool rheolef::form_element_rep< T, M >::_initialized
mutableprotected

Definition at line 132 of file form_element.h.

template<class T, class M>
size_type rheolef::form_element_rep< T, M >::_n_derivative
mutableprotected

Definition at line 133 of file form_element.h.

template<class T, class M>
quadrature<T> rheolef::form_element_rep< T, M >::_quad
mutableprotected

Definition at line 134 of file form_element.h.

template<class T, class M>
quadrature_option_type rheolef::form_element_rep< T, M >::_qopt
mutableprotected

Definition at line 135 of file form_element.h.

template<class T, class M>
basis_on_pointset<T> rheolef::form_element_rep< T, M >::_bx_table
mutableprotected

Definition at line 136 of file form_element.h.

template<class T, class M>
basis_on_pointset<T> rheolef::form_element_rep< T, M >::_by_table
mutableprotected

Definition at line 137 of file form_element.h.

template<class T, class M>
basis_on_pointset<T> rheolef::form_element_rep< T, M >::_piola_table
mutableprotected

Definition at line 138 of file form_element.h.

template<class T, class M>
bool rheolef::form_element_rep< T, M >::_is_weighted
mutableprotected

Definition at line 140 of file form_element.h.

template<class T, class M>
bool rheolef::form_element_rep< T, M >::_is_weight_on_subgeo
mutableprotected

Definition at line 141 of file form_element.h.

template<class T, class M>
field_on_pointset<T,M> rheolef::form_element_rep< T, M >::_wops
mutableprotected

Definition at line 142 of file form_element.h.

template<class T, class M>
geo_type rheolef::form_element_rep< T, M >::_weight_omega
mutableprotected

Definition at line 143 of file form_element.h.

template<class T, class M>
bool rheolef::form_element_rep< T, M >::_use_coordinate_system_weight
mutableprotected

Definition at line 144 of file form_element.h.

template<class T, class M>
bool rheolef::form_element_rep< T, M >::_use_coordinate_system_dual_weight
mutableprotected

Definition at line 145 of file form_element.h.

template<class T, class M>
bool rheolef::form_element_rep< T, M >::_is_on_band
mutableprotected

Definition at line 147 of file form_element.h.

template<class T, class M>
band_basic<T,M> rheolef::form_element_rep< T, M >::_band
mutableprotected

Definition at line 148 of file form_element.h.


The documentation for this class was generated from the following files: