Changeset 14058
- Timestamp:
- 11/29/12 21:29:11 (12 years ago)
- Location:
- issm/trunk-jpl/src
- Files:
-
- 1 added
- 6 edited
Legend:
- Unmodified
- Added
- Removed
-
issm/trunk-jpl/src/android/ISSM/gen/com/example/issm/R.java
r13890 r14058 22 22 public static final class id { 23 23 public static final int button1=0x7f080001; 24 public static final int button2=0x7f080003; 24 25 public static final int input=0x7f080000; 25 public static final int menu_settings=0x7f08000 3;26 public static final int menu_settings=0x7f080004; 26 27 public static final int output=0x7f080002; 27 28 } 28 29 public static final class layout { 29 30 public static final int activity_issm=0x7f030000; 31 public static final int activity_mapselection=0x7f030001; 30 32 } 31 33 public static final class menu { -
issm/trunk-jpl/src/android/ISSM/jni/Main.cpp
r14046 r14058 8 8 { 9 9 fac* f; 10 //FemModel *fm;10 FemModel *fm; 11 11 //------------------------------------------------------------------------------------ 12 12 jint initilize(JNIEnv *env, jclass clazz, jstring file) 13 13 { 14 c onst char *nativefile =env->GetStringUTFChars(file,0);14 char *nativefile = (char*)env->GetStringUTFChars(file,0); 15 15 16 16 f = new fac(); 17 17 18 18 //call Model constructor passing in infile as File Descriptor parameter. 19 //fm = new FemModel(nativefile);19 fm = new FemModel(nativefile); 20 20 21 21 env->ReleaseStringUTFChars(file, nativefile); //must realease the char* -
issm/trunk-jpl/src/c/android/fac.cpp
r13709 r14058 13 13 14 14 /*}}}*/ 15 15 #include "stdio.h" 16 16 long fac::factorial(long n) { 17 17 long f = 1; 18 18 long i; 19 printf("ok1\n"); 19 20 20 21 for(i = 1; i <= n; i++){ 21 22 f *= i; 22 23 } 24 printf("ok2\n"); 23 25 24 26 return f; -
issm/trunk-jpl/src/c/classes/FemModel.cpp
r14002 r14058 20 20 21 21 /*Object constructors and destructor*/ 22 /*FUNCTION FemModel::FemModel(char* filename) {{{*/ 23 FemModel::FemModel(char* filename){ 24 25 } 26 /*}}}*/ 22 27 /*FUNCTION FemModel::FemModel(int argc,char** argv){{{*/ 23 28 FemModel::FemModel(int argc,char** argv,COMM incomm){ -
issm/trunk-jpl/src/c/classes/FemModel.h
r13939 r14058 47 47 48 48 /*constructors, destructors: */ 49 FemModel(char* filename); 49 50 FemModel(int argc,char** argv,COMM comm_init); 50 51 FemModel(char* rootpath, char* inputfilename, char* outputfilename, char* petscfilename, char* lockfilename, const int solution_type,const int* analyses,const int nummodels);
Note:
See TracChangeset
for help on using the changeset viewer.