Flow123d  JS_before_hm-919-g5f1bbbf
Public Types | Public Member Functions | Protected Member Functions | Protected Attributes | List of all members
AssemblyRichards< dim > Class Template Reference

#include <assembly_richards.hh>

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

Public Types

typedef std::shared_ptr< RichardsLMH::EqDataAssemblyDataPtrRichards
 
- Public Types inherited from AssemblyLMH< dim >
typedef std::shared_ptr< DarcyLMH::EqDataAssemblyDataPtrLMH
 

Public Member Functions

 AssemblyRichards (AssemblyDataPtrRichards data)
 
- Public Member Functions inherited from AssemblyLMH< dim >
 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
 
- 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 reset_soil_model (const DHCellAccessor &dh_cell)
 
double compute_conductivity (ElementAccessor< 3 > ele)
 
void update_water_content (const DHCellAccessor &dh_cell)
 Updates water content in Richards. More...
 
void assemble_sides (const DHCellAccessor &dh_cell) override
 
void assemble_source_term (const DHCellAccessor &dh_cell) override
 
void update_dofs (const DHCellAccessor &dh_cell)
 
void postprocess_velocity_specific (const DHCellAccessor &dh_cell, arma::vec &solution, double edge_scale, double edge_source_term) override
 
- Protected Member Functions inherited from AssemblyLMH< dim >
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)
 
void assemble_sides_scale (const DHCellAccessor &dh_cell, double scale)
 
void assemble_element (FMT_UNUSED const DHCellAccessor &dh_cell)
 
void assembly_dim_connections (const DHCellAccessor &dh_cell)
 
void postprocess_velocity (const DHCellAccessor &dh_cell, arma::vec &solution)
 

Protected Attributes

AssemblyDataPtrRichards ad_
 
bool genuchten_on
 
double cross_section
 
LocDofVec cr_disc_dofs
 Dofs of discontinuous fields on element edges. More...
 
LocDofVec edge_indices_
 Dofs of discontinuous fields on element edges. More...
 
- Protected Attributes inherited from AssemblyLMH< dim >
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)
 
- Static Protected Member Functions inherited from AssemblyLMH< dim >
static unsigned int size ()
 

Detailed Description

template<int dim>
class AssemblyRichards< dim >

Prove of concept for general assembly scheme. Ideas:

TODO:

Definition at line 48 of file assembly_richards.hh.

Member Typedef Documentation

template<int dim>
typedef std::shared_ptr<RichardsLMH::EqData> AssemblyRichards< dim >::AssemblyDataPtrRichards

Definition at line 51 of file assembly_richards.hh.

Constructor & Destructor Documentation

template<int dim>
AssemblyRichards< dim >::AssemblyRichards ( AssemblyDataPtrRichards  data)
inline

Definition at line 53 of file assembly_richards.hh.

Member Function Documentation

template<int dim>
void AssemblyRichards< dim >::assemble_sides ( const DHCellAccessor dh_cell)
inlineoverrideprotectedvirtual

Reimplemented from AssemblyLMH< dim >.

Definition at line 124 of file assembly_richards.hh.

template<int dim>
void AssemblyRichards< dim >::assemble_source_term ( const DHCellAccessor dh_cell)
inlineoverrideprotectedvirtual

Reimplemented from AssemblyLMH< dim >.

Definition at line 139 of file assembly_richards.hh.

template<int dim>
double AssemblyRichards< dim >::compute_conductivity ( ElementAccessor< 3 >  ele)
inlineprotected

Definition at line 78 of file assembly_richards.hh.

Here is the caller graph for this function:

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

Reimplemented from AssemblyLMH< dim >.

Definition at line 203 of file assembly_richards.hh.

template<int dim>
void AssemblyRichards< dim >::reset_soil_model ( const DHCellAccessor dh_cell)
inlineprotected

Definition at line 62 of file assembly_richards.hh.

Here is the caller graph for this function:

template<int dim>
void AssemblyRichards< dim >::update_dofs ( const DHCellAccessor dh_cell)
inlineprotected

Updates DoFs for edge pressure vector (dh CR) and for water content vector (dh CR_disc) Be sure to call it before update_water_content().

Definition at line 197 of file assembly_richards.hh.

Here is the caller graph for this function:

template<int dim>
void AssemblyRichards< dim >::update_water_content ( const DHCellAccessor dh_cell)
inlineprotectedvirtual

Updates water content in Richards.

Reimplemented from AssemblyLMH< dim >.

Definition at line 95 of file assembly_richards.hh.

Here is the caller graph for this function:

Member Data Documentation

template<int dim>
AssemblyDataPtrRichards AssemblyRichards< dim >::ad_
protected

Definition at line 225 of file assembly_richards.hh.

template<int dim>
LocDofVec AssemblyRichards< dim >::cr_disc_dofs
protected

Dofs of discontinuous fields on element edges.

Definition at line 229 of file assembly_richards.hh.

template<int dim>
double AssemblyRichards< dim >::cross_section
protected

Definition at line 228 of file assembly_richards.hh.

template<int dim>
LocDofVec AssemblyRichards< dim >::edge_indices_
protected

Dofs of discontinuous fields on element edges.

Definition at line 230 of file assembly_richards.hh.

template<int dim>
bool AssemblyRichards< dim >::genuchten_on
protected

Definition at line 227 of file assembly_richards.hh.


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