Changeset 14589


Ignore:
Timestamp:
04/15/13 15:56:42 (12 years ago)
Author:
Eric.Larour
Message:

CHG: implemented an empty kernel for the gia solution

Location:
issm/trunk-jpl
Files:
9 edited

Legend:

Unmodified
Added
Removed
  • issm/trunk-jpl/src/c/classes/FemModel.cpp

    r14435 r14589  
    15431543/*}}}*/
    15441544#endif
     1545#ifdef _HAVE_GIA_
     1546void 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  
    9393                void ThicknessAbsGradientx( IssmDouble* pJ, bool process_units,int weight_index);
    9494                #endif
     95                #ifdef _HAVE_GIA_
     96                void Deflection(Vector<IssmDouble>* wg);
     97                #endif
    9598                void SystemMatricesx(Matrix<IssmDouble>** pKff, Matrix<IssmDouble>** pKfs, Vector<IssmDouble>** ppf, Vector<IssmDouble>** pdf, IssmDouble* pkmax);
    9699                void TimeAdaptx(IssmDouble* pdt);
  • issm/trunk-jpl/src/c/classes/objects/Elements/Element.h

    r14435 r14589  
    100100                #endif
    101101
     102                #ifdef _HAVE_GIA_
     103                virtual void   Deflection(Vector<IssmDouble>* wg)=0;
     104                #endif
     105
    102106                #ifdef _HAVE_CONTROL_
    103107                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  
    33593359#endif
    33603360
     3361#ifdef _HAVE_GIA_
     3362/*FUNCTION Penta::Deflection {{{*/
     3363void Penta::Deflection(Vector<IssmDouble>* wg){
     3364
     3365        return;
     3366}
     3367/*}}}*/
     3368#endif
     3369
    33613370#ifdef _HAVE_THERMAL_
    33623371/*FUNCTION Penta::CreateKMatrixEnthalpy {{{*/
  • issm/trunk-jpl/src/c/classes/objects/Elements/Penta.h

    r14435 r14589  
    140140                void   MaxVy(IssmDouble* pmaxvy, bool process_units);
    141141                void   MaxVz(IssmDouble* pmaxvz, bool process_units);
     142                #endif
     143
     144                #ifdef _HAVE_GIA_
     145                void   Deflection(Vector<IssmDouble>* wg);
    142146                #endif
    143147
  • issm/trunk-jpl/src/c/classes/objects/Elements/Tria.cpp

    r14588 r14589  
    30353035        /*Return: */
    30363036        return Total_Smb;
     3037}
     3038/*}}}*/
     3039#endif
     3040
     3041#ifdef _HAVE_GIA_
     3042/*FUNCTION Tria::Deflection {{{*/
     3043void Tria::Deflection(Vector<IssmDouble>* wg){
     3044
     3045        return;
    30373046}
    30383047/*}}}*/
  • issm/trunk-jpl/src/c/classes/objects/Elements/Tria.h

    r14435 r14589  
    140140                #endif
    141141
     142                #ifdef _HAVE_GIA_
     143                void   Deflection(Vector<IssmDouble>* wg);
     144                #endif
     145
    142146                #ifdef _HAVE_CONTROL_
    143147                IssmDouble DragCoefficientAbsGradient(bool process_units,int weight_index);
  • issm/trunk-jpl/src/c/solutions/gia_core.cpp

    r14588 r14589  
    3434
    3535        /*call the main module: */
    36         //Deflection();
     36        femmodel->Deflection(wg);
    3737       
    3838        InputUpdateFromSolutionx( femmodel->elements,femmodel->nodes, femmodel->vertices, femmodel->loads, femmodel->materials, femmodel->parameters,wg);
  • issm/trunk-jpl/test/NightlyRun/test330.m

    r14588 r14589  
    55md=setflowequation(md,'macayeal','all');
    66md.verbose=verbose('solution',true,'convergence',true,'mprocessor',true,'module',true);
    7 md.cluster=generic('name',oshostname(),'np',1);
     7md.cluster=generic('name',oshostname(),'np',3);
    88md=solve(md,GiaSolutionEnum());
    99
Note: See TracChangeset for help on using the changeset viewer.