19static const std::vector<std::string> namedFields = { hiceName, ciceName, uName, vName };
23 registerProtectedArray(ProtectedArray::ICE_U, &uice);
24 registerProtectedArray(ProtectedArray::ICE_V, &vice);
27void Dynamics::setData(
const ModelState::DataMap& ms)
29 IDynamics::setData(ms);
31 kernel.initialisation();
37 for (
const auto& fieldName : namedFields) {
38 kernel.setData(fieldName, ms.at(fieldName));
45{ std::cout << tst.start << std::endl;
47 kernel.setData(hiceName, hice.data());
48 kernel.setData(ciceName, cice.data());
55 hice.data() = kernel.getDG0Data(hiceName);
56 cice.data() = kernel.getDG0Data(ciceName);