Flow123d
JB-rel-int-test-e002029
|
#include <assembly_base.hh>
Inherited by AssemblyObserveOutput< dim >, AssemblyOutputBase< dim >, BdrConditionAssemblyDG< dim, Model >, ConcSourcesBdrAssemblyConvection< dim >, ConstraintAssemblyElasticity< dim >, FlowPotentialAssemblyHM< dim >, InitCondAssemblyConvection< dim >, InitCondPostprocessAssembly< dim >, InitConditionAssemblyDG< dim, Model >, InitConditionAssemblyDp< dim >, InitConditionAssemblySorp< dim >, InitProjectionAssemblyDG< dim, Model >, L2DifferenceAssembly< dim >, MHMatrixAssemblyLMH< dim >, MassAssemblyConvection< dim >, MassAssemblyDG< dim, Model >, MatrixMpiAssemblyConvection< dim >, OutpuFieldsAssemblyElasticity< dim >, OutputInternalFlowAssembly< dim >, ReactionAssemblyDp< dim >, ReactionAssemblySorp< dim >, ReadInitCondAssemblyLMH< dim >, ResidualAssemblyHM< dim >, RhsAssemblyElasticity< dim >, SourcesAssemblyDG< dim, Model >, StiffnessAssemblyDG< dim, Model >, and StiffnessAssemblyElasticity< dim >.
Classes | |
struct | DimIntegrals |
Set of integral of given dimension necessary in assemblation. More... | |
Public Member Functions | |
AssemblyBase (unsigned int quad_order) | |
Constructor. More... | |
virtual | ~AssemblyBase () |
Destructor. More... | |
virtual void | cell_integral (FMT_UNUSED DHCellAccessor cell, FMT_UNUSED unsigned int element_patch_idx) |
Assembles the volume integrals on cell. More... | |
virtual void | boundary_side_integral (FMT_UNUSED DHCellSide cell_side) |
Assembles the fluxes on the boundary. More... | |
virtual void | edge_integral (FMT_UNUSED RangeConvert< DHEdgeSide, DHCellSide > edge_side_range) |
Assembles the fluxes between sides on the edge. More... | |
virtual void | dimjoin_intergral (FMT_UNUSED DHCellAccessor cell_lower_dim, FMT_UNUSED DHCellSide neighb_side) |
Assembles the fluxes between elements of different dimensions. More... | |
virtual void | begin () |
Method prepares object before assemblation (e.g. balance, ...). More... | |
virtual void | end () |
Method finishes object after assemblation (e.g. balance, ...). More... | |
int | n_active_integrals () const |
Getter of active_integrals. More... | |
void | create_integrals (std::shared_ptr< EvalPoints > eval_points, AssemblyIntegrals &integrals) |
Create integrals according to dim of assembly object. More... | |
Range< BulkPoint > | bulk_points (unsigned int element_patch_idx) const |
Return BulkPoint range of appropriate dimension. More... | |
Range< EdgePoint > | edge_points (const DHCellSide &cell_side) const |
Return EdgePoint range of appropriate dimension. More... | |
Range< CouplingPoint > | coupling_points (const DHCellSide &cell_side) const |
Return CouplingPoint range of appropriate dimension. More... | |
Range< BoundaryPoint > | boundary_points (const DHCellSide &cell_side) const |
Return BoundaryPoint range of appropriate dimension. More... | |
virtual void | assemble_cell_integrals (const RevertableList< BulkIntegralData > &bulk_integral_data) |
Assembles the cell integrals for the given dimension. More... | |
void | assemble_boundary_side_integrals (const RevertableList< BoundaryIntegralData > &boundary_integral_data) |
Assembles the boundary side integrals for the given dimension. More... | |
void | assemble_edge_integrals (const RevertableList< EdgeIntegralData > &edge_integral_data) |
Assembles the edge integrals for the given dimension. More... | |
void | assemble_neighbour_integrals (const RevertableList< CouplingIntegralData > &coupling_integral_data) |
Assembles the neighbours integrals for the given dimension. More... | |
Protected Member Functions | |
AssemblyBase () | |
std::string | print_update_flags (UpdateFlags u) const |
Print update flags to string format. More... | |
Protected Attributes | |
Quadrature * | quad_ |
Quadrature used in assembling methods. More... | |
Quadrature * | quad_low_ |
Quadrature used in assembling methods (dim-1). More... | |
int | active_integrals_ |
Holds mask of active integrals. More... | |
DimIntegrals | integrals_ |
Set of used integrals. More... | |
ElementCacheMap * | element_cache_map_ |
ElementCacheMap shared with GenericAssembly object. More... | |
Base class define empty methods, these methods can be overwite in descendants.
Definition at line 34 of file assembly_base.hh.
typedef GenericAssemblyBase::BoundaryIntegralData AssemblyBase< dim >::BoundaryIntegralData |
Definition at line 40 of file assembly_base.hh.
typedef GenericAssemblyBase::BulkIntegralData AssemblyBase< dim >::BulkIntegralData |
Definition at line 37 of file assembly_base.hh.
typedef GenericAssemblyBase::CouplingIntegralData AssemblyBase< dim >::CouplingIntegralData |
Definition at line 39 of file assembly_base.hh.
typedef GenericAssemblyBase::EdgeIntegralData AssemblyBase< dim >::EdgeIntegralData |
Definition at line 38 of file assembly_base.hh.
|
inline |
Constructor.
Definition at line 43 of file assembly_base.hh.
|
inlinevirtual |
Destructor.
Definition at line 49 of file assembly_base.hh.
|
inlineprotected |
Default constructor.
Be aware if you use this constructor. Quadrature objects must be initialized manually in descendant.
Definition at line 179 of file assembly_base.hh.
|
inline |
Assembles the boundary side integrals for the given dimension.
Definition at line 141 of file assembly_base.hh.
|
inlinevirtual |
Assembles the cell integrals for the given dimension.
Reimplemented in AssemblyObserveOutput< dim >, AssemblyOutputNodeData< dim >, and AssemblyOutputElemData< dim >.
Definition at line 127 of file assembly_base.hh.
|
inline |
Assembles the edge integrals for the given dimension.
Definition at line 149 of file assembly_base.hh.
|
inline |
Assembles the neighbours integrals for the given dimension.
Definition at line 158 of file assembly_base.hh.
|
inlinevirtual |
Method prepares object before assemblation (e.g. balance, ...).
Reimplemented in BdrConditionAssemblyDG< dim, Model >, SourcesAssemblyDG< dim, Model >, MassAssemblyDG< dim, Model >, MatrixMpiAssemblyConvection< dim >, ConcSourcesBdrAssemblyConvection< dim >, MassAssemblyConvection< dim >, ReconstructSchurAssemblyRichards< dim >, MHMatrixAssemblyRichards< dim >, InitCondPostprocessAssembly< dim >, ReconstructSchurAssemblyLMH< dim >, MHMatrixAssemblyLMH< dim >, OutputInternalFlowAssembly< dim >, and L2DifferenceAssembly< dim >.
Definition at line 67 of file assembly_base.hh.
|
inline |
Return BoundaryPoint range of appropriate dimension.
Definition at line 121 of file assembly_base.hh.
|
inlinevirtual |
Assembles the fluxes on the boundary.
Reimplemented in ReconstructSchurAssemblyRichards< dim >, and ReconstructSchurAssemblyLMH< dim >.
Definition at line 58 of file assembly_base.hh.
|
inline |
Return BulkPoint range of appropriate dimension.
Definition at line 104 of file assembly_base.hh.
|
inlinevirtual |
Assembles the volume integrals on cell.
Definition at line 55 of file assembly_base.hh.
|
inline |
Return CouplingPoint range of appropriate dimension.
Definition at line 115 of file assembly_base.hh.
|
inline |
Create integrals according to dim of assembly object.
Definition at line 78 of file assembly_base.hh.
|
inlinevirtual |
Assembles the fluxes between elements of different dimensions.
Reimplemented in ReconstructSchurAssemblyRichards< dim >, and ReconstructSchurAssemblyLMH< dim >.
Definition at line 64 of file assembly_base.hh.
|
inlinevirtual |
Assembles the fluxes between sides on the edge.
Definition at line 61 of file assembly_base.hh.
|
inline |
Return EdgePoint range of appropriate dimension.
Definition at line 109 of file assembly_base.hh.
|
inlinevirtual |
Method finishes object after assemblation (e.g. balance, ...).
Reimplemented in BdrConditionAssemblyDG< dim, Model >, SourcesAssemblyDG< dim, Model >, MassAssemblyDG< dim, Model >, MatrixMpiAssemblyConvection< dim >, ConcSourcesBdrAssemblyConvection< dim >, MassAssemblyConvection< dim >, ReconstructSchurAssemblyRichards< dim >, MHMatrixAssemblyRichards< dim >, InitCondPostprocessAssembly< dim >, ReconstructSchurAssemblyLMH< dim >, MHMatrixAssemblyLMH< dim >, ReadInitCondAssemblyLMH< dim >, OutputInternalFlowAssembly< dim >, L2DifferenceAssembly< dim >, and AssemblyOutputBase< dim >.
Definition at line 70 of file assembly_base.hh.
|
inline |
Getter of active_integrals.
Definition at line 73 of file assembly_base.hh.
|
inlineprotected |
Print update flags to string format.
Definition at line 183 of file assembly_base.hh.
|
protected |
Holds mask of active integrals.
Definition at line 191 of file assembly_base.hh.
|
protected |
ElementCacheMap shared with GenericAssembly object.
Definition at line 193 of file assembly_base.hh.
|
protected |
Set of used integrals.
Definition at line 192 of file assembly_base.hh.
|
protected |
Quadrature used in assembling methods.
Definition at line 189 of file assembly_base.hh.
|
protected |
Quadrature used in assembling methods (dim-1).
Definition at line 190 of file assembly_base.hh.