1#ifndef THESIS_MESH_ANNULUS_TRIAG_MESH_BUILDER_H
2#define THESIS_MESH_ANNULUS_TRIAG_MESH_BUILDER_H
9#define _USE_MATH_DEFINES
11#include <lf/mesh/mesh.h>
12#include <lf/mesh/utils/structured_mesh_builder.h>
36 std::unique_ptr<lf::mesh::MeshFactory> mesh_factory)
82 std::shared_ptr<lf::mesh::Mesh>
Build();
A mesh builder for disks with a hole in the middle.
void setNumAngularCells(lf::base::size_type n)
Set the number of cells in the angular direction.
void setOuterRadius(double r)
Set the radius of the disk.
std::shared_ptr< lf::mesh::Mesh > Build()
Build the mesh.
std::unique_ptr< lf::mesh::MeshFactory > mesh_factory_
lf::base::size_type num_angular_cells_
Eigen::Vector2d center_point_
void setCenterPoint(double x, double y)
Set the location of the center.
lf::base::size_type num_radial_cells_
void setNumRadialCells(lf::base::size_type n)
Set the number of cells in the radial direction.
AnnulusTriagMeshBuilder(std::unique_ptr< lf::mesh::MeshFactory > mesh_factory)
Constructor.
void setInnerRadius(double r)
unsigned int size_type
general type for variables related to size of arrays