[cig-commits] [commit] master: Address Timo's concerns about code. (d88fb9d)

cig_noreply at geodynamics.org cig_noreply at geodynamics.org
Tue Jun 24 13:13:38 PDT 2014


Repository : https://github.com/geodynamics/aspect

On branch  : master
Link       : https://github.com/geodynamics/aspect/compare/6b7c137fa297caa534f0c498bb594d05ed012a95...dd3794be780d4879f029fcef1efb957c61665109

>---------------------------------------------------------------

commit d88fb9df097c06eab10b442a796a6a7339b88824
Author: Wolfgang Bangerth <bangerth at math.tamu.edu>
Date:   Sun Jun 22 06:47:53 2014 -0500

    Address Timo's concerns about code.


>---------------------------------------------------------------

d88fb9df097c06eab10b442a796a6a7339b88824
 source/simulator/core.cc | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/source/simulator/core.cc b/source/simulator/core.cc
index 16ea097..1409a48 100644
--- a/source/simulator/core.cc
+++ b/source/simulator/core.cc
@@ -1191,7 +1191,7 @@ namespace aspect
     
     if (parameters.free_surface_enabled)
       {
-	x_fs_system[0] = &(free_surface->mesh_vertices);
+	x_fs_system[0] = &free_surface->mesh_vertices;
 	freesurface_trans.reset (new parallel::distributed::SolutionTransfer<dim,LinearAlgebra::Vector>
 				 (free_surface->free_surface_dof_handler));
       }
@@ -1250,7 +1250,7 @@ namespace aspect
         std::vector<LinearAlgebra::Vector *> system_tmp (1);
         system_tmp[0] = &distributed_mesh_vertices;
         freesurface_trans->interpolate (system_tmp);
-	free_surface->mesh_constraints.distribute (distributed_mesh_vertices);
+        free_surface->mesh_constraints.distribute (distributed_mesh_vertices);
         free_surface->mesh_vertices = distributed_mesh_vertices;
       }
 



More information about the CIG-COMMITS mailing list