Flow123d  JS_before_hm-913-g695b665
Public Member Functions | Public Attributes | List of all members
TransportDG< Model >::EqData Class Reference

#include <transport_dg.hh>

Inheritance diagram for TransportDG< Model >::EqData:
Inheritance graph
[legend]
Collaboration diagram for TransportDG< Model >::EqData:
Collaboration graph
[legend]

Public Member Functions

 EqData ()
 
void set_DG_parameters_boundary (Side side, const int K_size, const std::vector< arma::mat33 > &K, const double flux, const arma::vec3 &normal_vector, const double alpha, double &gamma)
 Sets up parameters of the DG method on a given boundary edge. More...
 
double elem_anisotropy (ElementAccessor< 3 > e) const
 Compute and return anisotropy of given element. More...
 

Public Attributes

MultiField< 3, FieldValue< 3 >::Scalar > fracture_sigma
 Transition parameter for diffusive transfer on fractures (for each substance). More...
 
MultiField< 3, FieldValue< 3 >::Scalar > dg_penalty
 Penalty enforcing inter-element continuity of solution (for each substance). More...
 
Field< 3, FieldValue< 3 >::Scalar > region_id
 
Field< 3, FieldValue< 3 >::Scalar > subdomain
 
EquationOutput output_fields
 
std::vector< Vec > ret_vec
 Auxiliary vectors for calculation of sources in balance due to retardation (e.g. sorption). More...
 
LinSys ** ls
 Linear algebra system for the transport equation. More...
 
LinSys ** ls_dt
 Linear algebra system for the time derivative (actually it is used only for handling the matrix structures). More...
 
std::shared_ptr< DOFHandlerMultiDimdh_
 Object for distribution of dofs. More...
 
GenericAssembly< MassAssemblyDim > * mass_assembly_
 general assembly objects, hold assembly objects of appropriate dimension More...
 
GenericAssembly< StiffnessAssemblyDim > * stiffness_assembly_
 
GenericAssembly< SourcesAssemblyDim > * sources_assembly_
 
GenericAssembly< BdrConditionAssemblyDim > * bdr_cond_assembly_
 
GenericAssembly< InitConditionAssemblyDim > * init_cond_assembly_
 
Parameters of the numerical method
std::vector< std::vector< double > > gamma
 Penalty parameters. More...
 
int dg_variant
 DG variant ((non-)symmetric/incomplete. More...
 
unsigned int dg_order
 Polynomial order of finite elements. More...
 
Auxiliary fields used during assembly
vector< vector< arma::vec3 > > ad_coef
 Advection coefficients. More...
 
vector< vector< arma::mat33 > > dif_coef
 Diffusion coefficients. More...
 
vector< vector< vector< arma::vec3 > > > ad_coef_edg
 Advection coefficients on edges. More...
 
vector< vector< vector< arma::mat33 > > > dif_coef_edg
 Diffusion coefficients on edges. More...
 

Detailed Description

template<class Model>
class TransportDG< Model >::EqData

Definition at line 141 of file transport_dg.hh.

Constructor & Destructor Documentation

template<class Model >
TransportDG< Model >::EqData::EqData ( )

Definition at line 107 of file transport_dg.cc.

Member Function Documentation

template<class Model >
double TransportDG< Model >::EqData::elem_anisotropy ( ElementAccessor< 3 >  e) const

Compute and return anisotropy of given element.

Definition at line 146 of file transport_dg.cc.

Here is the caller graph for this function:

template<class Model >
void TransportDG< Model >::EqData::set_DG_parameters_boundary ( Side  side,
const int  K_size,
const std::vector< arma::mat33 > &  K,
const double  flux,
const arma::vec3 normal_vector,
const double  alpha,
double &  gamma 
)

Sets up parameters of the DG method on a given boundary edge.

Assumption is that the edge consists of only 1 side.

Parameters
sideThe boundary side.
K_sizeSize of vector of tensors K.
KDispersivity tensor.
ad_vectorAdvection vector.
normal_vectorNormal vector (assumed constant along the edge).
alphaPenalty parameter that influences the continuity of the solution (large value=more continuity).
gammaComputed penalty parameters.

Definition at line 162 of file transport_dg.cc.

Member Data Documentation

template<class Model>
vector<vector<arma::vec3> > TransportDG< Model >::EqData::ad_coef

Advection coefficients.

Definition at line 209 of file transport_dg.hh.

template<class Model>
vector<vector<vector<arma::vec3> > > TransportDG< Model >::EqData::ad_coef_edg

Advection coefficients on edges.

Definition at line 213 of file transport_dg.hh.

template<class Model>
GenericAssembly< BdrConditionAssemblyDim >* TransportDG< Model >::EqData::bdr_cond_assembly_

Definition at line 226 of file transport_dg.hh.

template<class Model>
unsigned int TransportDG< Model >::EqData::dg_order

Polynomial order of finite elements.

Definition at line 191 of file transport_dg.hh.

template<class Model>
MultiField<3, FieldValue<3>::Scalar> TransportDG< Model >::EqData::dg_penalty

Penalty enforcing inter-element continuity of solution (for each substance).

Definition at line 174 of file transport_dg.hh.

template<class Model>
int TransportDG< Model >::EqData::dg_variant

DG variant ((non-)symmetric/incomplete.

Definition at line 188 of file transport_dg.hh.

template<class Model>
std::shared_ptr<DOFHandlerMultiDim> TransportDG< Model >::EqData::dh_

Object for distribution of dofs.

Definition at line 220 of file transport_dg.hh.

template<class Model>
vector<vector<arma::mat33> > TransportDG< Model >::EqData::dif_coef

Diffusion coefficients.

Definition at line 211 of file transport_dg.hh.

template<class Model>
vector<vector<vector<arma::mat33> > > TransportDG< Model >::EqData::dif_coef_edg

Diffusion coefficients on edges.

Definition at line 215 of file transport_dg.hh.

template<class Model>
MultiField<3, FieldValue<3>::Scalar> TransportDG< Model >::EqData::fracture_sigma

Transition parameter for diffusive transfer on fractures (for each substance).

Definition at line 173 of file transport_dg.hh.

template<class Model>
std::vector<std::vector<double> > TransportDG< Model >::EqData::gamma

Penalty parameters.

Definition at line 185 of file transport_dg.hh.

template<class Model>
GenericAssembly< InitConditionAssemblyDim >* TransportDG< Model >::EqData::init_cond_assembly_

Definition at line 227 of file transport_dg.hh.

template<class Model>
LinSys** TransportDG< Model >::EqData::ls

Linear algebra system for the transport equation.

Definition at line 200 of file transport_dg.hh.

template<class Model>
LinSys** TransportDG< Model >::EqData::ls_dt

Linear algebra system for the time derivative (actually it is used only for handling the matrix structures).

Definition at line 203 of file transport_dg.hh.

template<class Model>
GenericAssembly< MassAssemblyDim >* TransportDG< Model >::EqData::mass_assembly_

general assembly objects, hold assembly objects of appropriate dimension

Definition at line 223 of file transport_dg.hh.

template<class Model>
EquationOutput TransportDG< Model >::EqData::output_fields

Definition at line 178 of file transport_dg.hh.

template<class Model>
Field<3, FieldValue<3>::Scalar> TransportDG< Model >::EqData::region_id

Definition at line 175 of file transport_dg.hh.

template<class Model>
std::vector<Vec> TransportDG< Model >::EqData::ret_vec

Auxiliary vectors for calculation of sources in balance due to retardation (e.g. sorption).

Definition at line 197 of file transport_dg.hh.

template<class Model>
GenericAssembly< SourcesAssemblyDim >* TransportDG< Model >::EqData::sources_assembly_

Definition at line 225 of file transport_dg.hh.

template<class Model>
GenericAssembly< StiffnessAssemblyDim >* TransportDG< Model >::EqData::stiffness_assembly_

Definition at line 224 of file transport_dg.hh.

template<class Model>
Field<3, FieldValue<3>::Scalar> TransportDG< Model >::EqData::subdomain

Definition at line 176 of file transport_dg.hh.


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