11#ifndef MESHGENERATOR_H_
12#define MESHGENERATOR_H_
35 void write(
const std::string& fname);
41 double length,
double minor,
double major,
double formFactor,
42 const unsigned int numSegments = 36);
44 static MeshData getBox(
double length,
double width,
double height,
double formFactor);
ippl::Vector< T, Dim > Vector_t
std::vector< Vector_t< double, 3 > > vertices_m
std::vector< std::pair< Vector_t< double, 3 >, Vector_t< double, 3 > > > decorations_m
std::vector< Vector< unsigned int, 3 > > triangles_m
void add(const ElementBase &element)
static MeshData getBox(double length, double width, double height, double formFactor)
std::vector< MeshData > elements_m
void write(const std::string &fname)
static MeshData getCylinder(double length, double minor, double major, double formFactor, const unsigned int numSegments=36)