The vorticity associated to a vector field.
The vorticity associated to a vector field
int main(
int argc,
char** argv) {
din >> uh;
const space& Xh = uh.get_space();
string grad_approx = "P" + to_string(Xh.degree()-1) + "d";
string valued = (uh.get_geo().dimension() == 3) ? "vector" : "scalar";
space Lh (uh.get_geo(), grad_approx, valued);
field curl_uh = lazy_interpolate (Lh, curl(uh));
}
see the field page for the full documentation
see the catchmark page for the full documentation
see the environment page for the full documentation
see the space page for the full documentation
This file is part of Rheolef.
rheolef - reference manual