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;
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;
}
see the field page for the full documentation
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