| 1 |
#include "util/meshes.hpp" |
| 2 |
|
| 3 |
namespace stk { |
| 4 |
namespace middle_mesh { |
| 5 |
namespace impl { |
| 6 |
|
| 7 |
const double PI = std::atan(1) * 4; |
| 8 |
|
| 9 |
std::shared_ptr<mesh::Mesh> make_annulus_mesh(const int nelemR, const int nelemTheta, const double rIn, |
| 10 |
const double rOut, const double dtheta, MPI_Comm comm, bool createTriangles) |
| 11 |
{ |
| 12 |
auto f2 = [](const double /*x*/, const double /*y*/) { return 0.0; }; |
| 13 |
return make_annulus_mesh(nelemR, nelemTheta, rIn, rOut, dtheta, comm, createTriangles, f2); |
| 14 |
} |
| 15 |
|
| 16 |
} // namespace impl |
| 17 |
} // namespace middle_mesh |
| 18 |
} // namespace stk |