Flow123d  JS_before_hm-1881-gd692239a6
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 >
 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< BulkPointbulk_points (unsigned int element_patch_idx) const
 Return BulkPoint range of appropriate dimension. More...
 
Range< EdgePointedge_points (const DHCellSide &cell_side) const
 Return EdgePoint range of appropriate dimension. More...
 
Range< CouplingPointcoupling_points (const DHCellSide &cell_side) const
 Return CouplingPoint range of appropriate dimension. More...
 
Range< BoundaryPointboundary_points (const DHCellSide &cell_side) const
 Return BoundaryPoint range of appropriate dimension. More...
 
 DECLARE_EXCEPTION (ExcBCNotSupported,<< "BC type not supported.\n")
 
virtual ~AssemblyBase ()
 

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)
 
- Protected Member Functions inherited from AssemblyBase< dim >
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_
 
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...
 
int active_integrals_
 Holds mask of active integrals. More...
 
DimIntegrals integrals_
 Set of used integrals. More...
 
ElementCacheMapelement_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)
 

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 87 of file assembly_mh.hh.

Member Typedef Documentation

◆ AssemblyDataPtrMH

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

Definition at line 90 of file assembly_mh.hh.

Constructor & Destructor Documentation

◆ AssemblyMH()

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

Definition at line 92 of file assembly_mh.hh.

◆ ~AssemblyMH()

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

Definition at line 148 of file assembly_mh.hh.

Member Function Documentation

◆ add_fluxes_in_balance_matrix()

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

Definition at line 480 of file assembly_mh.hh.

Here is the caller graph for this function:

◆ assemble()

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

Implements AssemblyBase< dim >.

Definition at line 160 of file assembly_mh.hh.

◆ assemble_element()

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

Definition at line 418 of file assembly_mh.hh.

Here is the caller graph for this function:

◆ assemble_reconstruct()

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

Implements AssemblyBase< dim >.

Definition at line 143 of file assembly_mh.hh.

◆ assemble_sides()

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

Definition at line 356 of file assembly_mh.hh.

Here is the caller graph for this function:

◆ assemble_sides_scale()

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

Definition at line 366 of file assembly_mh.hh.

Here is the caller graph for this function:

◆ assembly_dim_connections()

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

Definition at line 434 of file assembly_mh.hh.

Here is the caller graph for this function:

◆ assembly_local_vb()

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

Definition at line 182 of file assembly_mh.hh.

Here is the caller graph for this function:

◆ fix_velocity()

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

Implements AssemblyBase< dim >.

Definition at line 154 of file assembly_mh.hh.

◆ set_dofs_and_bc()

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

Definition at line 214 of file assembly_mh.hh.

Here is the caller graph for this function:

◆ size()

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

Definition at line 208 of file assembly_mh.hh.

Here is the caller graph for this function:

◆ update_water_content()

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 145 of file assembly_mh.hh.

Member Data Documentation

◆ ad_

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

Definition at line 506 of file assembly_mh.hh.

◆ dirichlet_edge

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

Definition at line 507 of file assembly_mh.hh.

◆ fe_rt_

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

Definition at line 495 of file assembly_mh.hh.

◆ fe_values_

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

Definition at line 497 of file assembly_mh.hh.

◆ global_dofs_

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

Definition at line 517 of file assembly_mh.hh.

◆ loc_edge_dofs

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

Definition at line 512 of file assembly_mh.hh.

◆ loc_ele_dof

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

Definition at line 513 of file assembly_mh.hh.

◆ loc_side_dofs

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

Definition at line 511 of file assembly_mh.hh.

◆ loc_system_

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

Definition at line 509 of file assembly_mh.hh.

◆ loc_system_vb_

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

Definition at line 510 of file assembly_mh.hh.

◆ local_dofs_

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

Definition at line 518 of file assembly_mh.hh.

◆ mortar_assembly

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

Definition at line 515 of file assembly_mh.hh.

◆ ngh_values_

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

Definition at line 499 of file assembly_mh.hh.

◆ quad_

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

Definition at line 496 of file assembly_mh.hh.

◆ velocity_interpolation_fv_

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

Definition at line 503 of file assembly_mh.hh.

◆ velocity_interpolation_quad_

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

Definition at line 502 of file assembly_mh.hh.


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