Flow123d  JS_before_hm-989-g79825ac
Public Types | Public Member Functions | Protected Member Functions | Static Protected Member Functions | Protected Attributes | List of all members
AssemblyLMH< dim > Class Template Reference

#include <assembly_lmh.hh>

Inheritance diagram for AssemblyLMH< dim >:
Inheritance graph
[legend]
Collaboration diagram for AssemblyLMH< dim >:
Collaboration graph
[legend]

Public Types

typedef std::shared_ptr< DarcyLMH::EqDataAssemblyDataPtrLMH
 

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 >
virtual ~AssemblyBase ()
 
 AssemblyBase (unsigned int quad_order)
 Constructor. More...
 
virtual ~AssemblyBase ()
 
virtual void assemble_volume_integrals (FMT_UNUSED DHCellAccessor cell)
 Assembles the volume integrals on cell. More...
 
virtual void assemble_fluxes_boundary (FMT_UNUSED DHCellSide cell_side)
 Assembles the fluxes on the boundary. More...
 
virtual void assemble_fluxes_element_element (FMT_UNUSED RangeConvert< DHEdgeSide, DHCellSide > edge_side_range)
 Assembles the fluxes between sides on the edge. More...
 
virtual void assemble_fluxes_element_side (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...
 
void create_integrals (std::shared_ptr< EvalPoints > eval_points, AssemblyIntegrals &integrals, int active_integrals)
 Create integrals according to dim of assembly object. More...
 

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)
 

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 >
Quadraturequad_
 Quadrature used in assembling methods. More...
 
Quadraturequad_low_
 Quadrature used in assembling methods (dim-1). 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)
 

Detailed Description

template<int dim>
class AssemblyLMH< dim >

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.

Member Typedef Documentation

template<int dim>
typedef std::shared_ptr<DarcyLMH::EqData> AssemblyLMH< dim >::AssemblyDataPtrLMH

Definition at line 42 of file assembly_lmh.hh.

Constructor & Destructor Documentation

template<int dim>
AssemblyLMH< dim >::AssemblyLMH ( AssemblyDataPtrLMH  data)
inline

Definition at line 44 of file assembly_lmh.hh.

template<int dim>
AssemblyLMH< dim >::~AssemblyLMH ( )
inlineoverride

Definition at line 75 of file assembly_lmh.hh.

Member Function Documentation

template<int dim>
void AssemblyLMH< dim >::assemble ( const DHCellAccessor dh_cell)
inlineoverridevirtual

Implements AssemblyBase< dim >.

Definition at line 107 of file assembly_lmh.hh.

template<int dim>
void AssemblyLMH< dim >::assemble_bc ( const DHCellAccessor dh_cell,
bool  use_dirichlet_switch 
)
inlineprotected

Definition at line 231 of file assembly_lmh.hh.

Here is the caller graph for this function:

template<int dim>
void AssemblyLMH< dim >::assemble_element ( FMT_UNUSED const DHCellAccessor dh_cell)
inlineprotected

Definition at line 432 of file assembly_lmh.hh.

Here is the caller graph for this function:

template<int dim>
void AssemblyLMH< dim >::assemble_local_system ( const DHCellAccessor dh_cell,
bool  use_dirichlet_switch 
)
inlineprotected

Definition at line 137 of file assembly_lmh.hh.

Here is the caller graph for this function:

template<int dim>
void AssemblyLMH< dim >::assemble_reconstruct ( const DHCellAccessor dh_cell)
inlineoverridevirtual

Implements AssemblyBase< dim >.

Definition at line 84 of file assembly_lmh.hh.

template<int dim>
void AssemblyLMH< dim >::assemble_side_bc ( const DHCellSide side,
double  cross_section,
bool  use_dirichlet_switch 
)
inlineprotected

Definition at line 256 of file assembly_lmh.hh.

Here is the caller graph for this function:

template<int dim>
virtual void AssemblyLMH< dim >::assemble_sides ( const DHCellAccessor dh_cell)
inlineprotectedvirtual

Reimplemented in AssemblyRichards< dim >.

Definition at line 370 of file assembly_lmh.hh.

Here is the caller graph for this function:

template<int dim>
void AssemblyLMH< dim >::assemble_sides_scale ( const DHCellAccessor dh_cell,
double  scale 
)
inlineprotected

Definition at line 380 of file assembly_lmh.hh.

Here is the caller graph for this function:

template<int dim>
virtual void AssemblyLMH< dim >::assemble_source_term ( const DHCellAccessor dh_cell)
inlineprotectedvirtual

Reimplemented in AssemblyRichards< dim >.

Definition at line 447 of file assembly_lmh.hh.

Here is the caller graph for this function:

template<int dim>
void AssemblyLMH< dim >::assembly_dim_connections ( const DHCellAccessor dh_cell)
inlineprotected

Definition at line 491 of file assembly_lmh.hh.

Here is the caller graph for this function:

template<int dim>
void AssemblyLMH< dim >::fix_velocity ( const DHCellAccessor )
inlineoverridevirtual

Implements AssemblyBase< dim >.

Definition at line 78 of file assembly_lmh.hh.

template<int dim>
void AssemblyLMH< dim >::load_local_system ( const DHCellAccessor dh_cell)
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 153 of file assembly_lmh.hh.

Here is the caller graph for this function:

template<int dim>
void AssemblyLMH< dim >::postprocess_velocity ( const DHCellAccessor dh_cell,
arma::vec &  solution 
)
inlineprotected

Definition at line 535 of file assembly_lmh.hh.

Here is the caller graph for this function:

template<int dim>
virtual void AssemblyLMH< dim >::postprocess_velocity_specific ( const DHCellAccessor dh_cell,
arma::vec &  solution,
double  edge_scale,
double  edge_source_term 
)
inlineprotectedvirtual

Reimplemented in AssemblyRichards< dim >.

Definition at line 550 of file assembly_lmh.hh.

Here is the caller graph for this function:

template<int dim>
void AssemblyLMH< dim >::save_local_system ( const DHCellAccessor dh_cell)
inlineprotected

Saves the local system to a map: element index -> LocalSystem. Currently used only for seepage BC.

Definition at line 176 of file assembly_lmh.hh.

Here is the caller graph for this function:

template<int dim>
void AssemblyLMH< dim >::set_dofs ( const DHCellAccessor dh_cell)
inlineprotected

Definition at line 184 of file assembly_lmh.hh.

Here is the caller graph for this function:

template<int dim>
static unsigned int AssemblyLMH< dim >::size ( )
inlinestaticprotected

Definition at line 131 of file assembly_lmh.hh.

Here is the caller graph for this function:

template<int dim>
void AssemblyLMH< dim >::update_water_content ( const DHCellAccessor dh_cell)
inlineoverridevirtual

Updates water content in Richards.

Implements AssemblyBase< dim >.

Reimplemented in AssemblyRichards< dim >.

Definition at line 127 of file assembly_lmh.hh.

Member Data Documentation

template<int dim>
FE_RT0<dim> AssemblyLMH< dim >::fe_rt_
protected

Definition at line 572 of file assembly_lmh.hh.

template<int dim>
FEValues<3> AssemblyLMH< dim >::fe_values_
protected

Definition at line 574 of file assembly_lmh.hh.

template<int dim>
QGauss AssemblyLMH< dim >::quad_
protected

Definition at line 573 of file assembly_lmh.hh.


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