Skip to content

Commit

Permalink
Refactor
Browse files Browse the repository at this point in the history
  • Loading branch information
kennethassogba committed Nov 28, 2024
1 parent f19b2fa commit 785890a
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 3 deletions.
3 changes: 3 additions & 0 deletions src/demeter/solve.hpp
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
#pragma once

#include "solve/solver.hpp"
File renamed without changes.
6 changes: 3 additions & 3 deletions src/demeter/solve/solver.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,8 @@

#include <Eigen/Core>

#include "methods.hpp"
#include "demeter/common.hpp"
#include "demeter/methods.hpp"
#include "demeter/model/lattice.hpp"

namespace Demeter {
Expand All @@ -14,8 +14,8 @@ class Solver {
: core_(core), am_(am), sm_(sm) {};
void solve();

auto getFlux() const { return flux_; }
auto getPower() const { return power_; }
const auto& getFlux() const { return flux_; }
const auto& getPower() const { return power_; }

private:
const Lattice& core_;
Expand Down

0 comments on commit 785890a

Please sign in to comment.