25template<
typename BoundaryType>
28 std::vector<BoundaryType> bcs;
29 for (
size_t patchID = 0; patchID < mesh.
nBoundaries(); patchID++)
31 Dictionary patchDict({{
"type", std::string(
"calculated")}});
32 bcs.push_back(BoundaryType(mesh, patchDict, patchID));
42namespace fvcc = finiteVolume::cellCentred;
47template class fvcc::volumeBoundary::FixedValue<scalar>;
48template class fvcc::volumeBoundary::FixedValue<Vector>;
50template class fvcc::volumeBoundary::FixedGradient<scalar>;
51template class fvcc::volumeBoundary::FixedGradient<Vector>;
53template class fvcc::volumeBoundary::Calculated<scalar>;
54template class fvcc::volumeBoundary::Calculated<Vector>;
56template class fvcc::volumeBoundary::Empty<scalar>;
57template class fvcc::volumeBoundary::Empty<Vector>;
62template class fvcc::surfaceBoundary::FixedValue<scalar>;
63template class fvcc::surfaceBoundary::FixedValue<Vector>;
65template class fvcc::surfaceBoundary::Calculated<scalar>;
66template class fvcc::surfaceBoundary::Calculated<Vector>;
68template class fvcc::surfaceBoundary::Empty<scalar>;
69template class fvcc::surfaceBoundary::Empty<Vector>;
A class representing a dictionary that stores key-value pairs.
Represents an unstructured mesh in NeoFOAM.
size_t nBoundaries() const
Get the number of boundaries in the mesh.
std::vector< BoundaryType > createCalculatedBCs(const UnstructuredMesh &mesh)