Flow123d
JS_before_hm-1972-g3b0f4cd6d
|
#include <assembly_lmh.hh>
Public Types | |
typedef std::shared_ptr< DarcyLMH::EqData > | AssemblyDataPtrLMH |
Public Types inherited from AssemblyBase< dim > | |
typedef GenericAssemblyBase::BulkIntegralData | BulkIntegralData |
typedef GenericAssemblyBase::EdgeIntegralData | EdgeIntegralData |
typedef GenericAssemblyBase::CouplingIntegralData | CouplingIntegralData |
typedef GenericAssemblyBase::BoundaryIntegralData | BoundaryIntegralData |
Public Member Functions | |
AssemblyLMH (AssemblyDataPtrLMH data) | |
~AssemblyLMH () override | |
void | fix_velocity (const DHCellAccessor &) override |
void | assemble_reconstruct (const DHCellAccessor &dh_cell) override |
void | assemble (const DHCellAccessor &dh_cell) override |
void | update_water_content (const DHCellAccessor &) override |
Updates water content in Richards. More... | |
Public Member Functions inherited from AssemblyBase< dim > | |
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... | |
DECLARE_EXCEPTION (ExcBCNotSupported,<< "BC type not supported.\n") | |
virtual | ~AssemblyBase () |
Protected Member Functions | |
void | assemble_local_system (const DHCellAccessor &dh_cell, bool use_dirichlet_switch) |
void | load_local_system (const DHCellAccessor &dh_cell) |
void | save_local_system (const DHCellAccessor &dh_cell) |
void | set_dofs (const DHCellAccessor &dh_cell) |
void | assemble_bc (const DHCellAccessor &dh_cell, bool use_dirichlet_switch) |
void | assemble_side_bc (const DHCellSide &side, double cross_section, bool use_dirichlet_switch) |
virtual void | assemble_sides (const DHCellAccessor &dh_cell) |
void | assemble_sides_scale (const DHCellAccessor &dh_cell, double scale) |
void | assemble_element (FMT_UNUSED const DHCellAccessor &dh_cell) |
virtual void | assemble_source_term (const DHCellAccessor &dh_cell) |
void | assembly_dim_connections (const DHCellAccessor &dh_cell) |
void | postprocess_velocity (const DHCellAccessor &dh_cell, arma::vec &solution) |
virtual void | postprocess_velocity_specific (const DHCellAccessor &dh_cell, arma::vec &solution, double edge_scale, double edge_source_term) |
Protected Member Functions inherited from AssemblyBase< dim > | |
AssemblyBase () | |
std::string | print_update_flags (UpdateFlags u) const |
Print update flags to string format. More... | |
Static Protected Member Functions | |
static unsigned int | size () |
Protected Attributes | |
FE_RT0< dim > | fe_rt_ |
QGauss | quad_ |
FEValues< 3 > | fe_values_ |
Protected Attributes inherited from AssemblyBase< dim > | |
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... | |
Additional Inherited Members | |
Static Public Member Functions inherited from AssemblyBase< dim > | |
template<template< int dim > class Impl, class Data > | |
static MultidimAssembly | create (Data data) |
Copy of the assembly class for MH implementation, with Lumping and further improvements. Used also for Richards.
Definition at line 39 of file assembly_lmh.hh.
typedef std::shared_ptr<DarcyLMH::EqData> AssemblyLMH< dim >::AssemblyDataPtrLMH |
Definition at line 42 of file assembly_lmh.hh.
|
inline |
Definition at line 44 of file assembly_lmh.hh.
|
inlineoverride |
Definition at line 76 of file assembly_lmh.hh.
|
inlineoverridevirtual |
Implements AssemblyBase< dim >.
Definition at line 108 of file assembly_lmh.hh.
|
inlineprotected |
|
inlineprotected |
|
inlineprotected |
|
inlineoverridevirtual |
Implements AssemblyBase< dim >.
Definition at line 85 of file assembly_lmh.hh.
|
inlineprotected |
|
inlineprotectedvirtual |
Reimplemented in AssemblyRichards< dim >.
Definition at line 371 of file assembly_lmh.hh.
|
inlineprotected |
|
inlineprotectedvirtual |
Reimplemented in AssemblyRichards< dim >.
Definition at line 448 of file assembly_lmh.hh.
|
inlineprotected |
|
inlineoverridevirtual |
Implements AssemblyBase< dim >.
Definition at line 79 of file assembly_lmh.hh.
|
inlineprotected |
Loads the local system from a map: element index -> LocalSystem, if it exits, or if the full solution is not yet reconstructed, and reconstructs the full solution on the element. Currently used only for seepage BC.
Definition at line 154 of file assembly_lmh.hh.
|
inlineprotected |
|
inlineprotectedvirtual |
Reimplemented in AssemblyRichards< dim >.
Definition at line 558 of file assembly_lmh.hh.
|
inlineprotected |
Saves the local system to a map: element index -> LocalSystem. Currently used only for seepage BC.
Definition at line 177 of file assembly_lmh.hh.
|
inlineprotected |
|
inlinestaticprotected |
|
inlineoverridevirtual |
Updates water content in Richards.
Implements AssemblyBase< dim >.
Reimplemented in AssemblyRichards< dim >.
Definition at line 128 of file assembly_lmh.hh.
|
protected |
Definition at line 580 of file assembly_lmh.hh.
|
protected |
Definition at line 582 of file assembly_lmh.hh.
|
protected |
Definition at line 581 of file assembly_lmh.hh.