Skip to content

Commit

Permalink
Fixed phase 1 interface class constructor
Browse files Browse the repository at this point in the history
  • Loading branch information
Michael Greenburg committed Mar 21, 2024
1 parent 5a22ff0 commit 36f77e2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion project/phase1.md
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,7 @@ protected:
std::vector<double> u, v; // displacement and velocity; each are of size rows*cols

public:
WaveOrthotope(double damping_coef, decltype(u) disp, decltype(v) vel);
WaveOrthotope(auto rows, auto cols, auto damping_coefficient);

auto &displacement(auto i, auto j) { return u[i*cols+j]; }
auto &velocity( auto i, auto j) { return v[i*cols+j]; }
Expand Down

0 comments on commit 36f77e2

Please sign in to comment.