Changeset 14589
- Timestamp:
- 04/15/13 15:56:42 (12 years ago)
- Location:
- issm/trunk-jpl
- Files:
-
- 9 edited
Legend:
- Unmodified
- Added
- Removed
-
issm/trunk-jpl/src/c/classes/FemModel.cpp
r14435 r14589 1543 1543 /*}}}*/ 1544 1544 #endif 1545 #ifdef _HAVE_GIA_ 1546 void FemModel::Deflection(Vector<IssmDouble>* wg){ /*{{{*/ 1547 1548 int i; 1549 1550 /*intermediary: */ 1551 Element *element = NULL; 1552 1553 /*Go through elements, and add contribution from each element to the deflection vector wg:*/ 1554 for (i=0;i<elements->Size();i++){ 1555 element=dynamic_cast<Element*>(elements->GetObjectByOffset(i)); 1556 element->Deflection(wg); 1557 } 1558 } 1559 /*}}}*/ 1560 #endif -
issm/trunk-jpl/src/c/classes/FemModel.h
r14159 r14589 93 93 void ThicknessAbsGradientx( IssmDouble* pJ, bool process_units,int weight_index); 94 94 #endif 95 #ifdef _HAVE_GIA_ 96 void Deflection(Vector<IssmDouble>* wg); 97 #endif 95 98 void SystemMatricesx(Matrix<IssmDouble>** pKff, Matrix<IssmDouble>** pKfs, Vector<IssmDouble>** ppf, Vector<IssmDouble>** pdf, IssmDouble* pkmax); 96 99 void TimeAdaptx(IssmDouble* pdt); -
issm/trunk-jpl/src/c/classes/objects/Elements/Element.h
r14435 r14589 100 100 #endif 101 101 102 #ifdef _HAVE_GIA_ 103 virtual void Deflection(Vector<IssmDouble>* wg)=0; 104 #endif 105 102 106 #ifdef _HAVE_CONTROL_ 103 107 virtual void Gradj(Vector<IssmDouble>* gradient,int control_type,int control_index)=0; -
issm/trunk-jpl/src/c/classes/objects/Elements/Penta.cpp
r14576 r14589 3359 3359 #endif 3360 3360 3361 #ifdef _HAVE_GIA_ 3362 /*FUNCTION Penta::Deflection {{{*/ 3363 void Penta::Deflection(Vector<IssmDouble>* wg){ 3364 3365 return; 3366 } 3367 /*}}}*/ 3368 #endif 3369 3361 3370 #ifdef _HAVE_THERMAL_ 3362 3371 /*FUNCTION Penta::CreateKMatrixEnthalpy {{{*/ -
issm/trunk-jpl/src/c/classes/objects/Elements/Penta.h
r14435 r14589 140 140 void MaxVy(IssmDouble* pmaxvy, bool process_units); 141 141 void MaxVz(IssmDouble* pmaxvz, bool process_units); 142 #endif 143 144 #ifdef _HAVE_GIA_ 145 void Deflection(Vector<IssmDouble>* wg); 142 146 #endif 143 147 -
issm/trunk-jpl/src/c/classes/objects/Elements/Tria.cpp
r14588 r14589 3035 3035 /*Return: */ 3036 3036 return Total_Smb; 3037 } 3038 /*}}}*/ 3039 #endif 3040 3041 #ifdef _HAVE_GIA_ 3042 /*FUNCTION Tria::Deflection {{{*/ 3043 void Tria::Deflection(Vector<IssmDouble>* wg){ 3044 3045 return; 3037 3046 } 3038 3047 /*}}}*/ -
issm/trunk-jpl/src/c/classes/objects/Elements/Tria.h
r14435 r14589 140 140 #endif 141 141 142 #ifdef _HAVE_GIA_ 143 void Deflection(Vector<IssmDouble>* wg); 144 #endif 145 142 146 #ifdef _HAVE_CONTROL_ 143 147 IssmDouble DragCoefficientAbsGradient(bool process_units,int weight_index); -
issm/trunk-jpl/src/c/solutions/gia_core.cpp
r14588 r14589 34 34 35 35 /*call the main module: */ 36 //Deflection();36 femmodel->Deflection(wg); 37 37 38 38 InputUpdateFromSolutionx( femmodel->elements,femmodel->nodes, femmodel->vertices, femmodel->loads, femmodel->materials, femmodel->parameters,wg); -
issm/trunk-jpl/test/NightlyRun/test330.m
r14588 r14589 5 5 md=setflowequation(md,'macayeal','all'); 6 6 md.verbose=verbose('solution',true,'convergence',true,'mprocessor',true,'module',true); 7 md.cluster=generic('name',oshostname(),'np', 1);7 md.cluster=generic('name',oshostname(),'np',3); 8 8 md=solve(md,GiaSolutionEnum()); 9 9
Note:
See TracChangeset
for help on using the changeset viewer.