39 : file_(
std::move(file)), opts_(
std::move(opts)) {}
56 vtkNew<NEM::SRV::NucMeshSrv> nucMeshRunner{};
57 nucMeshRunner->SetConfiguration(
opts_);
58 nucMeshRunner->Update();
59 return NEM::MSH::smeshGeoMesh::SafeDownCast(nucMeshRunner->GetOutput());
63 auto outNative = this->
draw();
64 auto outType = vtkSmartPointer<NEM::MSH::geoMeshBase>::Take(
66 outType->takeGeoMesh(outNative);
geoMeshBase * New(MeshType meshType)
Create a new mesh object.
void setFiles(Files files)
Set the output file for the driver.
jsoncons::string_view getProgramType() const override
void execute() const override
Construct the mesh and write to file.
vtkSmartPointer< NEM::MSH::geoMeshBase > draw() const
Construct the mesh.
const Opts & getOpts() const
Get the options set on a driver object.
void setOpts(Opts opts)
Set the geometry/mesh and extrusion to execute.
static constexpr const char * programType
const Files & getFiles() const
Get the output file name.
Class to create 2d geometry from polygons and circles and mesh it.