Changeset 4452
- Timestamp:
- 07/07/10 16:56:31 (15 years ago)
- Location:
- issm/trunk/src/c
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
issm/trunk/src/c/objects/Loads/Icefront.cpp
r4396 r4452 641 641 Node** nodes=NULL; 642 642 Element* element=NULL; 643 int element_type;644 645 643 646 644 /*quad grids: */ … … 664 662 665 663 /*check icefront is associated to a pentaelem: */ 666 if(element_type!=PentaEnum){ 667 ISSMERROR(" quad icefront is associated to a TriaElem!"); 668 } 664 if(element->Enum()!=PentaEnum) ISSMERROR("Only Penta supported yet"); 669 665 670 666 /* Get dof list and node coordinates: */ … … 673 669 674 670 //Identify which grids are comprised in the quad: 675 if(element_type==PentaEnum)element_nodes=(Node**)xmalloc(6*sizeof(Node*));671 element_nodes=(Node**)xmalloc(6*sizeof(Node*)); 676 672 element->GetNodes((void**)element_nodes); 677 673 -
issm/trunk/src/c/solutions/stokescontrolinit.cpp
r4356 r4452 51 51 52 52 if(verbose)_printf_("%s\n"," update boundary conditions for stokes using velocities previously computed..."); 53 ResetBoundaryConditions(femmodel,Diagnostic AnalysisEnum,StokesAnalysisEnum);53 ResetBoundaryConditions(femmodel,DiagnosticStokesAnalysisEnum); 54 54 55 55 if(verbose)_printf_("%s\n"," computing stokes velocities and pressure ...");
Note:
See TracChangeset
for help on using the changeset viewer.