Rheolef  7.1
an efficient C++ finite element environment
form_basic< T, M >

Public Types

typedef csr< T, M >::size_type size_type
 
typedef T value_type
 
typedef scalar_traits< T >::type float_type
 
typedef geo_basic< float_type, Mgeo_type
 
typedef space_basic< float_type, Mspace_type
 

Public Member Functions

 form_basic ()
 
 form_basic (const form_basic< T, M > &)
 
form_basic< T, M > & operator= (const form_basic< T, M > &)
 
 form_basic (const std::initializer_list< details::form_concat_value< T, M > > &init_list)
 
 form_basic (const std::initializer_list< details::form_concat_line< T, M > > &init_list)
 
const space_typeget_first_space () const
 
const space_typeget_second_space () const
 
const geo_typeget_geo () const
 
bool is_symmetric () const
 
void set_symmetry (bool is_symm) const
 
const communicator & comm () const
 
form_basic< T, Moperator+ (const form_basic< T, M > &b) const
 
form_basic< T, Moperator- (const form_basic< T, M > &b) const
 
form_basic< T, Moperator* (const form_basic< T, M > &b) const
 
form_basic< T, M > & operator*= (const T &lambda)
 
field_basic< T, Moperator* (const field_basic< T, M > &xh) const
 
field_basic< T, Mtrans_mult (const field_basic< T, M > &yh) const
 
float_type operator() (const field_basic< T, M > &uh, const field_basic< T, M > &vh) const
 
odiststreamput (odiststream &ops, bool show_partition=true) const
 
void dump (std::string name) const
 
const csr< T, M > & uu () const
 
const csr< T, M > & ub () const
 
const csr< T, M > & bu () const
 
const csr< T, M > & bb () const
 
csr< T, M > & set_uu ()
 
csr< T, M > & set_ub ()
 
csr< T, M > & set_bu ()
 
csr< T, M > & set_bb ()
 
int constraint_process_rank () 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 &fopt, bool is_on_band)
 
template<class Expr >
void assembly (const geo_basic< T, M > &domain, const Expr &expr, const integrate_option &fopt)
 
template<class Expr >
void assembly (const band_basic< T, M > &gh, const Expr &expr, const integrate_option &fopt)
 
 form_basic (const space_type &X, const space_type &Y, const std::string &name="", const quadrature_option &qopt=quadrature_option())
 
 form_basic (const space_type &X, const space_type &Y, const std::string &name, const field_basic< T, M > &weight, const quadrature_option &qopt=quadrature_option())
 
template<class Function >
 form_basic (const space_type &X, const space_type &Y, const std::string &name, Function weight, const quadrature_option &qopt=quadrature_option())
 
 form_basic (const space_type &X, const space_type &Y, const std::string &name, const geo_basic< T, M > &gamma, const quadrature_option &qopt=quadrature_option())
 
 form_basic (const space_type &X, const space_type &Y, const std::string &name, const geo_basic< T, M > &gamma, const field_basic< T, M > &weight, const quadrature_option &qopt=quadrature_option())
 
template<class Function >
 form_basic (const space_type &X, const space_type &Y, const std::string &name, const geo_basic< T, M > &gamma, Function weight, const quadrature_option &qopt=quadrature_option())
 

Protected Member Functions

template<class WeightFunction >
void form_init (const std::string &name, bool has_weight, WeightFunction weight, const quadrature_option &qopt)
 
template<class WeightFunction >
void form_init_on_domain (const std::string &name, const geo_basic< T, M > &gamma, bool has_weight, WeightFunction weight, const geo_basic< T, M > &w_omega, const quadrature_option &qopt)
 

Protected Attributes

space_type _X
 
space_type _Y
 
csr< T, M_uu
 
csr< T, M_ub
 
csr< T, M_bu
 
csr< T, M_bb
 

Detailed Description

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

Definition at line 144 of file form.h.

Member Typedef Documentation

◆ size_type

typedef csr<T,M>::size_type size_type

Definition at line 148 of file form.h.

◆ value_type

typedef T value_type

Definition at line 149 of file form.h.

◆ float_type

Definition at line 150 of file form.h.

◆ geo_type

Definition at line 151 of file form.h.

◆ space_type

Definition at line 152 of file form.h.

Constructor & Destructor Documentation

◆ form_basic() [1/10]

Definition at line 300 of file form.h.

◆ form_basic() [2/10]

form_basic ( const form_basic< T, M > &  a)

Definition at line 306 of file form.h.

◆ form_basic() [3/10]

form_basic ( const std::initializer_list< details::form_concat_value< T, M > > &  init_list)

Definition at line 174 of file form_concat.h.

◆ form_basic() [4/10]

form_basic ( const std::initializer_list< details::form_concat_line< T, M > > &  init_list)

Definition at line 232 of file form_concat.h.

◆ form_basic() [5/10]

form_basic ( const space_type X,
const space_type Y,
const std::string &  name = "",
const quadrature_option qopt = quadrature_option() 
)

Definition at line 34 of file form.cc.

◆ form_basic() [6/10]

form_basic ( const space_type X,
const space_type Y,
const std::string &  name,
const field_basic< T, M > &  weight,
const quadrature_option qopt = quadrature_option() 
)

Definition at line 49 of file form.cc.

◆ form_basic() [7/10]

form_basic ( const space_type X,
const space_type Y,
const std::string &  name,
Function  weight,
const quadrature_option qopt = quadrature_option() 
)

Definition at line 201 of file form_weighted.h.

◆ form_basic() [8/10]

form_basic ( const space_type X,
const space_type Y,
const std::string &  name,
const geo_basic< T, M > &  gamma,
const quadrature_option qopt = quadrature_option() 
)

Definition at line 65 of file form.cc.

◆ form_basic() [9/10]

form_basic ( const space_type X,
const space_type Y,
const std::string &  name,
const geo_basic< T, M > &  gamma,
const field_basic< T, M > &  weight,
const quadrature_option qopt = quadrature_option() 
)

Definition at line 87 of file form.cc.

◆ form_basic() [10/10]

form_basic ( const space_type X,
const space_type Y,
const std::string &  name,
const geo_basic< T, M > &  gamma,
Function  weight,
const quadrature_option qopt = quadrature_option() 
)

Definition at line 238 of file form_weighted.h.

Member Function Documentation

◆ operator=()

form_basic< T, M > & operator= ( const form_basic< T, M > &  a)

Definition at line 313 of file form.h.

◆ get_first_space()

const form_basic< T, M >::space_type & get_first_space

Definition at line 326 of file form.h.

◆ get_second_space()

const form_basic< T, M >::space_type & get_second_space

Definition at line 333 of file form.h.

◆ get_geo()

const form_basic< T, M >::geo_type & get_geo

Definition at line 340 of file form.h.

◆ is_symmetric()

bool is_symmetric

Definition at line 420 of file form.h.

◆ set_symmetry()

void set_symmetry ( bool  is_symm) const

Definition at line 427 of file form.h.

◆ comm()

const communicator & comm

Definition at line 347 of file form.h.

◆ operator+()

form_basic< T, M > operator+ ( const form_basic< T, M > &  b) const

Definition at line 357 of file form.h.

◆ operator-()

form_basic< T, M > operator- ( const form_basic< T, M > &  b) const

Definition at line 369 of file form.h.

◆ operator*() [1/2]

form_basic< T, M > operator* ( const form_basic< T, M > &  b) const

Definition at line 381 of file form.h.

◆ operator*=()

form_basic< T, M > & operator*= ( const T lambda)

Definition at line 393 of file form.h.

◆ operator*() [2/2]

field_basic< T, M > operator* ( const field_basic< T, M > &  xh) const

Definition at line 123 of file form.cc.

◆ trans_mult()

field_basic< T, M > trans_mult ( const field_basic< T, M > &  yh) const

Definition at line 134 of file form.cc.

◆ operator()()

form_basic< T, M >::float_type operator() ( const field_basic< T, M > &  uh,
const field_basic< T, M > &  vh 
) const

Definition at line 143 of file form.cc.

◆ put()

odiststream & put ( odiststream ops,
bool  show_partition = true 
) const

Definition at line 235 of file form.cc.

◆ dump()

void dump ( std::string  name) const

Definition at line 262 of file form.cc.

◆ uu()

const csr<T,M>& uu ( ) const

Definition at line 192 of file form.h.

◆ ub()

const csr<T,M>& ub ( ) const

Definition at line 193 of file form.h.

◆ bu()

const csr<T,M>& bu ( ) const

Definition at line 194 of file form.h.

◆ bb()

const csr<T,M>& bb ( ) const

Definition at line 195 of file form.h.

◆ set_uu()

csr<T,M>& set_uu ( )

Definition at line 196 of file form.h.

◆ set_ub()

csr<T,M>& set_ub ( )

Definition at line 197 of file form.h.

◆ set_bu()

csr<T,M>& set_bu ( )

Definition at line 198 of file form.h.

◆ set_bb()

csr<T,M>& set_bb ( )

Definition at line 199 of file form.h.

◆ constraint_process_rank()

int constraint_process_rank ( ) const

Definition at line 202 of file form.h.

◆ assembly_internal()

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 fopt,
bool  is_on_band 
)

Definition at line 87 of file form_vf_assembly.h.

◆ assembly() [1/2]

void assembly ( const geo_basic< T, M > &  domain,
const Expr &  expr,
const integrate_option fopt 
)

Definition at line 241 of file form_vf_assembly.h.

◆ assembly() [2/2]

void assembly ( const band_basic< T, M > &  gh,
const Expr &  expr,
const integrate_option fopt 
)

Definition at line 252 of file form_vf_assembly.h.

◆ form_init()

void form_init ( const std::string &  name,
bool  has_weight,
WeightFunction  weight,
const quadrature_option qopt 
)
protected

Definition at line 165 of file form_weighted.h.

◆ form_init_on_domain()

void form_init_on_domain ( const std::string &  name,
const geo_basic< T, M > &  gamma,
bool  has_weight,
WeightFunction  weight,
const geo_basic< T, M > &  w_omega,
const quadrature_option qopt 
)
protected

Definition at line 222 of file form_weighted.h.

Member Data Documentation

◆ _X

space_type _X
protected

Definition at line 205 of file form.h.

◆ _Y

space_type _Y
protected

Definition at line 206 of file form.h.

◆ _uu

csr<T,M> _uu
protected

Definition at line 207 of file form.h.

◆ _ub

csr<T,M> _ub
protected

Definition at line 208 of file form.h.

◆ _bu

csr<T,M> _bu
protected

Definition at line 209 of file form.h.

◆ _bb

csr<T,M> _bb
protected

Definition at line 210 of file form.h.


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