Flow123d
JS_before_hm-1598-g3b021b4
|
#include <assembly_base.hh>
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 () |
void | cell_integral (FMT_UNUSED DHCellAccessor cell, FMT_UNUSED unsigned int element_patch_idx) |
Assembles the volume integrals on cell. More... | |
void | boundary_side_integral (FMT_UNUSED DHCellSide cell_side) |
Assembles the fluxes on the boundary. More... | |
void | edge_integral (FMT_UNUSED RangeConvert< DHEdgeSide, DHCellSide > edge_side_range) |
Assembles the fluxes between sides on the edge. More... | |
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 | fix_velocity (const DHCellAccessor &dh_cell)=0 |
virtual void | assemble (const DHCellAccessor &dh_cell)=0 |
virtual void | assemble_reconstruct (const DHCellAccessor &dh_cell)=0 |
virtual void | update_water_content (const DHCellAccessor &dh_cell)=0 |
Updates water content in Richards. More... | |
virtual | ~AssemblyBase () |
Static Public Member Functions | |
template<template< int dim > class Impl, class Data > | |
static MultidimAssembly | create (Data data) |
Protected Member Functions | |
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.
Common abstract class for the assembly routines in Darcy flow. Is implemented in DarcyMH, DarcyLMH and RichardsLMH assembly classes, which are independent of each other.
Definition at line 34 of file assembly_base.hh.
|
inline |
Constructor.
Definition at line 38 of file assembly_base.hh.
|
inlinevirtual |
Definition at line 44 of file assembly_base.hh.
|
inlinevirtual |
Definition at line 58 of file assembly_mh.hh.
|
pure virtual |
Implemented in AssemblyMH< dim >, and AssemblyLMH< dim >.
|
pure virtual |
Implemented in AssemblyMH< dim >, and AssemblyLMH< dim >.
|
inlinevirtual |
Method prepares object before assemblation (e.g. balance, ...).
Reimplemented in BdrConditionAssemblyDG< dim, Model >, SourcesAssemblyDG< dim, Model >, and MassAssemblyDG< dim, Model >.
Definition at line 62 of file assembly_base.hh.
|
inline |
Return BoundaryPoint range of appropriate dimension.
Definition at line 110 of file assembly_base.hh.
|
inline |
Assembles the fluxes on the boundary.
Definition at line 53 of file assembly_base.hh.
|
inline |
Return BulkPoint range of appropriate dimension.
Definition at line 93 of file assembly_base.hh.
|
inline |
Assembles the volume integrals on cell.
Definition at line 50 of file assembly_base.hh.
|
inline |
Return CouplingPoint range of appropriate dimension.
Definition at line 104 of file assembly_base.hh.
|
inlinestatic |
Generic creator of multidimensional assembly, i.e. vector of particular assembly objects.
Definition at line 52 of file assembly_mh.hh.
|
inline |
Create integrals according to dim of assembly object.
Definition at line 73 of file assembly_base.hh.
|
inline |
Assembles the fluxes between elements of different dimensions.
Definition at line 59 of file assembly_base.hh.
|
inline |
Assembles the fluxes between sides on the edge.
Definition at line 56 of file assembly_base.hh.
|
inline |
Return EdgePoint range of appropriate dimension.
Definition at line 98 of file assembly_base.hh.
|
inlinevirtual |
Method finishes object after assemblation (e.g. balance, ...).
Reimplemented in BdrConditionAssemblyDG< dim, Model >, SourcesAssemblyDG< dim, Model >, and MassAssemblyDG< dim, Model >.
Definition at line 65 of file assembly_base.hh.
|
pure virtual |
Implemented in AssemblyMH< dim >, and AssemblyLMH< dim >.
|
inline |
Getter of active_integrals.
Definition at line 68 of file assembly_base.hh.
|
inlineprotected |
Print update flags to string format.
Definition at line 125 of file assembly_base.hh.
|
pure virtual |
Updates water content in Richards.
Implemented in AssemblyMH< dim >, AssemblyLMH< dim >, and AssemblyRichards< dim >.
|
protected |
Holds mask of active integrals.
Definition at line 133 of file assembly_base.hh.
|
protected |
ElementCacheMap shared with GenericAssembly object.
Definition at line 135 of file assembly_base.hh.
|
protected |
Set of used integrals.
Definition at line 134 of file assembly_base.hh.
|
protected |
Quadrature used in assembling methods.
Definition at line 131 of file assembly_base.hh.
|
protected |
Quadrature used in assembling methods (dim-1).
Definition at line 132 of file assembly_base.hh.