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

#include <assembly_richards_old.hh>

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

Public Types

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

Public Member Functions

 AssemblyRichards (AssemblyFieldsPtrRichards fields, AssemblyDataPtrRichards data)
 
- Public Member Functions inherited from AssemblyLMH< dim >
 AssemblyLMH (AssemblyFieldsPtrLMH eq_fields, AssemblyDataPtrLMH eq_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 AssemblyFlowBase
 DECLARE_EXCEPTION (ExcBCNotSupported,<< "BC type not supported.\n")
 
virtual ~AssemblyFlowBase ()
 

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

AssemblyFieldsPtrRichards af_
 
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_
 

Additional Inherited Members

- Static Public Member Functions inherited from AssemblyFlowBase
template<template< int dim > class Impl, class Fields , class Data >
static MultidimAssembly create (Fields eq_fields, Data eq_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_old.hh.

Member Typedef Documentation

◆ AssemblyDataPtrRichards

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

Definition at line 52 of file assembly_richards_old.hh.

◆ AssemblyFieldsPtrRichards

template<int dim>
typedef std::shared_ptr<RichardsLMH::EqFields> AssemblyRichards< dim >::AssemblyFieldsPtrRichards

Definition at line 51 of file assembly_richards_old.hh.

Constructor & Destructor Documentation

◆ AssemblyRichards()

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

Definition at line 54 of file assembly_richards_old.hh.

Member Function Documentation

◆ assemble_sides()

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

Reimplemented from AssemblyLMH< dim >.

Definition at line 126 of file assembly_richards_old.hh.

◆ assemble_source_term()

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

Reimplemented from AssemblyLMH< dim >.

Definition at line 141 of file assembly_richards_old.hh.

◆ compute_conductivity()

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

Definition at line 80 of file assembly_richards_old.hh.

Here is the caller graph for this function:

◆ postprocess_velocity_specific()

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 205 of file assembly_richards_old.hh.

◆ reset_soil_model()

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

Definition at line 64 of file assembly_richards_old.hh.

Here is the caller graph for this function:

◆ update_dofs()

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 199 of file assembly_richards_old.hh.

Here is the caller graph for this function:

◆ update_water_content()

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 97 of file assembly_richards_old.hh.

Here is the caller graph for this function:

Member Data Documentation

◆ ad_

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

Definition at line 228 of file assembly_richards_old.hh.

◆ af_

template<int dim>
AssemblyFieldsPtrRichards AssemblyRichards< dim >::af_
protected

Definition at line 227 of file assembly_richards_old.hh.

◆ cr_disc_dofs

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

Dofs of discontinuous fields on element edges.

Definition at line 232 of file assembly_richards_old.hh.

◆ cross_section

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

Definition at line 231 of file assembly_richards_old.hh.

◆ edge_indices_

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

Dofs of discontinuous fields on element edges.

Definition at line 233 of file assembly_richards_old.hh.

◆ genuchten_on

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

Definition at line 230 of file assembly_richards_old.hh.


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