Changeset 14086


Ignore:
Timestamp:
12/01/12 22:45:59 (12 years ago)
Author:
Eric.Larour
Message:

CHG: some minor renaming

Location:
issm/trunk-jpl/src/android/ISSM
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • issm/trunk-jpl/src/android/ISSM/jni/Main.cpp

    r14084 r14086  
    5454        }
    5555        /*}}}*/
    56         void solve(JNIEnv *env, jclass clazz , jint alpha, jobject buf) /*{{{*/
     56        void Solve(JNIEnv *env, jclass clazz , jdouble alpha, jobject buf) /*{{{*/
    5757        {
    5858                /*fill out the first two slots, extract the same way in java using get(int position)*/
     
    6060
    6161                //pass bBuff to fem model to allocate data
    62                 // fm -> solve(dBuf, alpha);
     62                // fm -> Solve(dBuf, alpha);
     63                fm -> Solve();
    6364
    6465        }/*}}}*/
     
    7475                        {"fac"          ,     "(J)J"    , (void *) factorial},
    7576                        {"createISSMModel"   ,"(Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;)I"  , (void *) initialize},
    76                         {"processBuffer", "(ILjava/nio/DoubleBuffer;)V", (void *) solve}
     77                        {"solveISSMModel", "(DLjava/nio/DoubleBuffer;)V", (void *) Solve}
    7778        };
    7879        /*}}}*/
  • issm/trunk-jpl/src/android/ISSM/src/com/example/issm/ISSM.java

    r14082 r14086  
    6868    public void fillBuffer()
    6969    {
    70         issmNative.processBuffer(5,buff);
     70        issmNative.solveISSMModel(5,buff);
    7171    }
    7272 //------------------------------------------------------------------------------------------------   
  • issm/trunk-jpl/src/android/ISSM/src/com/example/issm/IssmJni.java

    r14081 r14086  
    55{
    66        public native long fac(long n);
    7         public native void processBuffer(int alpha, DoubleBuffer buff);
     7        public native void solveISSMModel(double alpha, DoubleBuffer buff);
    88        public native int createISSMModel(String solution_type, String absfile, String relfile);
    99        static
Note: See TracChangeset for help on using the changeset viewer.