[cig-commits] r11222 - mc/3D/CitcomS/trunk/bin
tan2 at geodynamics.org
tan2 at geodynamics.org
Wed Feb 20 17:25:34 PST 2008
Author: tan2
Date: 2008-02-20 17:25:34 -0800 (Wed, 20 Feb 2008)
New Revision: 11222
Modified:
mc/3D/CitcomS/trunk/bin/Citcom.c
Log:
Removed unnecessary call to construct_mat_group()
Modified: mc/3D/CitcomS/trunk/bin/Citcom.c
===================================================================
--- mc/3D/CitcomS/trunk/bin/Citcom.c 2008-02-21 01:03:43 UTC (rev 11221)
+++ mc/3D/CitcomS/trunk/bin/Citcom.c 2008-02-21 01:25:34 UTC (rev 11222)
@@ -210,18 +210,13 @@
output_checkpoint(E);
}
- /*
- make sure that E->mat always gets initialized as a function of depth
- the previous version would not call construct_mat_group if E->control.mat_control != 1
-
- i intend to restore default behavior here
-
- TWB
+ /* updating time-dependent material group
+ * if mat_control is 0, the material group has already been
+ * initialized in initial_conditions() */
+ if(E->control.mat_control==1)
+ read_mat_from_file(E);
- */
- initialize_material(E);
-
if(E->control.vbcs_file==1)
read_velocity_boundary_from_file(E);
/*
More information about the cig-commits
mailing list