Changeset 5772 for issm/trunk/src/c/objects/Loads/Riftfront.cpp
- Timestamp:
- 09/13/10 13:18:07 (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
issm/trunk/src/c/objects/Loads/Riftfront.cpp
r5655 r5772 376 376 /*}}}*/ 377 377 /*FUNCTION Riftfront::CreateKMatrix {{{1*/ 378 void Riftfront::CreateKMatrix(Mat Kgg ){378 void Riftfront::CreateKMatrix(Mat Kgg,Mat Kff, Mat Kfs){ 379 379 /*do nothing: */ 380 380 } 381 381 /*}}}1*/ 382 382 /*FUNCTION Riftfront::CreatePVector {{{1*/ 383 void Riftfront::CreatePVector(Vec pg ){383 void Riftfront::CreatePVector(Vec pg,Vec pf){ 384 384 /*do nothing: */ 385 385 } 386 386 /*}}}1*/ 387 387 /*FUNCTION Riftfront::PenaltyCreateKMatrix {{{1*/ 388 void Riftfront::PenaltyCreateKMatrix(Mat Kgg, double kmax){388 void Riftfront::PenaltyCreateKMatrix(Mat Kgg,Mat Kff, Mat Kfs,double kmax){ 389 389 390 390 int i; … … 419 419 420 420 /* Get node coordinates and dof list: */ 421 GetDofList(&doflist );421 GetDofList(&doflist,NoneApproximationEnum,GsetEnum); 422 422 423 423 /* Set Ke_gg to 0: */ … … 499 499 /*}}}1*/ 500 500 /*FUNCTION Riftfront::PenaltyCreatePVector {{{1*/ 501 void Riftfront::PenaltyCreatePVector(Vec pg, double kmax){501 void Riftfront::PenaltyCreatePVector(Vec pg,Vec pf,double kmax){ 502 502 503 503 int i ,j; … … 544 544 545 545 /* Get node coordinates and dof list: */ 546 GetDofList(&doflist );546 GetDofList(&doflist,NoneApproximationEnum,GsetEnum); 547 547 548 548 /*Get some inputs: */ … … 731 731 /*}}}1*/ 732 732 /*FUNCTION Riftfront::GetDofList {{{1*/ 733 void Riftfront::GetDofList(int** pdoflist ){733 void Riftfront::GetDofList(int** pdoflist,int approximation,int setenum){ 734 734 735 735 int i,j; … … 751 751 /*Figure out size of doflist: */ 752 752 for(i=0;i<MAX_RIFTFRONT_GRIDS;i++){ 753 numberofdofs+=nodes[i]->GetNumberOfDofs( );753 numberofdofs+=nodes[i]->GetNumberOfDofs(approximation,setenum); 754 754 } 755 755 … … 760 760 count=0; 761 761 for(i=0;i<MAX_RIFTFRONT_GRIDS;i++){ 762 nodes[i]->GetDofList(doflist+count );763 count+=nodes[i]->GetNumberOfDofs( );762 nodes[i]->GetDofList(doflist+count,approximation,setenum); 763 count+=nodes[i]->GetNumberOfDofs(approximation,setenum); 764 764 } 765 765
Note:
See TracChangeset
for help on using the changeset viewer.