26template<
typename BoundaryType>
29 std::vector<BoundaryType> bcs;
34 Dictionary patchDict({{
"type", std::string(
"calculated")}});
35 bcs.emplace_back(mesh, patchDict, patchID);
40template<
typename BoundaryType>
43 std::vector<BoundaryType> bcs;
47 Dictionary patchDict({{
"type", std::string(
"extrapolated")}});
48 bcs.emplace_back(mesh, patchDict, patchID);
58namespace fvcc = finiteVolume::cellCentred;
63template class fvcc::volumeBoundary::FixedValue<scalar>;
64template class fvcc::volumeBoundary::FixedValue<Vec3>;
66template class fvcc::volumeBoundary::FixedGradient<scalar>;
67template class fvcc::volumeBoundary::FixedGradient<Vec3>;
69template class fvcc::volumeBoundary::Calculated<scalar>;
70template class fvcc::volumeBoundary::Calculated<Vec3>;
72template class fvcc::volumeBoundary::Extrapolated<scalar>;
73template class fvcc::volumeBoundary::Extrapolated<Vec3>;
75template class fvcc::volumeBoundary::Empty<scalar>;
76template class fvcc::volumeBoundary::Empty<Vec3>;
81template class fvcc::surfaceBoundary::FixedValue<scalar>;
82template class fvcc::surfaceBoundary::FixedValue<Vec3>;
84template class fvcc::surfaceBoundary::Calculated<scalar>;
85template class fvcc::surfaceBoundary::Calculated<Vec3>;
87template class fvcc::surfaceBoundary::Empty<scalar>;
88template 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)