25 std::vector<SurfaceBoundary<scalar>> bcs;
28 bcs.reserve(uBCs.size());
30 for (
auto patchID = 0u; patchID < uBCs.
size(); ++patchID)
32 const auto attrs = uBCs[patchID].attributes();
38 dict.
insert(
"type", std::string(
"fixedValue"));
40 bcs.emplace_back(mesh, dict, patchID);
44 dict.
insert(
"type", std::string(
"calculated"));
45 bcs.emplace_back(mesh, dict, patchID);
localIdx size() const
Returns the size of the internal field.