Rheolef  7.2
an efficient C++ finite element environment
 
Loading...
Searching...
No Matches
field_expr_v2_variational_unary< UnaryFunction, Expr >

Detailed Description

template<class UnaryFunction, class Expr>
class rheolef::details::field_expr_v2_variational_unary< UnaryFunction, Expr >

Definition at line 58 of file field_expr_variational.h.

Classes

struct  evaluate_call_check
 
struct  evaluate_call_check< Result, Arg, std::true_type >
 
struct  evaluate_switch
 
struct  evaluate_switch< This, Result, Arg, std::true_type >
 

Public Types

typedef geo_element::size_type size_type
 
typedef Expr::memory_type memory_type
 
typedef details::generic_unary_traits< UnaryFunction >::template result_hint< typenameExpr::value_type >::type value_type
 
typedef scalar_traits< value_type >::type scalar_type
 
typedef float_traits< scalar_type >::type float_type
 
typedef space_basic< scalar_type, memory_typespace_type
 
typedef Expr::vf_tag_type vf_tag_type
 
typedef details::dual_vf_tag< vf_tag_type >::type vf_dual_tag_type
 
typedef field_expr_v2_variational_unary< UnaryFunction, Expr > self_type
 
typedef field_expr_v2_variational_unary< UnaryFunction, typename Expr::dual_self_type > dual_self_type
 

Public Member Functions

 field_expr_v2_variational_unary (const UnaryFunction &f, const Expr &expr)
 
 field_expr_v2_variational_unary (const field_expr_v2_variational_unary< UnaryFunction, Expr > &x)
 
const space_typeget_vf_space () const
 
space_constant::valued_type valued_tag () const
 
size_type n_derivative () const
 
void initialize (const piola_on_pointset< float_type > &pops, const integrate_option &iopt)
 
void initialize (const band_basic< float_type, memory_type > &gh, const piola_on_pointset< float_type > &pops, const integrate_option &iopt)
 
template<class Result , class Arg , class M >
void evaluate_internal (const geo_basic< float_type, M > &omega_K, const geo_element &K, Eigen::Matrix< Result, Eigen::Dynamic, Eigen::Dynamic > &value) const
 
template<class Result , class Arg , class M >
void evaluate_internal (const geo_basic< float_type, M > &omega_K, const geo_element &K, const side_information_type &sid, Eigen::Matrix< Result, Eigen::Dynamic, Eigen::Dynamic > &value, bool do_local_component_assembly) const
 
template<class Result , class M >
void evaluate (const geo_basic< float_type, M > &omega_K, const geo_element &K, Eigen::Matrix< Result, Eigen::Dynamic, Eigen::Dynamic > &value) const
 
template<class Result , class M >
void evaluate_on_side (const geo_basic< float_type, M > &omega_K, const geo_element &K, const side_information_type &sid, Eigen::Matrix< Result, Eigen::Dynamic, Eigen::Dynamic > &value, bool do_local_component_assembly) const
 
template<class Result >
void valued_check () const
 

Static Public Member Functions

static bool have_test_space ()
 

Static Public Attributes

static const space_constant::valued_type valued_hint = space_constant::valued_tag_traits<value_type>::value
 

Protected Attributes

UnaryFunction _f
 
Expr _expr
 

Member Typedef Documentation

◆ size_type

template<class UnaryFunction , class Expr >
typedef geo_element::size_type size_type

Definition at line 62 of file field_expr_variational.h.

◆ memory_type

template<class UnaryFunction , class Expr >
typedef Expr::memory_type memory_type

Definition at line 63 of file field_expr_variational.h.

◆ value_type

template<class UnaryFunction , class Expr >
typedef details::generic_unary_traits<UnaryFunction>::template result_hint<typenameExpr::value_type>::type value_type

Definition at line 65 of file field_expr_variational.h.

◆ scalar_type

template<class UnaryFunction , class Expr >
typedef scalar_traits<value_type>::type scalar_type

Definition at line 66 of file field_expr_variational.h.

◆ float_type

template<class UnaryFunction , class Expr >
typedef float_traits<scalar_type>::type float_type

Definition at line 67 of file field_expr_variational.h.

◆ space_type

template<class UnaryFunction , class Expr >
typedef space_basic<scalar_type,memory_type> space_type

Definition at line 68 of file field_expr_variational.h.

◆ vf_tag_type

template<class UnaryFunction , class Expr >
typedef Expr::vf_tag_type vf_tag_type

Definition at line 69 of file field_expr_variational.h.

◆ vf_dual_tag_type

template<class UnaryFunction , class Expr >
typedef details::dual_vf_tag<vf_tag_type>::type vf_dual_tag_type

Definition at line 71 of file field_expr_variational.h.

◆ self_type

template<class UnaryFunction , class Expr >
typedef field_expr_v2_variational_unary<UnaryFunction,Expr> self_type

Definition at line 72 of file field_expr_variational.h.

◆ dual_self_type

template<class UnaryFunction , class Expr >
typedef field_expr_v2_variational_unary<UnaryFunction,typename Expr::dual_self_type> dual_self_type

Definition at line 74 of file field_expr_variational.h.

Constructor & Destructor Documentation

◆ field_expr_v2_variational_unary() [1/2]

template<class UnaryFunction , class Expr >
field_expr_v2_variational_unary ( const UnaryFunction &  f,
const Expr &  expr 
)

Definition at line 78 of file field_expr_variational.h.

◆ field_expr_v2_variational_unary() [2/2]

template<class UnaryFunction , class Expr >
field_expr_v2_variational_unary ( const field_expr_v2_variational_unary< UnaryFunction, Expr > &  x)

Definition at line 81 of file field_expr_variational.h.

Member Function Documentation

◆ have_test_space()

template<class UnaryFunction , class Expr >
static bool have_test_space ( )
static

Definition at line 86 of file field_expr_variational.h.

◆ get_vf_space()

template<class UnaryFunction , class Expr >
const space_type & get_vf_space ( ) const

Definition at line 87 of file field_expr_variational.h.

◆ valued_tag()

template<class UnaryFunction , class Expr >
space_constant::valued_type valued_tag ( ) const

Definition at line 89 of file field_expr_variational.h.

◆ n_derivative()

template<class UnaryFunction , class Expr >
size_type n_derivative ( ) const

Definition at line 92 of file field_expr_variational.h.

◆ initialize() [1/2]

template<class UnaryFunction , class Expr >
void initialize ( const piola_on_pointset< float_type > &  pops,
const integrate_option iopt 
)

Definition at line 96 of file field_expr_variational.h.

◆ initialize() [2/2]

template<class UnaryFunction , class Expr >
void initialize ( const band_basic< float_type, memory_type > &  gh,
const piola_on_pointset< float_type > &  pops,
const integrate_option iopt 
)

Definition at line 99 of file field_expr_variational.h.

◆ evaluate_internal() [1/2]

template<class UnaryFunction , class Expr >
template<class Result , class Arg , class M >
void evaluate_internal ( const geo_basic< float_type, M > &  omega_K,
const geo_element K,
Eigen::Matrix< Result, Eigen::Dynamic, Eigen::Dynamic > &  value 
) const

Definition at line 148 of file field_expr_variational.h.

◆ evaluate_internal() [2/2]

template<class UnaryFunction , class Expr >
template<class Result , class Arg , class M >
void evaluate_internal ( const geo_basic< float_type, M > &  omega_K,
const geo_element K,
const side_information_type sid,
Eigen::Matrix< Result, Eigen::Dynamic, Eigen::Dynamic > &  value,
bool  do_local_component_assembly 
) const

Definition at line 163 of file field_expr_variational.h.

◆ evaluate()

template<class UnaryFunction , class Expr >
template<class Result , class M >
void evaluate ( const geo_basic< float_type, M > &  omega_K,
const geo_element K,
Eigen::Matrix< Result, Eigen::Dynamic, Eigen::Dynamic > &  value 
) const

Definition at line 256 of file field_expr_variational.h.

◆ evaluate_on_side()

template<class UnaryFunction , class Expr >
template<class Result , class M >
void evaluate_on_side ( const geo_basic< float_type, M > &  omega_K,
const geo_element K,
const side_information_type sid,
Eigen::Matrix< Result, Eigen::Dynamic, Eigen::Dynamic > &  value,
bool  do_local_component_assembly 
) const

Definition at line 268 of file field_expr_variational.h.

◆ valued_check()

template<class UnaryFunction , class Expr >
template<class Result >
void valued_check ( ) const

Definition at line 282 of file field_expr_variational.h.

Member Data Documentation

◆ valued_hint

template<class UnaryFunction , class Expr >
const space_constant::valued_type valued_hint = space_constant::valued_tag_traits<value_type>::value
static

Definition at line 88 of file field_expr_variational.h.

◆ _f

template<class UnaryFunction , class Expr >
UnaryFunction _f
protected

Definition at line 289 of file field_expr_variational.h.

◆ _expr

template<class UnaryFunction , class Expr >
Expr _expr
protected

Definition at line 290 of file field_expr_variational.h.


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