@@ -228,9 +228,6 @@ namespace aspect
228228 Assert (current_solution_at_points.size () == this ->evaluation_points .size (), ExcInternalError ());
229229 std::vector<Tensor<1 ,dim>> velocities (current_solution_at_points.size (), Tensor<1 ,dim>());
230230
231- // What seems to be happening here is that we check if the python script has been loaded/exists. If it does,
232- // we enter this block. In this block, a python dictionary is made which contains the variables that are
233- // to be passed over to LandLab.
234231 if (pModule)
235232 {
236233 // Build a dictionary with solution values for each variable to pass to Python:
@@ -246,7 +243,6 @@ namespace aspect
246243 for (unsigned int j=0 ; j<current_solution_at_points.size (); ++j)
247244 {
248245 variable_data[i][j] = current_solution_at_points[j][i];
249- // std::cout << this->evaluation_points[j] << ": " << variable_names[i] << " = " << variable_data[i][j] << std::endl;
250246 }
251247 }
252248 for (unsigned int i=0 ; i<variable_names.size (); ++i)
@@ -258,7 +254,7 @@ namespace aspect
258254 // Call update_until(). update_until() returns deposition_erosion. This is what eventually
259255 // gets converted to velocities to deform the ASPECT mesh.
260256 PyObject *pArgs = PyTuple_Pack (2 , PyFloat_FromDouble (this ->get_time ()), pDict);
261- PyObject *pValue = call_python_function (pModule, " update_until" , pArgs); // This line calls the landlab function
257+ PyObject *pValue = call_python_function (pModule, " update_until" , pArgs);
262258 Py_DECREF (pDict);
263259 Py_DECREF (pArgs);
264260
0 commit comments