Flow123d  jenkins-Flow123d-linux-release-multijob-282
Macros
transport_dg.cc File Reference

Discontinuous Galerkin method for equation of transport with dispersion. More...

#include "system/sys_profiler.hh"
#include "transport/transport_dg.hh"
#include "io/output_time.hh"
#include "quadrature/quadrature_lib.hh"
#include "fem/mapping_p1.hh"
#include "fem/fe_values.hh"
#include "fem/fe_p.hh"
#include "fem/fe_rt.hh"
#include "fields/field_fe.hh"
#include "flow/darcy_flow_mh.hh"
#include "la/linsys_PETSC.hh"
#include "transport/advection_diffusion_model.hh"
#include "transport/concentration_model.hh"
#include "transport/heat_model.hh"
#include "fields/generic_field.hh"

Go to the source code of this file.

Macros

#define AVERAGE(i, k, side_id)   (fe_values[sd[side_id]]->shape_value(i,k)*0.5)
 
#define WAVERAGE(i, k, side_id)   (arma::dot(dif_coef_edg[sd[side_id]][sbi][k]*fe_values[sd[side_id]]->shape_grad(i,k),nv)*omega[side_id])
 
#define JUMP(i, k, side_id)   ((side_id==0?1:-1)*fe_values[sd[side_id]]->shape_value(i,k))
 

Detailed Description

Discontinuous Galerkin method for equation of transport with dispersion.

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

Please make a following refer to Flow123d on your project site if you use the program for any purpose, especially for academic research: Flow123d, Research Centre: Advanced Remedial Technologies, Technical University of Liberec, Czech Republic

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.

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.

You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 021110-1307, USA.

$Id$ $Revision$ $LastChangedBy$ $LastChangedDate$

Author
Jan Stebel

Definition in file transport_dg.cc.

Macro Definition Documentation

#define AVERAGE (   i,
  k,
  side_id 
)    (fe_values[sd[side_id]]->shape_value(i,k)*0.5)
#define JUMP (   i,
  k,
  side_id 
)    ((side_id==0?1:-1)*fe_values[sd[side_id]]->shape_value(i,k))
#define WAVERAGE (   i,
  k,
  side_id 
)    (arma::dot(dif_coef_edg[sd[side_id]][sbi][k]*fe_values[sd[side_id]]->shape_grad(i,k),nv)*omega[side_id])