50 void addMesh(std::unique_ptr<MeshLib::Mesh> mesh);
80 std::vector<std::unique_ptr<BoundaryCondition>>
const&
97 std::string
const& param_name);
101 std::string
const& param_name);
110 std::vector<std::unique_ptr<MeshLib::Mesh>>::const_iterator
findMeshByName(
111 std::string
const& name)
const;
112 std::vector<std::unique_ptr<MeshLib::Mesh>>::iterator
findMeshByName(
113 std::string
const& name);
Definition of the GEOObjects class.
Definition of the Mesh class.
void addBoundaryCondition(std::unique_ptr< BoundaryCondition > bc)
Adds a boundary condition to the project.
void removeSourceTerm(std::string const &primary_var_name, std::string const ¶m_name)
Remove one source term.
GeoLib::GEOObjects _geoObjects
const std::vector< std::unique_ptr< MeshLib::Mesh > > & getMeshObjects() const
Returns all the meshes with their respective names.
bool removeMesh(const std::string &name)
std::vector< std::unique_ptr< SourceTerm > > _source_terms
Project(Project &)=delete
void addMesh(std::unique_ptr< MeshLib::Mesh > mesh)
GeoLib::GEOObjects & getGEOObjects()
Returns the GEOObjects containing all points, polylines and surfaces.
void removePrimaryVariable(std::string const &primary_var_name)
Removes a primary variable incl. all associated conditions.
const MeshLib::Mesh * getMesh(const std::string &name) const
std::vector< std::unique_ptr< SourceTerm > > const & getSourceTerms() const
Returns the vector of source terms.
std::vector< std::unique_ptr< MeshLib::Mesh > >::const_iterator findMeshByName(std::string const &name) const
Returns an iterator to the first found mesh with the given name.
void addSourceTerm(std::unique_ptr< SourceTerm > st)
Adds a source term to the project.
Project()=default
Constructor.
std::vector< std::unique_ptr< BoundaryCondition > > const & getBoundaryConditions() const
Returns the vector of boundary conditions.
void removeBoundaryCondition(std::string const &primary_var_name, std::string const ¶m_name)
Removes one boundary condition.
bool getUniqueName(std::string &name) const
std::vector< std::unique_ptr< BoundaryCondition > > _boundary_conditions
std::vector< std::unique_ptr< MeshLib::Mesh > > _mesh_vec
Container class for geometric objects.