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