Changeset 607
- Timestamp:
- 05/27/09 08:40:11 (15 years ago)
- Location:
- issm/trunk/src/c/objects
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
issm/trunk/src/c/objects/Penta.cpp
r595 r607 313 313 CreateKMatrixSlopeCompute( Kgg,inputs,analysis_type,sub_analysis_type); 314 314 } 315 else if (analysis_type==PrognosticAnalysisEnum()){ 316 317 CreateKMatrixPrognostic( Kgg,inputs,analysis_type,sub_analysis_type); 318 } 315 319 else if (analysis_type==ThermalAnalysisEnum()){ 316 320 … … 1021 1025 CreatePVectorSlopeCompute( pg,inputs,analysis_type,sub_analysis_type); 1022 1026 } 1027 else if (analysis_type==PrognosticAnalysisEnum()){ 1028 1029 CreatePVectorPrognostic( pg,inputs,analysis_type,sub_analysis_type); 1030 } 1023 1031 else if (analysis_type==ThermalAnalysisEnum()){ 1024 1032 … … 2408 2416 2409 2417 void Penta::CreatePVectorSlopeCompute( Vec pg, void* inputs, int analysis_type,int sub_analysis_type){ 2418 2419 /*Collapsed formulation: */ 2420 Tria* tria=NULL; 2421 2422 /*Is this element on the bed? :*/ 2423 if(!onbed)return; 2424 2425 /*Spawn Tria element from the base of the Penta: */ 2426 tria=(Tria*)SpawnTria(0,1,2); //grids 0, 1 and 2 make the new tria. 2427 tria->CreatePVector(pg,inputs, analysis_type,sub_analysis_type); 2428 delete tria; 2429 return; 2430 } 2431 2432 #undef __FUNCT__ 2433 #define __FUNCT__ "Penta::CreateKMatrixPrognostic" 2434 2435 void Penta::CreateKMatrixPrognostic(Mat Kgg,void* inputs,int analysis_type,int sub_analysis_type){ 2436 2437 /*Collapsed formulation: */ 2438 Tria* tria=NULL; 2439 2440 /*Is this element on the bed? :*/ 2441 if(!onbed)return; 2442 2443 /*Spawn Tria element from the base of the Penta: */ 2444 tria=(Tria*)SpawnTria(0,1,2); //grids 0, 1 and 2 make the new tria. 2445 tria->CreateKMatrix(Kgg,inputs, analysis_type,sub_analysis_type); 2446 delete tria; 2447 return; 2448 2449 } 2450 2451 #undef __FUNCT__ 2452 #define __FUNCT__ "Penta::CreatePVectorPrognostic" 2453 2454 void Penta::CreatePVectorPrognostic( Vec pg, void* inputs, int analysis_type,int sub_analysis_type){ 2410 2455 2411 2456 /*Collapsed formulation: */ -
issm/trunk/src/c/objects/Penta.h
r586 r607 118 118 void CreateKMatrixSlopeCompute(Mat Kgg,void* vinputs,int analysis_type,int sub_analysis_type); 119 119 void CreatePVectorSlopeCompute( Vec pg, void* vinputs, int analysis_type,int sub_analysis_type); 120 void CreateKMatrixPrognostic(Mat Kgg,void* vinputs,int analysis_type,int sub_analysis_type); 121 void CreatePVectorPrognostic( Vec pg, void* vinputs, int analysis_type,int sub_analysis_type); 120 122 121 123 void CreateKMatrixDiagnosticStokes( Mat Kgg, void* vinputs, int analysis_type,int sub_analysis_type);
Note:
See TracChangeset
for help on using the changeset viewer.