Flow123d  JS_before_hm-2072-g4aad0192b
Public Types | Public Member Functions | Static Public Member Functions | Private Attributes | Friends | List of all members
InitCondAssemblyConvection< dim > Class Template Reference

#include <assembly_convection.hh>

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

Public Types

typedef ConvectionTransport::EqFields EqFields
 
typedef ConvectionTransport::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 Member Functions

 InitCondAssemblyConvection (EqFields *eq_fields, EqData *eq_data)
 Constructor. More...
 
 ~InitCondAssemblyConvection ()
 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 integral over element. 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...
 
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...
 
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...
 
 DECLARE_EXCEPTION (ExcBCNotSupported,<< "BC type not supported.\n")
 
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 ()
 

Static Public Member Functions

static constexpr const char * name ()
 
- Static Public Member Functions inherited from AssemblyBase< dim >
template<template< int dim > class Impl, class Data >
static MultidimAssembly create (Data data)
 

Private Attributes

shared_ptr< FiniteElement< dim > > fe_
 Finite element for the solution of the advection-diffusion equation. More...
 
EqFieldseq_fields_
 Data objects shared with TransportDG. More...
 
EqDataeq_data_
 
std::vector< VectorMPIvecs_
 Set of data vectors of conc_mobile_fe objects. More...
 
FieldSet used_fields_
 Sub field set contains fields used in calculation. More...
 

Friends

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

Additional Inherited Members

- Protected Member Functions inherited from AssemblyBase< dim >
 AssemblyBase ()
 
std::string print_update_flags (UpdateFlags u) const
 Print update flags to string format. 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...
 

Detailed Description

template<unsigned int dim>
class InitCondAssemblyConvection< dim >

Auxiliary container class for Finite element and related objects of given dimension.

Definition at line 118 of file assembly_convection.hh.

Member Typedef Documentation

◆ EqData

template<unsigned int dim>
typedef ConvectionTransport::EqData InitCondAssemblyConvection< dim >::EqData

Definition at line 122 of file assembly_convection.hh.

◆ EqFields

template<unsigned int dim>
typedef ConvectionTransport::EqFields InitCondAssemblyConvection< dim >::EqFields

Definition at line 121 of file assembly_convection.hh.

Constructor & Destructor Documentation

◆ InitCondAssemblyConvection()

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

Constructor.

Definition at line 127 of file assembly_convection.hh.

◆ ~InitCondAssemblyConvection()

template<unsigned int dim>
InitCondAssemblyConvection< dim >::~InitCondAssemblyConvection ( )
inline

Destructor.

Definition at line 134 of file assembly_convection.hh.

Member Function Documentation

◆ cell_integral()

template<unsigned int dim>
void InitCondAssemblyConvection< dim >::cell_integral ( DHCellAccessor  cell,
unsigned int  element_patch_idx 
)
inline

Assemble integral over element.

Definition at line 146 of file assembly_convection.hh.

◆ initialize()

template<unsigned int dim>
void InitCondAssemblyConvection< dim >::initialize ( ElementCacheMap element_cache_map)
inline

Initialize auxiliary vectors and other data members.

Definition at line 137 of file assembly_convection.hh.

◆ name()

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

Definition at line 124 of file assembly_convection.hh.

Friends And Related Function Documentation

◆ GenericAssembly

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

Definition at line 171 of file assembly_convection.hh.

Member Data Documentation

◆ eq_data_

template<unsigned int dim>
EqData* InitCondAssemblyConvection< dim >::eq_data_
private

Definition at line 163 of file assembly_convection.hh.

◆ eq_fields_

template<unsigned int dim>
EqFields* InitCondAssemblyConvection< dim >::eq_fields_
private

Data objects shared with TransportDG.

Definition at line 162 of file assembly_convection.hh.

◆ fe_

template<unsigned int dim>
shared_ptr<FiniteElement<dim> > InitCondAssemblyConvection< dim >::fe_
private

Finite element for the solution of the advection-diffusion equation.

Definition at line 159 of file assembly_convection.hh.

◆ used_fields_

template<unsigned int dim>
FieldSet InitCondAssemblyConvection< dim >::used_fields_
private

Sub field set contains fields used in calculation.

Definition at line 168 of file assembly_convection.hh.

◆ vecs_

template<unsigned int dim>
std::vector<VectorMPI> InitCondAssemblyConvection< dim >::vecs_
private

Set of data vectors of conc_mobile_fe objects.

Definition at line 165 of file assembly_convection.hh.


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