Rheolef
7.1
an efficient C++ finite element environment
|
Classes | |
class | const_iterator |
class | iterator |
Public Types | |
using | size_type = std::size_t |
using | memory_type = M |
using | value_type = T |
using | result_type = T |
using | scalar_type = T |
using | float_type = typename float_traits< T >::type |
using | valued_type = space_constant::valued_type |
using | geo_type = geo_basic< float_type, M > |
using | space_type = space_basic< float_type, M > |
using | dis_reference = typename vec< T, M >::dis_reference |
Public Member Functions | |
field_basic () | |
field_basic (const space_type &V, const T &init_value=std::numeric_limits< T >::max()) | |
void | resize (const space_type &V, const T &init_value=std::numeric_limits< T >::max()) |
template<class Expr , class Sfinae = typename std::enable_if< details::is_field_expr_affine_homogeneous<Expr>::value && ! details::is_field<Expr>::value>::type> | |
field_basic (const Expr &expr) | |
field_basic (const std::initializer_list< details::field_concat_value< T, M > > &init_list) | |
field_basic< T, M > & | operator= (const field_basic< T, M > &) |
template<class Value > | |
std::enable_if< details::is_rheolef_arithmetic< Value >::value,field_basic< T, M > & >::type | operator= (const Value &value) |
template<class Expr > | |
std::enable_if< details::is_field_expr_affine_homogeneous< Expr >::value &&! details::is_field_expr_v2_constant< Expr >::value &&! details::is_field< Expr >::value,field_basic< T, M > & >::type | operator= (const Expr &) |
field_basic< T, M > & | operator= (const std::initializer_list< details::field_concat_value< T, M > > &init_list) |
const space_type & | get_space () const |
const geo_type & | get_geo () const |
std::string | name () const |
std::string | get_approx () const |
valued_type | valued_tag () const |
const std::string & | valued () const |
bool | have_homogeneous_space (space_basic< T, M > &Xh) const |
const vec< T, M > & | u () const |
const vec< T, M > & | b () const |
vec< T, M > & | set_u () |
vec< T, M > & | set_b () |
T | min () const |
T | max () const |
T | max_abs () const |
T | min_abs () const |
field_indirect< T, M > | operator[] (const geo_basic< T, M > &dom) |
field_indirect_const< T, M > | operator[] (const geo_basic< T, M > &dom) const |
field_indirect< T, M > | operator[] (std::string dom_name) |
field_indirect_const< T, M > | operator[] (std::string dom_name) const |
size_type | size () const |
field_component< T, M > | operator[] (size_type i_comp) |
field_component_const< T, M > | operator[] (size_type i_comp) const |
field_component< T, M > | operator() (size_type i_comp, size_type j_comp) |
field_component_const< T, M > | operator() (size_type i_comp, size_type j_comp) const |
const distributor & | ownership () const |
const communicator & | comm () const |
size_type | ndof () const |
size_type | dis_ndof () const |
T & | dof (size_type idof) |
const T & | dof (size_type idof) const |
const T & | dis_dof (size_type dis_idof) const |
dis_reference | dis_dof_entry (size_type dis_idof) |
iterator | begin_dof () |
iterator | end_dof () |
const_iterator | begin_dof () const |
const_iterator | end_dof () const |
idiststream & | get (idiststream &ips) |
odiststream & | put (odiststream &ops) const |
odiststream & | put_field (odiststream &ops) const |
T | dis_evaluate (const point_basic< T > &x, size_type i_comp=0) const |
T | operator() (const point_basic< T > &x) const |
point_basic< T > | dis_vector_evaluate (const point_basic< T > &x) const |
int | constraint_process_rank () const |
T | evaluate (const geo_element &K, const point_basic< T > &hat_xq, size_type i_comp=0) const |
void | dis_dof_update () const |
template<class Expr > | |
void | assembly_internal (const geo_basic< T, M > &dom, const geo_basic< T, M > &band, const band_basic< T, M > &gh, const Expr &expr, const integrate_option &qopt, bool is_on_band) |
template<class Expr > | |
void | assembly (const geo_basic< T, M > &dom, const Expr &expr, const integrate_option &iopt) |
template<class Expr > | |
void | assembly (const band_basic< T, M > &gh, const Expr &expr, const integrate_option &iopt) |
Protected Member Functions | |
void | dis_dof_indexes_requires_update () const |
void | dis_dof_assembly_requires_update () const |
Protected Attributes | |
space_type | _V |
vec< T, M > | _u |
vec< T, M > | _b |
bool | _dis_dof_indexes_requires_update |
bool | _dis_dof_assembly_requires_update |
using memory_type = M |
using value_type = T |
using result_type = T |
using scalar_type = T |
using float_type = typename float_traits<T>::type |
using space_type = space_basic<float_type,M> |
using dis_reference = typename vec<T,M>::dis_reference |
|
explicit |
field_basic | ( | const Expr & | expr | ) |
Definition at line 80 of file field_expr.h.
field_basic | ( | const std::initializer_list< details::field_concat_value< T, M > > & | init_list | ) |
Definition at line 107 of file field_concat.h.
void resize | ( | const space_type & | V, |
const T & | init_value = std::numeric_limits<T>::max() |
||
) |
field_basic< T, M > & operator= | ( | const field_basic< T, M > & | x | ) |
std::enable_if< details::is_rheolef_arithmetic< Value >::value,field_basic< T, M > & >::type operator= | ( | const Value & | value | ) |
std::enable_if< details::is_field_expr_affine_homogeneous< Expr >::value &&! details::is_field_expr_v2_constant< Expr >::value &&! details::is_field< Expr >::value,field_basic< T, M > & >::type operator= | ( | const Expr & | expr | ) |
Definition at line 65 of file field_expr.h.
field_basic< T, M > & operator= | ( | const std::initializer_list< details::field_concat_value< T, M > > & | init_list | ) |
Definition at line 116 of file field_concat.h.
const space_type& get_space | ( | ) | const |
valued_type valued_tag | ( | ) | const |
bool have_homogeneous_space | ( | space_basic< T, M > & | Xh | ) | const |
Definition at line 158 of file field_indirect.h.
Definition at line 330 of file field_indirect.h.
field_indirect< T, M > operator[] | ( | std::string | dom_name | ) |
Definition at line 166 of file field_indirect.h.
field_indirect_const< T, M > operator[] | ( | std::string | dom_name | ) | const |
Definition at line 337 of file field_indirect.h.
field_component< T, M > operator[] | ( | size_type | i_comp | ) |
Definition at line 300 of file field_component.h.
field_component_const< T, M > operator[] | ( | size_type | i_comp | ) | const |
Definition at line 315 of file field_component.h.
field_component< T, M > operator() | ( | size_type | i_comp, |
size_type | j_comp | ||
) |
field_component_const< T, M > operator() | ( | size_type | i_comp, |
size_type | j_comp | ||
) | const |
const distributor& ownership | ( | ) | const |
const communicator& comm | ( | ) | const |
field_basic< T, M >::dis_reference dis_dof_entry | ( | size_type | dis_idof | ) |
field_basic< T, M >::const_iterator begin_dof |
field_basic< T, M >::const_iterator end_dof |
odiststream & put | ( | odiststream & | ops | ) | const |
odiststream & put_field | ( | odiststream & | ops | ) | const |
T dis_evaluate | ( | const point_basic< T > & | x, |
size_type | i_comp = 0 |
||
) | const |
T operator() | ( | const point_basic< T > & | x | ) | const |
point_basic< T > dis_vector_evaluate | ( | const point_basic< T > & | x | ) | const |
T evaluate | ( | const geo_element & | K, |
const point_basic< T > & | hat_xq, | ||
size_type | i_comp = 0 |
||
) | const |
void assembly_internal | ( | const geo_basic< T, M > & | dom, |
const geo_basic< T, M > & | band, | ||
const band_basic< T, M > & | gh, | ||
const Expr & | expr, | ||
const integrate_option & | qopt, | ||
bool | is_on_band | ||
) |
Definition at line 95 of file field_vf_assembly.h.
void assembly | ( | const geo_basic< T, M > & | dom, |
const Expr & | expr, | ||
const integrate_option & | iopt | ||
) |
Definition at line 170 of file field_vf_assembly.h.
void assembly | ( | const band_basic< T, M > & | gh, |
const Expr & | expr, | ||
const integrate_option & | iopt | ||
) |
Definition at line 181 of file field_vf_assembly.h.
|
protected |