Rheolef
7.1
an efficient C++ finite element environment
dirichlet_hdg_average.cc
The Poisson problem by the hybrid discontinuous Galerkin method – local averaging
#include "
rheolef.h
"
using namespace
rheolef
;
using namespace
std
;
#include "
dirichlet_hdg_average.icc
"
int
main
(
int
argc,
char
**argv) {
environment
rheolef
(argc, argv);
field
uh, lambda_h;
din
>>
catchmark
(
"u"
) >> uh
>>
catchmark
(
"lambda"
) >> lambda_h;
field
bar_uh =
dirichlet_hdg_average
(uh, lambda_h);
dout
<<
catchmark
(
"u"
) << uh
<<
catchmark
(
"bar_u"
) << bar_uh;
}
dirichlet_hdg_average.icc
The Poisson problem by the hybrid discontinuous Galerkin method – local averaging function.
rheolef::catchmark
see the catchmark page for the full documentation
Definition:
catchmark.h:67
field
see the field page for the full documentation
main
int main(int argc, char **argv)
Definition:
dirichlet_hdg_average.cc:29
rheolef.h
rheolef - reference manual
rheolef::din
idiststream din
see the diststream page for the full documentation
Definition:
diststream.h:427
rheolef::environment
see the environment page for the full documentation
Definition:
environment.h:115
rheolef
This file is part of Rheolef.
Definition:
compiler_eigen.h:37
dirichlet_hdg_average
field dirichlet_hdg_average(field uh, field lambda_h)
Definition:
dirichlet_hdg_average.icc:25
rheolef::dout
odiststream dout(cout)
see the diststream page for the full documentation
Definition:
diststream.h:430
rheolef::std
Definition:
vec_expr_v2.h:391