Go to the documentation of this file.
42 const label len = result.
size();
45 if (len !=
x.size() || len !=
y.size())
48 <<
"Components sizes do not match: " << len <<
" ("
56 for (label i=0; i < len; ++i)
58 result[i] = value_type(
x[i],
y[i]);
66 const UList<Vector2D<Cmpt>>&
input,
71 const label len =
input.size();
74 if (len !=
x.size() || len !=
y.size())
77 <<
"Components sizes do not match: " << len <<
" ("
85 for (label i=0; i < len; ++i)
void unzip(const FieldField< Field, SphericalTensor< Cmpt >> &input, FieldField< Field, Cmpt > &ii)
Templated 2D Vector derived from VectorSpace adding construction from 2 components,...
Generic templated field type.
errorManip< error > abort(error &err)
#define FatalErrorInFunction
A 1D vector of objects of type <T>, where the size of the vector is known and can be used for subscri...
static Istream & input(Istream &is, IntRange< T > &range)
void zip(FieldField< Field, SphericalTensor< Cmpt >> &result, const FieldField< Field, Cmpt > &ii)
static constexpr direction size() noexcept