refactor: move solver skeleton implementations to cpp
This commit is contained in:
@@ -0,0 +1,22 @@
|
||||
#include <fesa/model/material.hpp>
|
||||
|
||||
#include <utility>
|
||||
|
||||
namespace fesa::model {
|
||||
|
||||
Material::Material(core::MaterialId id, std::string name)
|
||||
: id_(id), name_(std::move(name))
|
||||
{
|
||||
}
|
||||
|
||||
core::MaterialId Material::id() const
|
||||
{
|
||||
return id_;
|
||||
}
|
||||
|
||||
const std::string& Material::name() const
|
||||
{
|
||||
return name_;
|
||||
}
|
||||
|
||||
} // namespace fesa::model
|
||||
Reference in New Issue
Block a user