Flow123d
JB-rel-int-test-ea53151
|
Generic class of assemblation. More...
#include <generic_assembly.hh>
Public Member Functions | |
GenericAssembly (typename DimAssembly< 1 >::EqFields *eq_fields, typename DimAssembly< 1 >::EqData *eq_data) | |
Constructor. More... | |
MixedPtr< DimAssembly, 1 > | multidim_assembly () const |
Getter to set of assembly objects. More... | |
void | set_min_edge_sides (unsigned int val) |
void | assemble (std::shared_ptr< DOFHandlerMultiDim > dh) override |
General assemble methods. More... | |
const ElementCacheMap & | cache_map () const |
Return ElementCacheMap. More... | |
Public Member Functions inherited from GenericAssemblyBase | |
GenericAssemblyBase () | |
virtual | ~GenericAssemblyBase () |
std::shared_ptr< EvalPoints > | eval_points () const |
Getter to EvalPoints object. More... | |
Private Member Functions | |
void | assemble_integrals () |
Call assemblations when patch is filled. More... | |
void | add_integrals_of_computing_step (DHCellAccessor cell) |
void | add_volume_integral (const DHCellAccessor &cell) |
Add data of volume integral to appropriate data structure. More... | |
void | add_edge_integral (const DHCellSide &cell_side) |
Add data of edge integral to appropriate data structure. More... | |
void | add_coupling_integral (const DHCellAccessor &cell, const DHCellSide &ngh_side, bool add_low) |
Add data of coupling integral to appropriate data structure. More... | |
void | add_boundary_integral (const DHCellSide &bdr_side) |
Add data of boundary integral to appropriate data structure. More... | |
void | reallocate_cache () |
Calls cache_reallocate method on. More... | |
Private Attributes | |
MixedPtr< DimAssembly, 1 > | multidim_assembly_ |
Assembly object. More... | |
int | active_integrals_ |
Holds mask of active integrals. More... | |
unsigned int | min_edge_sides_ |
RevertableList< BulkIntegralData > | bulk_integral_data_ |
Holds data for computing bulk integrals. More... | |
RevertableList< EdgeIntegralData > | edge_integral_data_ |
Holds data for computing edge integrals. More... | |
RevertableList< CouplingIntegralData > | coupling_integral_data_ |
Holds data for computing couplings integrals. More... | |
RevertableList< BoundaryIntegralData > | boundary_integral_data_ |
Holds data for computing boundary integrals. More... | |
Additional Inherited Members | |
Protected Attributes inherited from GenericAssemblyBase | |
AssemblyIntegrals | integrals_ |
Holds integral objects. More... | |
std::shared_ptr< EvalPoints > | eval_points_ |
EvalPoints object shared by all integrals. More... | |
ElementCacheMap | element_cache_map_ |
ElementCacheMap according to EvalPoints. More... | |
Generic class of assemblation.
Class
Definition at line 170 of file generic_assembly.hh.
|
inline |
Constructor.
Definition at line 174 of file generic_assembly.hh.
|
inlineprivate |
Add data of boundary integral to appropriate data structure.
Definition at line 394 of file generic_assembly.hh.
|
inlineprivate |
Add data of coupling integral to appropriate data structure.
Definition at line 377 of file generic_assembly.hh.
|
inlineprivate |
Add data of edge integral to appropriate data structure.
Definition at line 364 of file generic_assembly.hh.
|
inlineprivate |
Add data of integrals to appropriate structure and register elements to ElementCacheMap.
Types of used integrals must be set in data member active_integrals_
.
Definition at line 320 of file generic_assembly.hh.
|
inlineprivate |
Add data of volume integral to appropriate data structure.
Definition at line 350 of file generic_assembly.hh.
|
inlineoverridevirtual |
General assemble methods.
Loops through local cells and calls assemble methods of assembly object of each cells over space dimension.
TODO:
Implements GenericAssemblyBase.
Definition at line 214 of file generic_assembly.hh.
|
inlineprivate |
Call assemblations when patch is filled.
Definition at line 268 of file generic_assembly.hh.
|
inline |
Return ElementCacheMap.
Definition at line 262 of file generic_assembly.hh.
|
inline |
Getter to set of assembly objects.
Definition at line 195 of file generic_assembly.hh.
|
inlineprivate |
Calls cache_reallocate method on.
Definition at line 410 of file generic_assembly.hh.
|
inline |
|
private |
Holds mask of active integrals.
Definition at line 420 of file generic_assembly.hh.
|
private |
Holds data for computing boundary integrals.
Definition at line 435 of file generic_assembly.hh.
|
private |
Holds data for computing bulk integrals.
Definition at line 432 of file generic_assembly.hh.
|
private |
Holds data for computing couplings integrals.
Definition at line 434 of file generic_assembly.hh.
|
private |
Holds data for computing edge integrals.
Definition at line 433 of file generic_assembly.hh.
|
private |
Minimal number of sides on edge.
Edge integral is created and calculated if number of sides is greater or equal than this value. Default value is 2 and can be changed
Definition at line 428 of file generic_assembly.hh.
|
private |
Assembly object.
Definition at line 417 of file generic_assembly.hh.