Flow123d  JS_before_hm-1008-g3dab983
Public Types | Public Member Functions | Protected Member Functions | Static Protected Member Functions | Protected Attributes | List of all members
AssemblyMH< dim > Class Template Reference

#include <assembly_mh.hh>

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

Public Types

typedef std::shared_ptr< DarcyMH::EqDataAssemblyDataPtrMH
 

Public Member Functions

 AssemblyMH (AssemblyDataPtrMH data)
 
void assemble_reconstruct (const DHCellAccessor &) override
 
void update_water_content (const DHCellAccessor &) override
 Updates water content in Richards. More...
 
 ~AssemblyMH () override
 
void fix_velocity (const DHCellAccessor &dh_cell) override
 
void assemble (const DHCellAccessor &dh_cell) override
 
void assembly_local_vb (ElementAccessor< 3 > ele, DHCellSide neighb_side)
 
- 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 set_dofs_and_bc (const DHCellAccessor &dh_cell)
 
void assemble_sides (const DHCellAccessor &dh_cell)
 
void assemble_sides_scale (const DHCellAccessor &dh_cell, double scale)
 
void assemble_element (const DHCellAccessor &)
 
void assembly_dim_connections (const DHCellAccessor &dh_cell)
 
void add_fluxes_in_balance_matrix (const DHCellAccessor &dh_cell)
 

Static Protected Member Functions

static unsigned int size ()
 

Protected Attributes

FE_RT0< dim > fe_rt_
 
QGauss quad_
 
FEValues< 3 > fe_values_
 
NeighSideValues< (dim< 3)?dim:2 > ngh_values_
 
QGauss velocity_interpolation_quad_
 
FEValues< 3 > velocity_interpolation_fv_
 
AssemblyDataPtrMH ad_
 
std::vector< unsigned int > dirichlet_edge
 
LocalSystem loc_system_
 
LocalSystem loc_system_vb_
 
std::vector< unsigned int > loc_side_dofs
 
std::vector< unsigned int > loc_edge_dofs
 
unsigned int loc_ele_dof
 
std::shared_ptr< MortarAssemblyBasemortar_assembly
 
std::vector< LongIdxglobal_dofs_
 
LocDofVec local_dofs_
 
- 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 AssemblyMH< dim >

MH version of Darcy flow assembly. It is supposed not to be improved anymore, however it is kept functioning aside of the LMH lumped version until the LMH version is stable and optimized.

Definition at line 85 of file assembly_mh.hh.

Member Typedef Documentation

template<int dim>
typedef std::shared_ptr<DarcyMH::EqData> AssemblyMH< dim >::AssemblyDataPtrMH

Definition at line 88 of file assembly_mh.hh.

Constructor & Destructor Documentation

template<int dim>
AssemblyMH< dim >::AssemblyMH ( AssemblyDataPtrMH  data)
inline

Definition at line 90 of file assembly_mh.hh.

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

Definition at line 146 of file assembly_mh.hh.

Member Function Documentation

template<int dim>
void AssemblyMH< dim >::add_fluxes_in_balance_matrix ( const DHCellAccessor dh_cell)
inlineprotected

Definition at line 478 of file assembly_mh.hh.

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

Implements AssemblyBase< dim >.

Definition at line 158 of file assembly_mh.hh.

template<int dim>
void AssemblyMH< dim >::assemble_element ( const DHCellAccessor )
inlineprotected

Definition at line 416 of file assembly_mh.hh.

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

Implements AssemblyBase< dim >.

Definition at line 141 of file assembly_mh.hh.

template<int dim>
void AssemblyMH< dim >::assemble_sides ( const DHCellAccessor dh_cell)
inlineprotected

Definition at line 354 of file assembly_mh.hh.

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

Definition at line 364 of file assembly_mh.hh.

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

Definition at line 432 of file assembly_mh.hh.

template<int dim>
void AssemblyMH< dim >::assembly_local_vb ( ElementAccessor< 3 >  ele,
DHCellSide  neighb_side 
)
inline

Definition at line 180 of file assembly_mh.hh.

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

Implements AssemblyBase< dim >.

Definition at line 152 of file assembly_mh.hh.

template<int dim>
void AssemblyMH< dim >::set_dofs_and_bc ( const DHCellAccessor dh_cell)
inlineprotected

Definition at line 212 of file assembly_mh.hh.

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

Definition at line 206 of file assembly_mh.hh.

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

Updates water content in Richards.

Implements AssemblyBase< dim >.

Definition at line 143 of file assembly_mh.hh.

Member Data Documentation

template<int dim>
AssemblyDataPtrMH AssemblyMH< dim >::ad_
protected

Definition at line 504 of file assembly_mh.hh.

template<int dim>
std::vector<unsigned int> AssemblyMH< dim >::dirichlet_edge
protected

Definition at line 505 of file assembly_mh.hh.

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

Definition at line 493 of file assembly_mh.hh.

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

Definition at line 495 of file assembly_mh.hh.

template<int dim>
std::vector<LongIdx> AssemblyMH< dim >::global_dofs_
protected

Definition at line 515 of file assembly_mh.hh.

template<int dim>
std::vector<unsigned int> AssemblyMH< dim >::loc_edge_dofs
protected

Definition at line 510 of file assembly_mh.hh.

template<int dim>
unsigned int AssemblyMH< dim >::loc_ele_dof
protected

Definition at line 511 of file assembly_mh.hh.

template<int dim>
std::vector<unsigned int> AssemblyMH< dim >::loc_side_dofs
protected

Definition at line 509 of file assembly_mh.hh.

template<int dim>
LocalSystem AssemblyMH< dim >::loc_system_
protected

Definition at line 507 of file assembly_mh.hh.

template<int dim>
LocalSystem AssemblyMH< dim >::loc_system_vb_
protected

Definition at line 508 of file assembly_mh.hh.

template<int dim>
LocDofVec AssemblyMH< dim >::local_dofs_
protected

Definition at line 516 of file assembly_mh.hh.

template<int dim>
std::shared_ptr<MortarAssemblyBase> AssemblyMH< dim >::mortar_assembly
protected

Definition at line 513 of file assembly_mh.hh.

template<int dim>
NeighSideValues< (dim<3) ? dim : 2> AssemblyMH< dim >::ngh_values_
protected

Definition at line 497 of file assembly_mh.hh.

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

Definition at line 494 of file assembly_mh.hh.

template<int dim>
FEValues<3> AssemblyMH< dim >::velocity_interpolation_fv_
protected

Definition at line 501 of file assembly_mh.hh.

template<int dim>
QGauss AssemblyMH< dim >::velocity_interpolation_quad_
protected

Definition at line 500 of file assembly_mh.hh.


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