Index: /issm/trunk-jpl/src/c/classes/FemModel.cpp
===================================================================
--- /issm/trunk-jpl/src/c/classes/FemModel.cpp	(revision 23486)
+++ /issm/trunk-jpl/src/c/classes/FemModel.cpp	(revision 23487)
@@ -589,5 +589,5 @@
 
 	/*If we already have the right analysis, return*/
-	if(this->analysis_counter==index) return;
+	//if(this->analysis_counter==index) return;
 	this->analysis_counter=index;
 
@@ -2521,4 +2521,5 @@
 
 	int index=AnalysisIndex(config_type);
+	_assert_(this->analysis_type_list[index]==config_type); 
 
 	/*start module: */
@@ -2635,4 +2636,5 @@
 	int nodecounter		=0;
 	int constraintcounter=0;
+	this->analysis_counter=-1;
 	for(int i=0;i<this->nummodels;i++){//create nodes for each analysis in analysis_type_list
 
@@ -2646,5 +2648,5 @@
 		this->CreateNodes(newnumberofvertices,my_vertices,nodecounter,analysis_enum,new_nodes);
 		this->CreateConstraints(new_vertices,nodecounter,constraintcounter,analysis_enum,new_constraints_list[i]);
-		//this->UpdateElements(newnumberofelements,newelementslist,my_elements,nodecounter,i,new_elements);
+		this->UpdateElements(newnumberofelements,newelementslist,my_elements,nodecounter,i,new_elements);
 
 		if(new_nodes->Size()) nodecounter=new_nodes->MaximumId();
