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

#include <assembly_mh.hh>

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

Public Member Functions

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 ()
 
 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...
 

Static Public Member Functions

template<template< int dim > class Impl, class Data >
static MultidimAssembly create (Data data)
 

Protected Attributes

Quadraturequad_
 Quadrature used in assembling methods. More...
 
Quadraturequad_low_
 Quadrature used in assembling methods (dim-1). More...
 

Detailed Description

template<unsigned int dim>
class AssemblyBase< dim >

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.

Base class define empty methods, these methods can be overwite in descendants.

Definition at line 37 of file assembly_mh.hh.

Constructor & Destructor Documentation

template<unsigned int dim>
virtual AssemblyBase< dim >::~AssemblyBase ( )
inlinevirtual

Definition at line 58 of file assembly_mh.hh.

template<unsigned int dim>
AssemblyBase< dim >::AssemblyBase ( unsigned int  quad_order)
inline

Constructor.

Definition at line 352 of file assembly_dg.hh.

template<unsigned int dim>
virtual AssemblyBase< dim >::~AssemblyBase ( )
inlinevirtual

Definition at line 358 of file assembly_dg.hh.

Member Function Documentation

template<unsigned int dim>
virtual void AssemblyBase< dim >::assemble ( const DHCellAccessor dh_cell)
pure virtual

Implemented in AssemblyMH< dim >, and AssemblyLMH< dim >.

template<unsigned int dim>
virtual void AssemblyBase< dim >::assemble_fluxes_boundary ( FMT_UNUSED DHCellSide  cell_side)
inlinevirtual

Assembles the fluxes on the boundary.

Definition at line 367 of file assembly_dg.hh.

template<unsigned int dim>
virtual void AssemblyBase< dim >::assemble_fluxes_element_element ( FMT_UNUSED RangeConvert< DHEdgeSide, DHCellSide edge_side_range)
inlinevirtual

Assembles the fluxes between sides on the edge.

Definition at line 370 of file assembly_dg.hh.

template<unsigned int dim>
virtual void AssemblyBase< dim >::assemble_fluxes_element_side ( FMT_UNUSED DHCellAccessor  cell_lower_dim,
FMT_UNUSED DHCellSide  neighb_side 
)
inlinevirtual

Assembles the fluxes between elements of different dimensions.

Definition at line 373 of file assembly_dg.hh.

template<unsigned int dim>
virtual void AssemblyBase< dim >::assemble_reconstruct ( const DHCellAccessor dh_cell)
pure virtual

Implemented in AssemblyMH< dim >, and AssemblyLMH< dim >.

template<unsigned int dim>
virtual void AssemblyBase< dim >::assemble_volume_integrals ( FMT_UNUSED DHCellAccessor  cell)
inlinevirtual

Assembles the volume integrals on cell.

Definition at line 364 of file assembly_dg.hh.

template<unsigned int dim>
virtual void AssemblyBase< dim >::begin ( )
inlinevirtual

Method prepares object before assemblation (e.g. balance, ...).

Reimplemented in BdrConditionAssemblyDG< dim, Model >, SourcesAssemblyDG< dim, Model >, and MassAssemblyDG< dim, Model >.

Definition at line 376 of file assembly_dg.hh.

template<unsigned int dim>
template<template< int dim > class Impl, class Data >
static MultidimAssembly AssemblyBase< dim >::create ( Data  data)
inlinestatic

Generic creator of multidimensional assembly, i.e. vector of particular assembly objects.

Definition at line 52 of file assembly_mh.hh.

template<unsigned int dim>
void AssemblyBase< dim >::create_integrals ( std::shared_ptr< EvalPoints eval_points,
AssemblyIntegrals integrals,
int  active_integrals 
)
inline

Create integrals according to dim of assembly object.

Definition at line 382 of file assembly_dg.hh.

template<unsigned int dim>
virtual void AssemblyBase< dim >::end ( )
inlinevirtual

Method finishes object after assemblation (e.g. balance, ...).

Reimplemented in BdrConditionAssemblyDG< dim, Model >, SourcesAssemblyDG< dim, Model >, and MassAssemblyDG< dim, Model >.

Definition at line 379 of file assembly_dg.hh.

template<unsigned int dim>
virtual void AssemblyBase< dim >::fix_velocity ( const DHCellAccessor dh_cell)
pure virtual

Implemented in AssemblyMH< dim >, and AssemblyLMH< dim >.

template<unsigned int dim>
virtual void AssemblyBase< dim >::update_water_content ( const DHCellAccessor dh_cell)
pure virtual

Updates water content in Richards.

Implemented in AssemblyMH< dim >, AssemblyLMH< dim >, and AssemblyRichards< dim >.

Member Data Documentation

template<unsigned int dim>
Quadrature* AssemblyBase< dim >::quad_
protected

Quadrature used in assembling methods.

Definition at line 394 of file assembly_dg.hh.

template<unsigned int dim>
Quadrature* AssemblyBase< dim >::quad_low_
protected

Quadrature used in assembling methods (dim-1).

Definition at line 395 of file assembly_dg.hh.


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