25 #include "SheafSystem/field_at0.h" 37 require(precondition_of(\
46 ensure(postcondition_of(\
61 require(precondition_of(
add(xresult, xother, xresult, xauto_access)));
65 add(xresult, xother, xresult, xauto_access);
69 ensure(postcondition_of(
add(xresult, xother, xresult, xauto_access)));
84 require(precondition_of(\
93 ensure(postcondition_of(\
108 require(precondition_of(
subtract(xresult, xother, xresult, xauto_access)));
112 subtract(xresult, xother, xresult, xauto_access);
116 ensure(postcondition_of(
subtract(xresult, xother, xresult, xauto_access)));
131 require(precondition_of(\
140 ensure(postcondition_of(\
155 require(precondition_of(
multiply(xresult, xother, xresult, xauto_access)));
159 multiply(xresult, xother, xresult, xauto_access);
163 ensure(postcondition_of(
multiply(xresult, xother, xresult, xauto_access)));
178 require(precondition_of(\
187 ensure(postcondition_of(\
203 require(precondition_of(
multiply(xresult, xother, xresult, xauto_access)));
207 multiply(xresult, xother, xresult, xauto_access);
211 ensure(postcondition_of(
multiply(xresult, xother, xresult, xauto_access)));
225 require(precondition_of(\
234 ensure(postcondition_of(\
249 require(precondition_of(
divide(xresult, xother, xresult, xauto_access)));
253 divide(xresult, xother, xresult, xauto_access);
257 ensure(postcondition_of(
divide(xresult, xother, xresult, xauto_access)));
272 require(precondition_of(\
281 ensure(postcondition_of(\
296 require(precondition_of(
divide(xresult, xother, xresult, xauto_access)));
300 divide(xresult, xother, xresult, xauto_access);
304 ensure(postcondition_of(
divide(xresult, xother, xresult, xauto_access)));
319 require(precondition_of(\
321 xresult.property(), xauto_access)));
330 ensure(postcondition_of(\
332 xresult.property(), xauto_access)));
SHEAF_DLL_SPEC void add(const e3_lite &x0, const e3_lite &x1, vd_value_type xt, e3_lite &xresult)
Weighted sum x0*(1-xt) + x1*xt (pre-allocated version for volatile types).
sec_at0 & property() const
The dependent variable of this field.
SHEAF_DLL_SPEC void divide_equal(field_vd &xresult, const sec_at0 &xother, bool xauto_access)
xresult divide_equal xother (pre-allocated version); synonym for divide(xresult, xother, xresult, xauto_access).
SHEAF_DLL_SPEC void subtract_equal(field_vd &xresult, const field_vd &xother, bool xauto_access)
x0 subtract_equal x1 (self-allocated version); synonym for subtract(xresult, xother, xresult, xauto_access).
SHEAF_DLL_SPEC void subtract(const vd &x0, const vd &x1, vd &xresult, bool xauto_access)
x0 subtract x1 (pre-allocated version for persistent types).
SHEAF_DLL_SPEC void divide(const field_vd &x0, const sec_at0 &x1, field_vd &xresult, bool xauto_access)
x0 divided by x1 (pre-allocated version).
SHEAF_DLL_SPEC void subtract(const field_vd &x0, const field_vd &x1, field_vd &xresult, bool xauto_access)
x0 subtract x1 (pre-allocated version).
SHEAF_DLL_SPEC void subtract(const sec_vd &x0, const sec_vd &x1, sec_vd &xresult, bool xauto_access)
x0 subtract x1 (pre-allocated version).
SHEAF_DLL_SPEC void multiply_equal(field_vd &xresult, const sec_at0 &xother, bool xauto_access)
xresult multiply_equal xresult (pre-allocated version); synonym for multiply(xresult, xother, xresult, xauto_access).
A vd-valued property as a function of global coordinates.
sec_vd & property() const
The dependent variable of this field.
SHEAF_DLL_SPEC void contract(const field_vd &xvector, const field_vd &xcovector, field_at0 &xresult, bool xauto_access)
Contraction of vector xvector on covector xcovector (pre-allocated version).
SHEAF_DLL_SPEC void divide(const vd &x0, const vd_value_type &x1, vd &xresult, bool xauto_access)
Vector x0 divided by scalar x1 (pre-allocated version for persistent types).
SHEAF_DLL_SPEC void add(const sec_vd &x0, const sec_vd &x1, sec_vd &xresult, bool xauto_access)
x0 add x1 (pre-allocated version).
SHEAF_DLL_SPEC void add_equal(field_vd &xresult, const field_vd &xother, bool xauto_access)
x0 add_equal x1 (self-allocated version); synonym for add(xresult, xother, xresult, xauto_access).
A property of type sec_at0 as a function of global coordinates.
SHEAF_DLL_SPEC void multiply(const sec_vd &x0, const sec_at0 &x1, sec_vd &xresult, bool xauto_access)
x0 multiplied by x1 (pre-allocated version).
SHEAF_DLL_SPEC void add(const field_vd &x0, const field_vd &x1, field_vd &xresult, bool xauto_access)
x0 add x1 (pre-allocated version).
SHEAF_DLL_SPEC void divide(const sec_vd &x0, const sec_at0 &x1, sec_vd &xresult, bool xauto_access)
x0 divided by x1 (pre-allocated version).
SHEAF_DLL_SPEC void multiply(const vd &x0, const vd_value_type &x1, vd &xresult, bool xauto_access)
Vector x0 multiplied by scalar x1 (pre-allocated version for persistent types).
SHEAF_DLL_SPEC void contract(const sec_vd &xvector, const sec_vd &xcovector, sec_at0 &xresult, bool xauto_access)
Contraction of vector xvector on covector xcovector (pre-allocated version).
Antisymetric tensor of degree 0. As the degree is 0 there is nothing to be symmetric or antisymmetric...
SHEAF_DLL_SPEC void multiply(const field_vd &x0, const sec_at0 &x1, field_vd &xresult, bool xauto_access)
x0 multiplied by x1 (pre-allocated version).
double vd_value_type
The type of component in the fiber; the scalar type in the fiber vector space.
SHEAF_DLL_SPEC void contract(const t2_lite &x0, int xp, int xq, at0_lite &xresult)
Contraction on contravariant index xp and covariant index xq (pre-allocated version for volatime type...