To receive notifications about scheduled maintenance, please subscribe to the mailing-list gitlab-operations@sympa.ethz.ch. You can subscribe to the mailing-list at https://sympa.ethz.ch

Commit 107a62c5 authored by Michail Chatzimanolakis's avatar Michail Chatzimanolakis
Browse files

Add commented out part of initial condition

parent 661399f7
......@@ -51,7 +51,7 @@ WaveEquation::~WaveEquation() {
double WaveEquation::Initial_Condition(double x0, double x1, double x2) {
double r =
(x0 - 0.5) * (x0 - 0.5) + (x1 - 0.5) * (x1 - 0.5); //+ (x2-0.5)*(x2-0.5);
(x0 - 0.5) * (x0 - 0.5) + (x1 - 0.5) * (x1 - 0.5) + (x2-0.5)*(x2-0.5);
return exp(-r / 0.1);
}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment