Reads all elements of a given vector from an input stream. NB: this is a global function and a friend of the Vec3D class!
384 unsigned mu, mv, nu, nv;
391 std::vector<double> knotsU;
393 for (
auto&
k : knotsU) is >>
k;
396 std::vector<double> knotsV;
398 for (
auto&
k : knotsV) is >>
k;
401 std::vector<std::vector<Vec3D>> controlPoints;
402 controlPoints.resize(nu);
403 for (
auto& cp0 : controlPoints) {
405 for (
auto& cp : cp0) is >> cp;
409 std::vector<std::vector<double>>
weights;
413 for (
auto&
w : w0) is >>
w;
416 a.set(knotsU,knotsV,controlPoints,
weights);
421 if (dummy ==
"closedInUV")
427 if (dummy ==
"periodicInUV")
429 is >>
a.periodicInU_;
430 is >>
a.periodicInV_;
std::complex< double > mu
Definition: time_harmonic_fourier_decomposed_linear_elasticity/cylinder/cylinder.cc:52
list weights
Definition: calibrate.py:94
std::string string(const unsigned &i)
Definition: oomph_definitions.cc:286