27template<
typename BoundaryType>
30 std::vector<BoundaryType> bcs;
31 bcs.reserve(
static_cast<std::size_t
>(mesh.
nBoundaries()));
35 Dictionary patchDict({{
"type", std::string(
"calculated")}});
36 bcs.emplace_back(mesh, patchDict, patchID);
41template<
typename BoundaryType>
44 std::vector<BoundaryType> bcs;
48 Dictionary patchDict({{
"type", std::string(
"extrapolated")}});
49 bcs.emplace_back(mesh, patchDict, patchID);
59namespace fvcc = finiteVolume::cellCentred;
64template class fvcc::volumeBoundary::FixedValue<scalar>;
65template class fvcc::volumeBoundary::FixedValue<Vec3>;
67template class fvcc::volumeBoundary::FixedGradient<scalar>;
68template class fvcc::volumeBoundary::FixedGradient<Vec3>;
70template class fvcc::volumeBoundary::Calculated<scalar>;
71template class fvcc::volumeBoundary::Calculated<Vec3>;
73template class fvcc::volumeBoundary::Extrapolated<scalar>;
74template class fvcc::volumeBoundary::Extrapolated<Vec3>;
76template class fvcc::volumeBoundary::Empty<scalar>;
77template class fvcc::volumeBoundary::Empty<Vec3>;
82template class fvcc::surfaceBoundary::FixedValue<scalar>;
83template class fvcc::surfaceBoundary::FixedValue<Vec3>;
85template class fvcc::surfaceBoundary::Calculated<scalar>;
86template class fvcc::surfaceBoundary::Calculated<Vec3>;
88template class fvcc::surfaceBoundary::Empty<scalar>;
89template class fvcc::surfaceBoundary::Empty<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)