[cig-commits] r9328 - cs/avm/trunk
tan2 at geodynamics.org
tan2 at geodynamics.org
Wed Feb 13 18:06:33 PST 2008
Author: tan2
Date: 2008-02-13 18:06:33 -0800 (Wed, 13 Feb 2008)
New Revision: 9328
Modified:
cs/avm/trunk/elastic-models.c
Log:
model_type cannot be 0
Modified: cs/avm/trunk/elastic-models.c
===================================================================
--- cs/avm/trunk/elastic-models.c 2008-02-14 01:14:20 UTC (rev 9327)
+++ cs/avm/trunk/elastic-models.c 2008-02-14 02:06:33 UTC (rev 9328)
@@ -60,17 +60,17 @@
/*
* Select which elastic model to use. The convection is:
*
- * model_type 0-9 are based on PREM.
+ * model_type 1-9 are based on PREM.
* model_type 100 and later are reserved for user modification.
* other model_type are not defined yet.
*/
switch (model_type) {
- case 0:
+ case 1:
/* using modulus derivatives */
prem_mod_derv_em_init(num_columns, num_compositions, &context);
fn = prem_mod_derv_em;
return;
- case 1:
+ case 2:
/* using velocity derivatives */
prem_vel_derv_em_init(num_columns, num_compositions, &context);
fn = prem_vel_derv_em;
More information about the cig-commits
mailing list