Flow123d
JS_before_hm-1008-g3dab983
|
#include <assembly_dg.hh>
Public Types | |
typedef TransportDG< Model >::EqData | EqDataDG |
Public Member Functions | |
SourcesAssemblyDG (EqDataDG *data) | |
Constructor. More... | |
~SourcesAssemblyDG () | |
Destructor. More... | |
void | initialize (TransportDG< Model > &model) |
Initialize auxiliary vectors and other data members. More... | |
void | assemble_volume_integrals (DHCellAccessor cell) override |
Assemble integral over element. More... | |
void | begin () override |
Implements AssemblyBase::begin . More... | |
void | end () override |
Implements AssemblyBase::end . More... | |
Public Member Functions inherited from AssemblyBase< dim > | |
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 () |
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... | |
void | create_integrals (std::shared_ptr< EvalPoints > eval_points, AssemblyIntegrals &integrals, int active_integrals) |
Create integrals according to dim of assembly object. More... | |
Private Member Functions | |
void | calculate_velocity (const ElementAccessor< 3 > &cell, vector< arma::vec3 > &velocity, const Armor::array &point_list) |
Calculates the velocity field on a given cell. More... | |
Private Attributes | |
shared_ptr< FiniteElement< dim > > | fe_ |
Finite element for the solution of the advection-diffusion equation. More... | |
TransportDG< Model > * | model_ |
Pointer to model (we must use common ancestor of concentration and heat model) More... | |
EqDataDG * | data_ |
Data object shared with TransportDG. More... | |
unsigned int | ndofs_ |
Number of dofs. More... | |
unsigned int | qsize_ |
Size of quadrature of actual dim. More... | |
FEValues< 3 > | fe_values_ |
FEValues of object (of P disc finite element type) More... | |
vector< LongIdx > | dof_indices_ |
Vector of global DOF indices. More... | |
vector< LongIdx > | loc_dof_indices_ |
Vector of local DOF indices. More... | |
vector< PetscScalar > | local_rhs_ |
Auxiliary vector for set_sources method. More... | |
vector< PetscScalar > | local_source_balance_vector_ |
Auxiliary vector for set_sources method. More... | |
vector< PetscScalar > | local_source_balance_rhs_ |
Auxiliary vector for set_sources method. More... | |
vector< vector< double > > | sources_conc_ |
Auxiliary vectors for set_sources method. More... | |
vector< vector< double > > | sources_density_ |
Auxiliary vectors for set_sources method. More... | |
vector< vector< double > > | sources_sigma_ |
Auxiliary vectors for assemble volume integrals and set_sources method. More... | |
Auxiliary variables used during set sources | |
double | source |
Friends | |
class | TransportDG< Model > |
template<template< IntDim... > class DimAssembly> | |
class | GenericAssembly |
Additional Inherited Members | |
Static Public Member Functions inherited from AssemblyBase< dim > | |
template<template< int dim > class Impl, class Data > | |
static MultidimAssembly | create (Data data) |
Protected Attributes inherited from AssemblyBase< dim > | |
Quadrature * | quad_ |
Quadrature used in assembling methods. More... | |
Quadrature * | quad_low_ |
Quadrature used in assembling methods (dim-1). More... | |
Auxiliary container class for Finite element and related objects of given dimension.
Definition at line 1055 of file assembly_dg.hh.
typedef TransportDG<Model>::EqData SourcesAssemblyDG< dim, Model >::EqDataDG |
Definition at line 1058 of file assembly_dg.hh.
|
inline |
Constructor.
Definition at line 1061 of file assembly_dg.hh.
|
inline |
Destructor.
Definition at line 1065 of file assembly_dg.hh.
|
inlineoverride |
Assemble integral over element.
Definition at line 1087 of file assembly_dg.hh.
|
inlineoverridevirtual |
Implements AssemblyBase::begin
.
Reimplemented from AssemblyBase< dim >.
Definition at line 1129 of file assembly_dg.hh.
|
inlineprivate |
Calculates the velocity field on a given cell.
cell | The cell. |
velocity | The computed velocity field (at quadrature points). |
point_list | The quadrature points. |
Definition at line 1149 of file assembly_dg.hh.
|
inlineoverridevirtual |
Implements AssemblyBase::end
.
Reimplemented from AssemblyBase< dim >.
Definition at line 1135 of file assembly_dg.hh.
|
inline |
Initialize auxiliary vectors and other data members.
Definition at line 1068 of file assembly_dg.hh.
|
friend |
Definition at line 1186 of file assembly_dg.hh.
|
friend |
Definition at line 1184 of file assembly_dg.hh.
|
private |
Data object shared with TransportDG.
Definition at line 1162 of file assembly_dg.hh.
|
private |
Vector of global DOF indices.
Definition at line 1168 of file assembly_dg.hh.
|
private |
Finite element for the solution of the advection-diffusion equation.
Definition at line 1156 of file assembly_dg.hh.
|
private |
FEValues of object (of P disc finite element type)
Definition at line 1166 of file assembly_dg.hh.
|
private |
Vector of local DOF indices.
Definition at line 1169 of file assembly_dg.hh.
|
private |
Auxiliary vector for set_sources method.
Definition at line 1170 of file assembly_dg.hh.
|
private |
Auxiliary vector for set_sources method.
Definition at line 1172 of file assembly_dg.hh.
|
private |
Auxiliary vector for set_sources method.
Definition at line 1171 of file assembly_dg.hh.
|
private |
Pointer to model (we must use common ancestor of concentration and heat model)
Definition at line 1159 of file assembly_dg.hh.
|
private |
Number of dofs.
Definition at line 1164 of file assembly_dg.hh.
|
private |
Size of quadrature of actual dim.
Definition at line 1165 of file assembly_dg.hh.
|
private |
Definition at line 1180 of file assembly_dg.hh.
|
private |
Auxiliary vectors for set_sources method.
Definition at line 1173 of file assembly_dg.hh.
|
private |
Auxiliary vectors for set_sources method.
Definition at line 1174 of file assembly_dg.hh.
|
private |
Auxiliary vectors for assemble volume integrals and set_sources method.
Definition at line 1175 of file assembly_dg.hh.