ug4
ug::CompositeTimeDiscretization< TAlgebra >::CompositeAssTuner Class Reference

#include <composite_time_disc.h>

+ Inheritance diagram for ug::CompositeTimeDiscretization< TAlgebra >::CompositeAssTuner:

Public Member Functions

void add_ass_tuner (SmartPtr< AssemblingTuner< TAlgebra > > assTuner)
 
void set_force_regular_grid (bool bForce)
 forces the assembling to consider the grid as regular More...
 
- Public Member Functions inherited from ug::AssemblingTuner< TAlgebra >
void add_local_mat_to_global (matrix_type &mat, const LocalMatrix &lmat, ConstSmartPtr< DoFDistribution > dd) const
 
void add_local_vec_to_global (vector_type &vec, const LocalVector &lvec, ConstSmartPtr< DoFDistribution > dd) const
 LocalToGlobalMapper-function calls. More...
 
 AssemblingTuner ()
 constructor More...
 
template<typename TElem >
void collect_selected_elements (std::vector< TElem * > &vElem, ConstSmartPtr< DoFDistribution > dd, int si) const
 gets the element iterator from the Selector More...
 
bool constraint_type_enabled (int type) const
 returns if constraint type enabled More...
 
void disable_clear_on_resize ()
 
void disable_single_index_assembling ()
 sets an index for which the assembling should be carried out More...
 
bool elem_disc_type_enabled (int type) const
 returns if elem disc type enabled More...
 
template<typename TElem >
bool element_used (TElem *elem) const
 returns if element is to be used in assembling More...
 
void enable_constraints (int bEnableTypes)
 enables constraints More...
 
void enable_elem_discs (int bEnableTypes)
 enables elem discs More...
 
void enable_modify_solution (bool bEnable)
 enables the usage of modify solution More...
 
int enabled_constraints () const
 returns flags of enabled constraints More...
 
int enabled_elem_discs () const
 returns flags of enabled elem discs More...
 
bool matrix_is_const () const
 
void modify_LocalSol (LocalVector &vecMod, const LocalVector &lvec, ConstSmartPtr< DoFDistribution > dd) const
 
bool modify_solution_enabled () const
 checks whether the assemble index is set or not More...
 
bool regular_grid_forced () const
 returns if assembling is to considered as regular grid More...
 
void resize (ConstSmartPtr< DoFDistribution > dd, matrix_type &mat) const
 
void resize (ConstSmartPtr< DoFDistribution > dd, vector_type &vec) const
 resize functions used in assemble funcs More...
 
bool selected_elements_used () const
 returns if only selected elements used for assembling More...
 
void set_dirichlet_row (matrix_type &mat, const DoFIndex &ind) const
 
void set_dirichlet_val (vector_type &vec, const DoFIndex &ind, const double val) const
 
void set_mapping (ILocalToGlobalMapper< TAlgebra > *pMapper=NULL)
 set local to global mapping More...
 
void set_marker (BoolMarker *mark=NULL)
 sets a marker to exclude elements from assembling More...
 
void set_matrix_is_const (bool bCh)
 
void set_matrix_structure_is_const (bool b)
 
void set_selector (Selector *sel=NULL)
 sets a selector of elements for assembling More...
 
void set_single_index_assembling (const size_t index)
 
bool single_index_assembling_enabled () const
 checks whether the assemble DoFindex is set or not More...
 
virtual ~AssemblingTuner ()
 destructor More...
 

Protected Attributes

std::vector< SmartPtr< AssemblingTuner< TAlgebra >, FreeDelete > > m_vAssTuner
 
- Protected Attributes inherited from ug::AssemblingTuner< TAlgebra >
bool m_bClearOnResize
 disables clearing of vector/matrix on resize More...
 
bool m_bForceRegGrid
 forces the assembling to regard the grid as regular More...
 
bool m_bMatrixIsConst
 disables matrix assembling if set to false More...
 
bool m_bMatrixStructureIsConst
 keeps matrix structure from last call if set to true More...
 
bool m_bModifySolutionImplemented
 
bool m_bSingleAssIndex
 object for DoFindex-wise assemble routine More...
 
int m_ConstraintTypesEnabled
 enables the constraints More...
 
LocalToGlobalMapper< TAlgebra > m_defaultMapper
 default LocalToGlobalMapper More...
 
int m_ElemTypesEnabled
 enables the constraints More...
 
BoolMarkerm_pBoolMarker
 marker used to skip elements More...
 
ILocalToGlobalMapper< TAlgebra > * m_pMapper
 LocalToGlobalMapper. More...
 
Selectorm_pSelector
 selector used to set a list of elements for the assembling More...
 
size_t m_SingleAssIndex
 

Additional Inherited Members

- Public Types inherited from ug::AssemblingTuner< TAlgebra >
typedef TAlgebra algebra_type
 Algebra type. More...
 
typedef algebra_type::matrix_type matrix_type
 Type of algebra matrix. More...
 
typedef vector_type::value_type value_type
 Type of algebra value. More...
 
typedef algebra_type::vector_type vector_type
 Type of algebra vector. More...
 

Detailed Description

template<typename TAlgebra>
class ug::CompositeTimeDiscretization< TAlgebra >::CompositeAssTuner

Note
This is a hack to ensure the time disc can be used with a GMG. As the GMG calls IAssemble::ass_tuner(), and then uses set_force_regular_grid() on it, this call must be handed down to the individual time discs here.

Member Function Documentation

◆ add_ass_tuner()

template<typename TAlgebra >
void ug::CompositeTimeDiscretization< TAlgebra >::CompositeAssTuner::add_ass_tuner ( SmartPtr< AssemblingTuner< TAlgebra > >  assTuner)
inline

◆ set_force_regular_grid()

template<typename TAlgebra >
void ug::CompositeTimeDiscretization< TAlgebra >::CompositeAssTuner::set_force_regular_grid ( bool  bForce)
inlinevirtual

forces the assembling to consider the grid as regular

Reimplemented from ug::AssemblingTuner< TAlgebra >.

References ug::CompositeTimeDiscretization< TAlgebra >::CompositeAssTuner::m_vAssTuner.

Member Data Documentation

◆ m_vAssTuner


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