Changeset 16082


Ignore:
Timestamp:
09/04/13 21:07:54 (12 years ago)
Author:
Eric.Larour
Message:

CHG: some adjustments to go back to only one slider.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • issm/trunk-jpl/src/mobile/native/Main.cpp

    r16076 r16082  
    7070        }
    7171        /*}}}*/
    72         void Solve(JNIEnv *env, jclass clazz , jdouble alpha, jdouble temperature, jobject buf){ /*{{{*/
     72        void Solve(JNIEnv *env, jclass clazz , jdouble alpha, jobject buf){ /*{{{*/
    7373
    7474                int i,count;
     
    8787                /*reset basal friction to what it was before: */
    8888                __android_log_print(ANDROID_LOG_INFO, "Native","alpha %g ",alpha);
    89                 /*reset basal temperature to what it was before: */
    90                 __android_log_print(ANDROID_LOG_INFO, "Native","temperature %g ",temperature);
     89               
     90                __android_log_print(ANDROID_LOG_INFO, "Native","ok-1");
    9191
    9292                InputDuplicatex(fm->elements,fm->nodes,fm->vertices,fm->loads,fm->materials,fm->parameters,AndroidFrictionCoefficientEnum,FrictionCoefficientEnum);
     93                __android_log_print(ANDROID_LOG_INFO, "Native","ok0");
    9394
    9495                /*now scale friction by alpha: */
    9596                InputScalex(fm->elements,fm->nodes,fm->vertices,fm->loads,fm->materials,fm->parameters,FrictionCoefficientEnum,alpha/100);
     97                __android_log_print(ANDROID_LOG_INFO, "Native","ok1");
    9698
    9799                /*solve: */
    98100                fm -> Solve();
     101                __android_log_print(ANDROID_LOG_INFO, "Native","ok2");
    99102
    100103                /*retrieve results: */
     
    168171        {
    169172                        {"createISSMModel"   ,"(Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;)I"  , (void *) Initialize},
    170                         {"solveISSMModel", "(DDLjava/nio/DoubleBuffer;)V", (void *) Solve}
     173                        {"solveISSMModel", "(DLjava/nio/DoubleBuffer;)V", (void *) Solve}
    171174        };
    172175        /*}}}*/
Note: See TracChangeset for help on using the changeset viewer.