Skip to content

Commit

Permalink
Add name
Browse files Browse the repository at this point in the history
  • Loading branch information
kennethassogba committed Nov 15, 2024
1 parent 0d24e25 commit 80ea86b
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions src/model/material.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -15,11 +15,13 @@ class Material {
public:
Material(std::vector<double>& sigma_t, std::vector<double>& sigma_s,
std::vector<double>& sigma_a, std::vector<double>& sigma_f,
std::vector<double>& nu_sigma_f, std::vector<double>& chi);
std::vector<double>& nu_sigma_f, std::vector<double>& chi,
std::string_view name = "");
// rvalue reference constructor
Material(std::vector<double>&& sigma_t, std::vector<double>&& sigma_s,
std::vector<double>&& sigma_a, std::vector<double>&& sigma_f,
std::vector<double>&& nu_sigma_f, std::vector<double>&& chi);
std::vector<double>&& nu_sigma_f, std::vector<double>&& chi,
std::string_view name = "");
// move constructor
Material(Material&& other);
// copy constructor
Expand Down

0 comments on commit 80ea86b

Please sign in to comment.