29 string sys_coord = omega.coordinate_system_name();
42 space Xh (omega, approx,
"vector");
44 Xh.block (
"upstream");
46 Xh[1].block (
"downstream");
50 geo omega = Xh.get_geo();
51 string approx =
"P" + to_string(Xh.degree());
52 space Wh (omega[
"upstream"], approx);
54 uh[0][
"upstream"] = lazy_interpolate (Wh,
u_upstream(omega));
58 space Ph (omega, approx);
76 geo omega = Ph.get_geo();
77 space Wh (omega[
"upstream"], Ph.get_approx());
80 psi_h[
"upstream"] = lazy_interpolate (Wh, psi_up);
see the Float page for the full documentation
see the field page for the full documentation
see the geo page for the full documentation
see the point page for the full documentation
see the space page for the full documentation
Float operator()(const point &x) const
Float operator()(const point &x) const
static field streamf_field(space Ph)
static space velocity_space(geo omega, string approx)
static space streamf_space(geo omega, string approx)
static field velocity_field(space Xh)