Flow123d  JS_before_hm-2196-g9bdbf60c0
Public Types | Public Member Functions | Static Public Member Functions | Protected Member Functions | Friends | List of all members
ReconstructSchurAssemblyRichards< dim > Class Template Reference

#include <assembly_richards_old.hh>

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

Public Types

typedef RichardsLMH::EqFields EqFields
 
typedef RichardsLMH::EqData EqData
 
- Public Types inherited from ReconstructSchurAssemblyLMH< dim >
typedef DarcyLMH::EqFields EqFields
 
typedef DarcyLMH::EqData EqData
 
- Public Types inherited from MHMatrixAssemblyLMH< dim >
typedef DarcyLMH::EqFields EqFields
 
typedef DarcyLMH::EqData EqData
 
- Public Types inherited from AssemblyBase< dim >
typedef GenericAssemblyBase::BulkIntegralData BulkIntegralData
 
typedef GenericAssemblyBase::EdgeIntegralData EdgeIntegralData
 
typedef GenericAssemblyBase::CouplingIntegralData CouplingIntegralData
 
typedef GenericAssemblyBase::BoundaryIntegralData BoundaryIntegralData
 
- Public Types inherited from MHMatrixAssemblyRichards< dim >
typedef RichardsLMH::EqFields EqFields
 
typedef RichardsLMH::EqData EqData
 

Public Member Functions

 ReconstructSchurAssemblyRichards (EqFields *eq_fields, EqData *eq_data)
 
void begin () override
 Implements AssemblyBase::begin. More...
 
void end () override
 Implements AssemblyBase::end. More...
 
- Public Member Functions inherited from ReconstructSchurAssemblyLMH< dim >
 ReconstructSchurAssemblyLMH (EqFields *eq_fields, EqData *eq_data)
 Constructor. More...
 
- Public Member Functions inherited from MHMatrixAssemblyLMH< dim >
 DECLARE_EXCEPTION (ExcBCNotSupported,<< "BC type not supported.\n")
 
 MHMatrixAssemblyLMH (EqFields *eq_fields, EqData *eq_data)
 Constructor. More...
 
virtual ~MHMatrixAssemblyLMH ()
 Destructor. More...
 
void initialize (ElementCacheMap *element_cache_map)
 Initialize auxiliary vectors and other data members. More...
 
void cell_integral (DHCellAccessor cell, unsigned int element_patch_idx)
 Assemble source term (integral over element) More...
 
void boundary_side_integral (DHCellSide cell_side)
 
void dimjoin_intergral (DHCellAccessor cell_lower_dim, DHCellSide neighb_side)
 Assembles the fluxes between elements of different dimensions. More...
 
- Public Member Functions inherited from AssemblyBase< dim >
 AssemblyBase (unsigned int quad_order)
 Constructor. More...
 
virtual ~AssemblyBase ()
 Destructor. More...
 
virtual void cell_integral (FMT_UNUSED DHCellAccessor cell, FMT_UNUSED unsigned int element_patch_idx)
 Assembles the volume integrals on cell. More...
 
virtual void boundary_side_integral (FMT_UNUSED DHCellSide cell_side)
 Assembles the fluxes on the boundary. More...
 
virtual void edge_integral (FMT_UNUSED RangeConvert< DHEdgeSide, DHCellSide > edge_side_range)
 Assembles the fluxes between sides on the edge. More...
 
virtual void dimjoin_intergral (FMT_UNUSED DHCellAccessor cell_lower_dim, FMT_UNUSED DHCellSide neighb_side)
 Assembles the fluxes between elements of different dimensions. 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...
 
virtual void assemble_cell_integrals (const RevertableList< BulkIntegralData > &bulk_integral_data)
 Assembles the cell integrals for the given dimension. More...
 
void assemble_boundary_side_integrals (const RevertableList< BoundaryIntegralData > &boundary_integral_data)
 Assembles the boundary side integrals for the given dimension. More...
 
void assemble_edge_integrals (const RevertableList< EdgeIntegralData > &edge_integral_data)
 Assembles the edge integrals for the given dimension. More...
 
void assemble_neighbour_integrals (const RevertableList< CouplingIntegralData > &coupling_integral_data)
 Assembles the neighbours integrals for the given dimension. More...
 
- Public Member Functions inherited from MHMatrixAssemblyRichards< dim >
 MHMatrixAssemblyRichards (EqFields *eq_fields, EqData *eq_data)
 
 ~MHMatrixAssemblyRichards ()
 Destructor. More...
 
void initialize (ElementCacheMap *element_cache_map)
 Initialize auxiliary vectors and other data members. More...
 

Static Public Member Functions

static constexpr const char * name ()
 
- Static Public Member Functions inherited from ReconstructSchurAssemblyLMH< dim >
static constexpr const char * name ()
 
- Static Public Member Functions inherited from MHMatrixAssemblyLMH< dim >
static constexpr const char * name ()
 
- Static Public Member Functions inherited from MHMatrixAssemblyRichards< dim >
static constexpr const char * name ()
 

Protected Member Functions

void assemble_source_term (const DHCellAccessor &cell, BulkPoint &p) override
 
void postprocess_velocity_specific (const DHCellAccessor &dh_cell, BulkPoint &p, arma::vec &solution, double edge_scale, double edge_source_term) override
 
double compute_conductivity (const DHCellAccessor &cell, BulkPoint &p) override
 
void postprocess_bulk_integral (const DHCellAccessor &cell, unsigned int element_patch_idx) override
 
void dirichlet_switch (FMT_UNUSED char &switch_dirichlet, FMT_UNUSED DHCellSide cell_side) override
 
- Protected Member Functions inherited from ReconstructSchurAssemblyLMH< dim >
void reconstruct_schur_finish ()
 
void postprocess_bulk_integral (const DHCellAccessor &cell, unsigned int element_patch_idx) override
 
void dirichlet_switch (FMT_UNUSED char &switch_dirichlet, FMT_UNUSED DHCellSide cell_side) override
 
- Protected Member Functions inherited from MHMatrixAssemblyLMH< dim >
void set_dofs ()
 
void schur_postprocess ()
 
unsigned int ngh_idx (DHCellAccessor &dh_cell, DHCellSide &neighb_side)
 Temporary method find neighbour index in higher-dim cell. More...
 
void load_local_system (const DHCellAccessor &dh_cell)
 
void postprocess_velocity (const DHCellAccessor &dh_cell, unsigned int element_patch_idx, arma::vec &solution)
 
virtual double compute_conductivity (FMT_UNUSED const DHCellAccessor &cell, BulkPoint &p)
 
virtual void postprocess_bulk_integral (FMT_UNUSED const DHCellAccessor &cell, FMT_UNUSED unsigned intelement_patch_idx)
 
virtual void dirichlet_switch (char &switch_dirichlet, DHCellSide cell_side)
 
- Protected Member Functions inherited from AssemblyBase< dim >
 AssemblyBase ()
 
std::string print_update_flags (UpdateFlags u) const
 Print update flags to string format. More...
 
- Protected Member Functions inherited from MHMatrixAssemblyRichards< dim >
void reset_soil_model (const DHCellAccessor &cell, BulkPoint &p)
 
void update_water_content (const DHCellAccessor &cell, BulkPoint &p)
 
double compute_conductivity (const DHCellAccessor &cell, BulkPoint &p) override
 

Friends

template<template< IntDim... > class DimAssembly>
class GenericAssembly
 

Additional Inherited Members

- Protected Attributes inherited from MHMatrixAssemblyLMH< dim >
FieldSet used_fields_
 Sub field set contains fields used in calculation. More...
 
EqFieldseq_fields_
 Data objects shared with DarcyFlow. More...
 
EqDataeq_data_
 
FE_RT0< dim > fe_rt_
 Assembly volume integrals. More...
 
QGauss quad_rt_
 
FEValues< 3 > fe_values_
 
unsigned int ndofs_
 Number of dofs. More...
 
unsigned int qsize_
 Size of quadrature of dim-1. More...
 
shared_ptr< FiniteElement< dim > > fe_
 Finite element for the solution of the advection-diffusion equation. More...
 
FEValues< 3 > fe_values_side_
 FEValues of object (of P disc finite element type) More...
 
arma::vec reconstructed_solution_
 Vector for reconstructed solution (velocity and pressure on element) from Schur complement. More...
 
double conductivity_
 
double scale_sides_
 Precomputed value (1 / cross_section / conductivity) More...
 
double rhs_val_
 
double mat_val_
 Precomputed RHS and mat value. More...
 
double n_sides_
 
double coef_
 
double source_term_
 Variables used in compute lumped source. More...
 
double time_term_diag_
 
double time_term_
 
double time_term_rhs_
 Variables used in compute time term (unsteady) More...
 
double cross_section_
 Precomputed cross-section value. More...
 
unsigned int bulk_local_idx_
 Local idx of bulk element. More...
 
unsigned int sidx_
 
unsigned int side_row_
 
unsigned int edge_row_
 Helper indices in boundary assembly. More...
 
double solution_head_
 Precomputed value in boundary assembly. More...
 
double bc_total_flux_
 
double bc_flux_
 
double side_flux_
 Precomputed values in boundary assembly. More...
 
double bc_pressure_
 
double bc_switch_pressure_
 
double bc_sigma_
 Precomputed values in boundary assembly. More...
 
arma::vec3 nv_
 Normal vector. More...
 
double ngh_value_
 Precomputed ngh value. More...
 
double edge_scale_
 
double edge_source_term_
 Precomputed values in postprocess_velocity. More...
 
double new_pressure_
 
double old_pressure_
 Precomputed values in postprocess_velocity_specific. More...
 
- 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...
 
- Protected Attributes inherited from MHMatrixAssemblyRichards< dim >
EqFieldseq_fields_
 Data objects shared with ConvectionTransport. More...
 
EqDataeq_data_
 
LocDofVec cr_disc_dofs_
 Vector of local DOF indices pre-computed on different DOF handlers. More...
 
LocDofVec edge_indices_
 Dofs of discontinuous fields on element edges. More...
 
bool genuchten_on
 
double storativity_
 
double capacity
 
double phead
 
double water_content
 
double water_content_previous_time
 
double diagonal_coef_
 
double source_diagonal_
 
double water_content_diff_
 
double mass_diagonal_
 
double mass_rhs_
 

Detailed Description

template<unsigned int dim>
class ReconstructSchurAssemblyRichards< dim >

Definition at line 323 of file assembly_richards_old.hh.

Member Typedef Documentation

◆ EqData

template<unsigned int dim>
typedef RichardsLMH::EqData ReconstructSchurAssemblyRichards< dim >::EqData

Definition at line 327 of file assembly_richards_old.hh.

◆ EqFields

template<unsigned int dim>
typedef RichardsLMH::EqFields ReconstructSchurAssemblyRichards< dim >::EqFields

Definition at line 326 of file assembly_richards_old.hh.

Constructor & Destructor Documentation

◆ ReconstructSchurAssemblyRichards()

template<unsigned int dim>
ReconstructSchurAssemblyRichards< dim >::ReconstructSchurAssemblyRichards ( EqFields eq_fields,
EqData eq_data 
)
inline

Definition at line 331 of file assembly_richards_old.hh.

Member Function Documentation

◆ assemble_source_term()

template<unsigned int dim>
void ReconstructSchurAssemblyRichards< dim >::assemble_source_term ( const DHCellAccessor cell,
BulkPoint p 
)
inlineoverrideprotectedvirtual

Reimplemented from MHMatrixAssemblyRichards< dim >.

Definition at line 349 of file assembly_richards_old.hh.

◆ begin()

template<unsigned int dim>
void ReconstructSchurAssemblyRichards< dim >::begin ( )
inlineoverridevirtual

Implements AssemblyBase::begin.

Reimplemented from ReconstructSchurAssemblyLMH< dim >.

Definition at line 336 of file assembly_richards_old.hh.

◆ compute_conductivity()

template<unsigned int dim>
double ReconstructSchurAssemblyRichards< dim >::compute_conductivity ( const DHCellAccessor cell,
BulkPoint p 
)
inlineoverrideprotected

Definition at line 360 of file assembly_richards_old.hh.

◆ dirichlet_switch()

template<unsigned int dim>
void ReconstructSchurAssemblyRichards< dim >::dirichlet_switch ( FMT_UNUSED char &  switch_dirichlet,
FMT_UNUSED DHCellSide  cell_side 
)
inlineoverrideprotected

Definition at line 369 of file assembly_richards_old.hh.

◆ end()

template<unsigned int dim>
void ReconstructSchurAssemblyRichards< dim >::end ( )
inlineoverridevirtual

Implements AssemblyBase::end.

Reimplemented from ReconstructSchurAssemblyLMH< dim >.

Definition at line 343 of file assembly_richards_old.hh.

◆ name()

template<unsigned int dim>
static constexpr const char* ReconstructSchurAssemblyRichards< dim >::name ( )
inlinestaticconstexpr

Definition at line 329 of file assembly_richards_old.hh.

◆ postprocess_bulk_integral()

template<unsigned int dim>
void ReconstructSchurAssemblyRichards< dim >::postprocess_bulk_integral ( const DHCellAccessor cell,
unsigned int  element_patch_idx 
)
inlineoverrideprotected

Definition at line 365 of file assembly_richards_old.hh.

◆ postprocess_velocity_specific()

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

Reimplemented from MHMatrixAssemblyRichards< dim >.

Definition at line 354 of file assembly_richards_old.hh.

Friends And Related Function Documentation

◆ GenericAssembly

template<unsigned int dim>
template<template< IntDim... > class DimAssembly>
friend class GenericAssembly
friend

Definition at line 373 of file assembly_richards_old.hh.


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