Skip to content
Snippets Groups Projects
Commit 121fae01 authored by Matthieu Schaller's avatar Matthieu Schaller
Browse files

Correction to the tests now that the SPH properties are read in.

parent e5a9a253
No related branches found
No related tags found
No related merge requests found
...@@ -301,7 +301,7 @@ int main(int argc, char *argv[]) { ...@@ -301,7 +301,7 @@ int main(int argc, char *argv[]) {
/* Help users... */ /* Help users... */
message("Smoothing length: h = %f", h * size); message("Smoothing length: h = %f", h * size);
message("Kernel: %s", kernel_name); message("Kernel: %s", kernel_name);
message("Neighbour target: N = %f", h * h * h * kernel_nwneigh / 1.88273); message("Neighbour target: N = %f", h * h * h * 4.0 * M_PI * kernel_gamma3 / 3.0);
message("Density target: rho = %f", rho); message("Density target: rho = %f", rho);
message("div_v target: div = %f", vel == 2 ? 3.f : 0.f); message("div_v target: div = %f", vel == 2 ? 3.f : 0.f);
message("curl_v target: curl = [0., 0., %f]", vel == 3 ? -2.f : 0.f); message("curl_v target: curl = [0., 0., %f]", vel == 3 ? -2.f : 0.f);
......
...@@ -28,7 +28,7 @@ ...@@ -28,7 +28,7 @@
int main() { int main() {
const float h = const_eta_kernel; const float h = 1.2348;
float W[numPoints] = {0.f}; float W[numPoints] = {0.f};
float dW[numPoints] = {0.f}; float dW[numPoints] = {0.f};
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment