Commit 5918d4f1 authored by sylvainczx's avatar sylvainczx
Browse files

Init

parents
# TiTAN
Foobar is a Python library for dealing with word pluralization.
## Installation
Use the package manager [pip](https://pip.pypa.io/en/stable/) to install foobar.
```bash
pip install foobar
```
## Usage
```python
import foobar
foobar.pluralize('word') # returns 'words'
foobar.pluralize('goose') # returns 'geese'
foobar.singularize('phenomena') # returns 'phenomenon'
```
## Contributing
Pull requests are welcome. For major changes, please open an issue first to discuss what you would like to change.
Please make sure to update tests as appropriate.
## License
[MIT](https://choosealicense.com/licenses/mit/)
<# : titan.bat
@ECHO OFF
path | find /i %CD%"\solvers\CBC\bin" > nul || set path=%path%;%CD%\solvers\CBC\bin
setlocal
for /f "delims=" %%I in ('powershell -noprofile "iex (${%~f0} | out-string)"') do (
echo Lancement de la simulation TiTAN sur %%~I
cd src
..\\python\\python.exe launch_app.py "%%~I" --postProcessing "Tous"
echo Optimisation terminee, retrouvez les resultats dans le dossier output.
pause
)
goto :EOF
: end Batch portion / begin PowerShell hybrid chimera #>
Add-Type -AssemblyName System.Windows.Forms
$f = new-object Windows.Forms.OpenFileDialog
$f.InitialDirectory = pwd
$f.Filter = "Excel Worksheets (*.xlsx)|*.xlsx|All Files (*.*)|*.*"
$f.Title = "Selectionnez le fichier de parametres globaux TiTAN"
$f.ShowHelp = $true
$f.Multiselect = $false
[void]$f.ShowDialog()
if ($f.Multiselect) { $f.FileNames } else { $f.FileName }
<# : titan.bat
@ECHO OFF
path | find /i %CD%"\solvers\CBC\bin" > nul || set path=%path%;%CD%\solvers\CBC\bin
setlocal
for /f "delims=" %%I in ('powershell -noprofile "iex (${%~f0} | out-string)"') do (
echo Lancement de la simulation TiTAN sur %%~I
cd src
..\\python\\python.exe launch_app.py "%%~I" --postProcessing "Sans"
echo Optimisation terminee, retrouvez les resultats dans le dossier output.
pause
)
goto :EOF
: end Batch portion / begin PowerShell hybrid chimera #>
Add-Type -AssemblyName System.Windows.Forms
$f = new-object Windows.Forms.OpenFileDialog
$f.InitialDirectory = pwd
$f.Filter = "Excel Worksheets (*.xlsx)|*.xlsx|All Files (*.*)|*.*"
$f.Title = "Selectionnez le fichier de parametres globaux TiTAN"
$f.ShowHelp = $true
$f.Multiselect = $false
[void]$f.ShowDialog()
if ($f.Multiselect) { $f.FileNames } else { $f.FileName }
<# : titan.bat
@ECHO OFF
path | find /i %CD%"\solvers\CBC\bin" > nul || set path=%path%;%CD%\solvers\CBC\bin
setlocal
for /f "delims=" %%I in ('powershell -noprofile "iex (${%~f0} | out-string)"') do (
echo Lancement de la simulation TiTAN sur %%~I
cd src
..\\python\\python.exe launch_app.py "%%~I" --postProcessing "SansKaya"
echo Optimisation terminee, retrouvez les resultats dans le dossier output.
pause
)
goto :EOF
: end Batch portion / begin PowerShell hybrid chimera #>
Add-Type -AssemblyName System.Windows.Forms
$f = new-object Windows.Forms.OpenFileDialog
$f.InitialDirectory = pwd
$f.Filter = "Excel Worksheets (*.xlsx)|*.xlsx|All Files (*.*)|*.*"
$f.Title = "Selectionnez le fichier de parametres globaux TiTAN"
$f.ShowHelp = $true
$f.Multiselect = $false
[void]$f.ShowDialog()
if ($f.Multiselect) { $f.FileNames } else { $f.FileName }
File added
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment