Rheolef  7.2
an efficient C++ finite element environment
 
Loading...
Searching...
No Matches
dirichlet_hdg_average.cc

The Poisson problem by the hybrid discontinuous Galerkin method – local averaging.

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
see the catchmark page for the full documentation
Definition catchmark.h:67
see the environment page for the full documentation
The Poisson problem by the hybrid discontinuous Galerkin method – local averaging function.
field dirichlet_hdg_average(field uh, field lambda_h)
int main()
Definition field2bb.cc:58
This file is part of Rheolef.
STL namespace.
rheolef - reference manual