Changeset 11995 for issm/trunk/src/c/objects/Loads/Pengrid.cpp
- Timestamp:
- 04/16/12 14:57:18 (13 years ago)
- Location:
- issm/trunk
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
issm/trunk
- Property svn:ignore
-
old new 7 7 config.status 8 8 configure 9 doxygen10 9 ISSM.paf 11 10 ISSM.ppf 12 11 ISSM.ppf_cache 13 12 libtool 14 list15 13 Makefile 16 14 Makefile.in
-
- Property svn:mergeinfo changed
- Property svn:ignore
-
issm/trunk/src/c/objects/Loads/Pengrid.cpp
r10576 r11995 295 295 /*}}}1*/ 296 296 /*FUNCTION Pengrid::CreateKMatrix {{{1*/ 297 void Pengrid::CreateKMatrix(Mat Kff, MatKfs){297 void Pengrid::CreateKMatrix(Matrix* Kff, Matrix* Kfs){ 298 298 299 299 /*No loads applied, do nothing: */ … … 303 303 /*}}}1*/ 304 304 /*FUNCTION Pengrid::CreatePVector {{{1*/ 305 void Pengrid::CreatePVector(Vec pf){305 void Pengrid::CreatePVector(Vector* pf){ 306 306 307 307 /*No loads applied, do nothing: */ … … 311 311 /*}}}1*/ 312 312 /*FUNCTION Pengrid::PenaltyCreateMatrix {{{1*/ 313 void Pengrid::PenaltyCreateKMatrix(Mat Kff, MatKfs,double kmax){313 void Pengrid::PenaltyCreateKMatrix(Matrix* Kff, Matrix* Kfs,double kmax){ 314 314 315 315 /*Retrieve parameters: */ … … 319 319 320 320 switch(analysis_type){ 321 #ifdef _HAVE_DIAGNOSTIC_ 321 322 case DiagnosticHorizAnalysisEnum: case AdjointHorizAnalysisEnum: 322 323 Ke=PenaltyCreateKMatrixDiagnosticStokes(kmax); 323 324 break; 325 #endif 326 #ifdef _HAVE_THERMAL_ 324 327 case ThermalAnalysisEnum: 325 328 Ke=PenaltyCreateKMatrixThermal(kmax); … … 328 331 Ke=PenaltyCreateKMatrixMelting(kmax); 329 332 break; 333 #endif 330 334 default: 331 335 _error_("analysis %i (%s) not supported yet",analysis_type,EnumToStringx(analysis_type)); … … 340 344 /*}}}1*/ 341 345 /*FUNCTION Pengrid::PenaltyCreatePVector {{{1*/ 342 void Pengrid::PenaltyCreatePVector(Vec pf,double kmax){346 void Pengrid::PenaltyCreatePVector(Vector* pf,double kmax){ 343 347 344 348 /*Retrieve parameters: */ … … 348 352 349 353 switch(analysis_type){ 354 #ifdef _HAVE_DIAGNOSTIC_ 350 355 case ThermalAnalysisEnum: 351 356 pe=PenaltyCreatePVectorThermal(kmax); 352 357 break; 358 #endif 359 #ifdef _HAVE_THERMAL_ 353 360 case MeltingAnalysisEnum: 354 361 pe=PenaltyCreatePVectorMelting(kmax); … … 356 363 case DiagnosticHorizAnalysisEnum: case AdjointHorizAnalysisEnum: 357 364 break; 365 #endif 358 366 default: 359 367 _error_("analysis %i (%s) not supported yet",analysis_type,EnumToStringx(analysis_type)); … … 539 547 } 540 548 /*}}}1*/ 549 #ifdef _HAVE_DIAGNOSTIC_ 541 550 /*FUNCTION Pengrid::PenaltyCreateKMatrixDiagnosticStokes {{{1*/ 542 551 ElementMatrix* Pengrid::PenaltyCreateKMatrixDiagnosticStokes(double kmax){ … … 571 580 } 572 581 /*}}}1*/ 582 #endif 583 #ifdef _HAVE_THERMAL_ 573 584 /*FUNCTION Pengrid::PenaltyCreateKMatrixMelting {{{1*/ 574 585 ElementMatrix* Pengrid::PenaltyCreateKMatrixMelting(double kmax){ … … 690 701 } 691 702 /*}}}1*/ 703 #endif 692 704 /*FUNCTION Pengrid::ResetConstraint {{{1*/ 693 705 void Pengrid::ResetConstraint(void){
Note:
See TracChangeset
for help on using the changeset viewer.