We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b17550b commit 8780f07Copy full SHA for 8780f07
ExampleCodes/FFT/Basic/main.cpp
@@ -133,10 +133,10 @@ int main (int argc, char* argv[])
133
Real x = prob_lo_x + (i+0.5) * dx[0];
134
Real y = prob_lo_y + (j+0.5) * dx[1];
135
#if (AMREX_SPACEDIM == 2)
136
- phi_ptr(i,j,k) = std::exp(-10.*((x-cen_x)*(x-cen_x)+(y-cen_y)*(y-cen_y)));
+ phi_ptr(i,j,k) = std::exp(-500.*((x-cen_x)*(x-cen_x)+(y-cen_y)*(y-cen_y)));
137
#elif (AMREX_SPACEDIM == 3)
138
Real z = prob_lo_z + (k+0.5) * dx[2];
139
- phi_ptr(i,j,k) = std::exp(-10.*((x-cen_x)*(x-cen_x)+(y-cen_y)*(y-cen_y)+(z-cen_z)*(z-cen_z)));
+ phi_ptr(i,j,k) = std::exp(-500.*((x-cen_x)*(x-cen_x)+(y-cen_y)*(y-cen_y)+(z-cen_z)*(z-cen_z)));
140
#endif
141
142
});
0 commit comments