29template<
typename BoundaryType>
32 std::vector<BoundaryType> bcs;
33 bcs.reserve(
static_cast<std::size_t
>(mesh.
nBoundaries()));
37 Dictionary patchDict({{
"type", std::string(
"calculated")}});
38 bcs.emplace_back(mesh, patchDict, patchID);
43template<
typename BoundaryType>
46 std::vector<BoundaryType> bcs;
50 Dictionary patchDict({{
"type", std::string(
"extrapolated")}});
51 bcs.emplace_back(mesh, patchDict, patchID);
61namespace fvcc = finiteVolume::cellCentred;
66template class fvcc::volumeBoundary::FixedValue<scalar>;
67template class fvcc::volumeBoundary::FixedValue<Vec3>;
69template class fvcc::volumeBoundary::FixedGradient<scalar>;
70template class fvcc::volumeBoundary::FixedGradient<Vec3>;
72template class fvcc::volumeBoundary::Calculated<scalar>;
73template class fvcc::volumeBoundary::Calculated<Vec3>;
75template class fvcc::volumeBoundary::Extrapolated<scalar>;
76template class fvcc::volumeBoundary::Extrapolated<Vec3>;
78template class fvcc::volumeBoundary::Empty<scalar>;
79template class fvcc::volumeBoundary::Empty<Vec3>;
81template class fvcc::volumeBoundary::Symmetry<scalar>;
82template class fvcc::volumeBoundary::Symmetry<Vec3>;
87template class fvcc::surfaceBoundary::FixedValue<scalar>;
88template class fvcc::surfaceBoundary::FixedValue<Vec3>;
90template class fvcc::surfaceBoundary::Calculated<scalar>;
91template class fvcc::surfaceBoundary::Calculated<Vec3>;
93template class fvcc::surfaceBoundary::Empty<scalar>;
94template class fvcc::surfaceBoundary::Empty<Vec3>;
96template class fvcc::surfaceBoundary::Symmetry<scalar>;
97template class fvcc::surfaceBoundary::Symmetry<Vec3>;
A class representing a dictionary that stores key-value pairs.
Represents an unstructured mesh in NeoN.
localIdx nBoundaries() const
Get the number of boundaries in the mesh.
std::vector< BoundaryType > createCalculatedBCs(const UnstructuredMesh &mesh)
std::vector< BoundaryType > createExtrapolatedBCs(const UnstructuredMesh &mesh)