Changeset 5772 for issm/trunk/src/c/objects/Loads/Numericalflux.cpp
- Timestamp:
- 09/13/10 13:18:07 (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
issm/trunk/src/c/objects/Loads/Numericalflux.cpp
r5741 r5772 328 328 /*}}}*/ 329 329 /*FUNCTION Numericalflux::CreateKMatrix {{{1*/ 330 void Numericalflux::CreateKMatrix(Mat Kgg ){330 void Numericalflux::CreateKMatrix(Mat Kgg,Mat Kff, Mat Kfs){ 331 331 332 332 int type; … … 349 349 /*}}}*/ 350 350 /*FUNCTION Numericalflux::CreatePVector {{{1*/ 351 void Numericalflux::CreatePVector(Vec pg ){351 void Numericalflux::CreatePVector(Vec pg,Vec pf){ 352 352 353 353 int type; … … 374 374 /*}}}*/ 375 375 /*FUNCTION Numericalflux::PenaltyCreateKMatrix {{{1*/ 376 void Numericalflux::PenaltyCreateKMatrix(Mat Kgg, double kmax){376 void Numericalflux::PenaltyCreateKMatrix(Mat Kgg,Mat Kff, Mat Kfs,double kmax){ 377 377 378 378 /*No stiffness loads applied, do nothing: */ … … 382 382 /*}}}*/ 383 383 /*FUNCTION Numericalflux::PenaltyCreatePVector{{{1*/ 384 void Numericalflux::PenaltyCreatePVector(Vec pg, double kmax){384 void Numericalflux::PenaltyCreatePVector(Vec pg,Vec pf,double kmax){ 385 385 386 386 /*No penalty loads applied, do nothing: */ … … 417 417 418 418 GetVerticesCoordinates(&xyz_list[0][0], nodes,NUMVERTICES_INTERNAL); 419 GetDofList(&doflist );419 GetDofList(&doflist,NoneApproximationEnum,GsetEnum); 420 420 421 421 /*Retrieve all inputs and parameters we will be needing: */ … … 523 523 } 524 524 525 GetDofList(&doflist );525 GetDofList(&doflist,NoneApproximationEnum,GsetEnum); 526 526 527 527 /* Start looping on the number of gaussian points: */ … … 617 617 } 618 618 619 GetDofList(&doflist );619 GetDofList(&doflist,NoneApproximationEnum,GsetEnum); 620 620 621 621 /* Start looping on the number of gaussian points: */ … … 646 646 /*}}}*/ 647 647 /*FUNCTION Numericalflux::GetDofList {{{1*/ 648 void Numericalflux::GetDofList(int** pdoflist ){648 void Numericalflux::GetDofList(int** pdoflist,int approximation,int setenum){ 649 649 650 650 int i,j; … … 671 671 /*Figure out size of doflist: */ 672 672 for(i=0;i<numberofnodes;i++){ 673 numberofdofs+=nodes[i]->GetNumberOfDofs( );673 numberofdofs+=nodes[i]->GetNumberOfDofs(approximation,setenum); 674 674 } 675 675 … … 680 680 count=0; 681 681 for(i=0;i<numberofnodes;i++){ 682 nodes[i]->GetDofList(doflist+count );683 count+=nodes[i]->GetNumberOfDofs( );682 nodes[i]->GetDofList(doflist+count,approximation,setenum); 683 count+=nodes[i]->GetNumberOfDofs(approximation,setenum); 684 684 } 685 685
Note:
See TracChangeset
for help on using the changeset viewer.