Difference between revisions of "Onelab/Mobile"
(→Compiling Onelab/Mobile) |
|||
Line 3: | Line 3: | ||
* [https://itunes.apple.com/us/app/onelab/id845930897 Download Onelab/Mobile for iPhone and iPad on the App Store] | * [https://itunes.apple.com/us/app/onelab/id845930897 Download Onelab/Mobile for iPhone and iPad on the App Store] | ||
* [https://play.google.com/store/apps/details?id=org.geuz.onelab Download Onelab/Mobile for Android devices on Google Play] | * [https://play.google.com/store/apps/details?id=org.geuz.onelab Download Onelab/Mobile for Android devices on Google Play] | ||
− | Onelab/Mobile | + | Onelab/Mobile contains [[Gmsh]] and [[GetDP]] and runs all computations locally on your mobile device. |
− | |||
− | |||
== Running pre-packaged models == | == Running pre-packaged models == | ||
Line 19: | Line 17: | ||
== Installing new models == | == Installing new models == | ||
− | + | New models must be packaged as ZIP archives. The ZIP archive of the | |
− | + | To install a new model, you must first bundle its inside a directory, which should contain a file named '''infos.xml''' with the model information: | |
+ | <syntaxhighlight lang="xml" enclose="div"> | ||
+ | <?xml version="1.0" encoding="utf-8"?> | ||
+ | <models> | ||
+ | <model> | ||
+ | <title>Your model title</title> | ||
+ | <summary>Your model summary</summary> | ||
+ | <file type="pro">your_main_pro_file.pro</file> | ||
+ | <preview type="png">your_128x128_pixel_screenshot.png</preview> | ||
+ | <url>http://your_model_website.com</url> | ||
+ | </model> | ||
+ | </models> | ||
+ | </syntaxhighlight> | ||
+ | (See e.g. [http://onelab.info/files/inductor Inductor] or [http://onelab.info/files/inductor Waveguides] for examples.) | ||
+ | |||
+ | The model directory should be compressed as a ZIP archive. It can then be opened directly on your device (e.g. through iCloud or Safari on iOS, or through Google Drive, Dropbox, etc. on Android). | ||
== Installing beta versions of Onelab/Mobile == | == Installing beta versions of Onelab/Mobile == | ||
− | + | Please send an email to mobile@onelab.info if you want to become a Onelab/Info beta-tester. | |
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
== Compiling Onelab/Mobile == | == Compiling Onelab/Mobile == | ||
− | + | The Onelab/Mobile source code is available in the [https://geuz.org/trac/gmsh/browser/trunk/contrib/mobile/ Gmsh SVN repository] {{#tip-info: Login and password: gmsh}}. Automated build scripts are provided for [https://geuz.org/trac/gmsh/browser/trunk/contrib/mobile/utils/ios_build.sh iOS] (requires a Mac with Xcode >= 6) and | |
− | + | [https://geuz.org/trac/gmsh/browser/trunk/contrib/mobile/utils/android_build.sh Android] (requires Android SDK >= 14 and the Android NDK). | |
− | |||
− | [https://geuz.org/trac/gmsh/browser/trunk/contrib/mobile/ | ||
− | |||
− | |||
− | |||
− |
Revision as of 18:39, 26 September 2015
Onelab/Mobile is available for iOS (iPhone and iPad) and Android:
- Download Onelab/Mobile for iPhone and iPad on the App Store
- Download Onelab/Mobile for Android devices on Google Play
Onelab/Mobile contains Gmsh and GetDP and runs all computations locally on your mobile device.
Contents
Running pre-packaged models
A list of available models appears when you launch Onelab/Mobile. Selecting a model will load it. You can then select Run to launch a simulation with the default set of parameters. To change parameters, select Parameters.
Installing new models
New models must be packaged as ZIP archives. The ZIP archive of the
To install a new model, you must first bundle its inside a directory, which should contain a file named infos.xml with the model information: <syntaxhighlight lang="xml" enclose="div"> <?xml version="1.0" encoding="utf-8"?> <models>
<model> <title>Your model title</title> <summary>Your model summary</summary> <file type="pro">your_main_pro_file.pro</file> <preview type="png">your_128x128_pixel_screenshot.png</preview> <url>http://your_model_website.com</url> </model>
</models> </syntaxhighlight> (See e.g. Inductor or Waveguides for examples.)
The model directory should be compressed as a ZIP archive. It can then be opened directly on your device (e.g. through iCloud or Safari on iOS, or through Google Drive, Dropbox, etc. on Android).
Installing beta versions of Onelab/Mobile
Please send an email to mobile@onelab.info if you want to become a Onelab/Info beta-tester.
Compiling Onelab/Mobile
The Onelab/Mobile source code is available in the Gmsh SVN repository {{#tip-info: Login and password: gmsh}}. Automated build scripts are provided for iOS (requires a Mac with Xcode >= 6) and
Android (requires Android SDK >= 14 and the Android NDK).