diff --git a/src/examples/heat2.cc b/src/examples/heat2.cc index d7e9f1d1040..6d2cfdfec04 100644 --- a/src/examples/heat2.cc +++ b/src/examples/heat2.cc @@ -147,7 +147,7 @@ int main(int argc, char** argv) { real_tensor expnt(1), coeff(1); expnt[0] = 1.0/(4.0*c*tstep*0.5); coeff[0] = pow(4.0*constants::pi*c*tstep*0.5,-1.5); - real_convolution_3d G(world, coeff, expnt); + real_convolution_3d G(world, coeff, expnt, 1.e-4, 1.e-4); // Propagate forward 50 time steps real_function_3d u = u0; diff --git a/src/examples/tdse_example.cc b/src/examples/tdse_example.cc index 49a71c56373..fbc08fdc099 100644 --- a/src/examples/tdse_example.cc +++ b/src/examples/tdse_example.cc @@ -175,7 +175,7 @@ void converge(World& world, functionT& potn, functionT& psi, double& eps) { Tensor coeff(1); coeff[0] = 1.0/pow(constants::pi*tmax,1.5); Tensor expnt(1); expnt[0] = 1.0/tmax; - operatorT* op = new operatorT(world,coeff,expnt); + operatorT* op = new operatorT(world,coeff,expnt,0.0,0.0); for (int iter=0; iter<20; iter++) { if (world.rank() == 0) print("ITER",iter); @@ -197,7 +197,7 @@ void converge(World& world, functionT& potn, functionT& psi, double& eps) { delete op; coeff[0] = 1.0/sqrt(constants::pi*tmax); expnt[0] = 1.0/tmax; - op = new operatorT(world,coeff,expnt); + op = new operatorT(world,coeff,expnt,0.0,0.0); } } delete op;