Flow123d  DF_patch_fe_data_tables-9d4017b
Classes | Functions
assembly_dg.hh File Reference
#include "coupling/generic_assembly.hh"
#include "coupling/assembly_base.hh"
#include "transport/transport_dg.hh"
#include "fem/fe_p.hh"
#include "fem/patch_fe_values.hh"
#include "quadrature/quadrature_lib.hh"
#include "coupling/balance.hh"
#include "fields/field_value_cache.hh"
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  MassAssemblyDG< dim, Model >
 
class  StiffnessAssemblyDG< dim, Model >
 
class  SourcesAssemblyDG< dim, Model >
 
class  BdrConditionAssemblyDG< dim, Model >
 
class  InitProjectionAssemblyDG< dim, Model >
 
class  InitConditionAssemblyDG< dim, Model >
 

Functions

double elem_anisotropy (ElementAccessor< 3 > e)
 
double diffusion_delta (Field< 3, FieldValue< 3 >::TensorFixed > &diff_coef, Range< BoundaryPoint > pts, const arma::vec3 &nv)
 Computes average normal diffusivity over a set of points. More...
 
double DG_penalty_boundary (Side side, const double &diff_delta, const double flux, const double alpha)
 Computes the penalty parameter of the DG method on a given boundary edge. More...
 
template<class PointType >
double advective_flux (Field< 3, FieldValue< 3 >::VectorFixed > &advection_coef, Range< PointType > pts, ElQ< Scalar > &JxW, ElQ< Vector > normal)
 Computes advective flux. More...
 

Detailed Description

 * Copyright (C) 2015 Technical University of Liberec. All rights reserved.

This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License version 3 as published by the Free Software Foundation. (http://www.gnu.org/licenses/gpl-3.0.en.html)

This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.

Definition in file assembly_dg.hh.

Function Documentation

◆ advective_flux()

template<class PointType >
double advective_flux ( Field< 3, FieldValue< 3 >::VectorFixed > &  advection_coef,
Range< PointType >  pts,
ElQ< Scalar > &  JxW,
ElQ< Vector normal 
)

Computes advective flux.

Parameters
advection_coefAdvection vector.
ptsQuadrature points.
JxWJxW accessor.
normalnormalW accessor.
Returns
double

Definition at line 212 of file assembly_dg.hh.

Here is the caller graph for this function:

◆ DG_penalty_boundary()

double DG_penalty_boundary ( Side  side,
const double &  diff_delta,
const double  flux,
const double  alpha 
)

Computes the penalty parameter of the DG method on a given boundary edge.

Assumption is that the edge consists of only 1 side.

Parameters
sideThe boundary side.
diff_deltaAverage normal dispersivity K*n.n computed by diffusion_delta()
ad_vectorAdvection vector.
alphaPenalty parameter that influences the continuity of the solution (large value=more continuity).

Definition at line 193 of file assembly_dg.hh.

Here is the caller graph for this function:

◆ diffusion_delta()

double diffusion_delta ( Field< 3, FieldValue< 3 >::TensorFixed > &  diff_coef,
Range< BoundaryPoint pts,
const arma::vec3 nv 
)

Computes average normal diffusivity over a set of points.

Parameters
diff_coefDiffusion tensor.
ptsPoints.
nvNormal vector.
Returns
double

Definition at line 170 of file assembly_dg.hh.

Here is the caller graph for this function:

◆ elem_anisotropy()

double elem_anisotropy ( ElementAccessor< 3 >  e)

Definition at line 149 of file assembly_dg.hh.

Here is the caller graph for this function: