Discontinuous Raviart-Thomas L2 projection.
Discontinuous Raviart-Thomas L2 projection
int main(
int argc,
char**argv) {
size_t d = omega.dimension(),
k = (argc > 2) ? atoi(argv[2]) : 0;
space Vh (omega,
"RT"+to_string(k)+
"d"),
Lh (omega, "P" +to_string(k)+"d"),
Xh = Vh*Lh;
auto v = y[0], mu = y[1];
form inv_a = integrate (dot(
u,v) + div_h(v)*
lambda + div_h(
u)*mu, iopt);
p_Vh_u = xh[0],
pi_h_u = lazy_interpolate(Vh,
u_exact(
d));
}
field lh(Float epsilon, Float t, const test &v)
see the field page for the full documentation
see the geo page for the full documentation
see the catchmark page for the full documentation
see the environment page for the full documentation
see the integrate_option page for the full documentation
see the space page for the full documentation
see the test page for the full documentation
see the test page for the full documentation
The cosinus vector function.
This file is part of Rheolef.
rheolef - reference manual