mirror of
https://github.com/openmc-dev/openmc.git
synced 2026-07-27 05:35:49 -04:00
Apply suggestions from code review
Co-authored-by: Patrick Shriwise <pshriwise@gmail.com>
This commit is contained in:
parent
ea79fa079f
commit
9165a836fe
2 changed files with 3 additions and 3 deletions
|
|
@ -492,7 +492,7 @@ class LibMesh : public UnstructuredMesh {
|
|||
public:
|
||||
// Constructors
|
||||
LibMesh(pugi::xml_node node);
|
||||
LibMesh(const std::string& filename, const double length_multiplier = 1.0);
|
||||
LibMesh(const std::string& filename, double length_multiplier = 1.0);
|
||||
|
||||
// Overridden Methods
|
||||
void bins_crossed(Position r0, Position r1, const Direction& u,
|
||||
|
|
|
|||
|
|
@ -2151,7 +2151,7 @@ LibMesh::LibMesh(pugi::xml_node node) : UnstructuredMesh(node)
|
|||
initialize();
|
||||
}
|
||||
|
||||
LibMesh::LibMesh(const std::string& filename, const double length_multiplier)
|
||||
LibMesh::LibMesh(const std::string& filename, double length_multiplier)
|
||||
{
|
||||
filename_ = filename;
|
||||
|
||||
|
|
@ -2162,7 +2162,7 @@ LibMesh::LibMesh(const std::string& filename, const double length_multiplier)
|
|||
initialize();
|
||||
}
|
||||
|
||||
void LibMesh::set_length_multiplier(const double length_multiplier)
|
||||
void LibMesh::set_length_multiplier(double length_multiplier)
|
||||
{
|
||||
length_multiplier_ = length_multiplier;
|
||||
specified_length_multiplier_ = true;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue