Flow123d
master-f44eb46
|
#include "coupling/generic_assembly.hh"
#include "coupling/assembly_base.hh"
#include "transport/transport_dg.hh"
#include "fem/fe_p.hh"
#include "fem/fe_values.hh"
#include "quadrature/quadrature_lib.hh"
#include "coupling/balance.hh"
#include "fields/field_value_cache.hh"
Go to the source code of this file.
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, FEValues< 3 > &fv) |
Computes advective flux. More... | |
* 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.
double advective_flux | ( | Field< 3, FieldValue< 3 >::VectorFixed > & | advection_coef, |
Range< PointType > | pts, | ||
FEValues< 3 > & | fv | ||
) |
Computes advective flux.
advection_coef | Advection vector. |
pts | Quadrature points. |
fv | FE values object. |
Definition at line 222 of file assembly_dg.hh.
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.
side | The boundary side. |
diff_delta | Average normal dispersivity K*n.n computed by diffusion_delta() |
ad_vector | Advection vector. |
alpha | Penalty parameter that influences the continuity of the solution (large value=more continuity). |
Definition at line 204 of file assembly_dg.hh.
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.
diff_coef | Diffusion tensor. |
pts | Points. |
nv | Normal vector. |
Definition at line 181 of file assembly_dg.hh.
double elem_anisotropy | ( | ElementAccessor< 3 > | e | ) |