Skip to content

Commit

Permalink
Merge branch 'develop'
Browse files Browse the repository at this point in the history
Former-commit-id: 2443557
  • Loading branch information
LoreDocasar committed Jun 4, 2019
2 parents ec01f6e + e62e81c commit bff5bd1
Show file tree
Hide file tree
Showing 55 changed files with 2,151 additions and 1,974 deletions.
6 changes: 4 additions & 2 deletions .idea/Macro.iml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion .idea/misc.xml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1,064 changes: 505 additions & 559 deletions .idea/workspace.xml

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion CONTRIBUTING.md
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ The main data structure is a Python Dictionary with different data attached to i

# Need more help?
If you need help on how to contribute please contact one of the following people
- Andrés Vieira Vázquez - [email protected]
- Lorena Docasar Vázquez - [email protected]
- Orlando García Feal - [email protected]
- José Manuel Domínguez Alonso - [email protected]
- Alejandro Jacobo Cabrera Crespo - [email protected]
2 changes: 1 addition & 1 deletion DesignSPHysics.FCMacro
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#!/usr/bin/env python2.7
#!/usr/bin/env python3.7
# -*- coding: utf-8 -*-

"""
Expand Down
2 changes: 1 addition & 1 deletion DesignSPHysics.py.REMOVED.git-id
Original file line number Diff line number Diff line change
@@ -1 +1 @@
d75e570df4e0c5883f952e4fce9ae329ff34a4e6
81a84f4ddb8bb8673d1b35b16a8cd3d1ee63e36d
2 changes: 1 addition & 1 deletion LICENSE
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
Copyright (C) 2017 - Andrés Vieira (anvieiravazquez@gmail.com)
Copyright (C) 2019 - Andrés Vieira & Lorena Docasar(docasarlorena@gmail.com)
EPHYSLAB Environmental Physics Laboratory, Universidade de Vigo
EPHYTECH Environmental Physics Technologies

Expand Down
8 changes: 4 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ It includes support for pre-processing with GenCase, simulation with DualSPHysic

In the future the code will be modular, so integration with different SPH solvers can be used. Right now it's optimized to be used with DualSPHysics 4.X

It is developed as a FreeCAD module with a macro bootstrapper, in Python 2.7, using the QT libraries via PySide.
It is developed as a FreeCAD module with a macro bootstrapper, in Python 3.7, using the QT libraries via PySide.

## Installation instructions
To install DesignSPHysics you have 2 options: Using an installer (release version) or using a development build (git)
Expand All @@ -25,13 +25,12 @@ To install a release version go to the download section of the [official webpage

Execute the installer (installer.exe on Windows and installer on GNU/Linux) to open the installer. Then press install and it will copy the needed scripts in FreeCAD's macro default folder.

It can also be done manually, unpackage release-windows.zip or release-linux.tar.gz, choose 'resource' folder and rename the folder to 'DesignSPHysics'. Then copy the folder to the Mod folder of the FreeCAD installation directory.
It can also be done manually, unpackage release-windows.zip or release-linux.tar.gz, choose 'resource' folder and rename the folder to 'DesignSPHysics'. Then copy the folder to the Mod folder of the FreeCAD installation directory.

By default, for example, in Windows, it is located in `%appdata%/FreeCAD/Mod` or in Linux in `~/.FreeCAD/Mod`

Next open the folder and copy the file `DesignSPHysics.FCMacro` into the FreeCAD macro directory (`%appdata%/FreeCAD/Macro` on Windows; `~/.FreeCAD/Macro` on GNU/Linux).


### Installing a develompent build
Clone this repository and rename the folder to 'DesignSPHysics'. Then copy the folder to the Mod folder of the FreeCAD installation directory.

Expand All @@ -46,7 +45,7 @@ You can check the [DesignSPHysics Wiki](http://design.sphysics.org/wiki) to get
Please check the [CONTRIBUTING file](CONTRIBUTING.md) to view information about how to contribute to the project and how it is structured.

## Copyright and License
Copyright (C) 2017 - Andrés Vieira ([email protected])
Copyright (C) 2019
EPHYSLAB Environmental Physics Laboratory, Universidade de Vigo
EPHYTECH Environmental Physics Technologies

Expand All @@ -64,3 +63,4 @@ GNU General Public License for more details.

You should have received a copy of the GNU General Public License
along with DesignSPHysics. If not, see <http://www.gnu.org/licenses/>.

4 changes: 2 additions & 2 deletions default-config.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"windows":{
"gencase_path": "./dualsphysics/bin/GenCase4_win64.exe",
"dsphysics_path": "./dualsphysics/bin/DualSPHysics4.2_win64.exe",
"dsphysics_path": "./dualsphysics/bin/DualSPHysics4.4_win64.exe",
"partvtk4_path": "./dualsphysics/bin/PartVTK4_win64.exe",
"computeforces_path": "./dualsphysics/bin/ComputeForces4_win64.exe",
"floatinginfo_path": "./dualsphysics/bin/FloatingInfo4_win64.exe",
Expand All @@ -12,7 +12,7 @@
},
"linux":{
"gencase_path": "./dualsphysics/bin/GenCase4_linux64",
"dsphysics_path": "./dualsphysics/bin/DualSPHysics4.2_linux64",
"dsphysics_path": "./dualsphysics/bin/DualSPHysics4.4_linux64",
"partvtk4_path": "./dualsphysics/bin/PartVTK4_linux64",
"computeforces_path": "./dualsphysics/bin/ComputeForces4_linux64",
"floatinginfo_path": "./dualsphysics/bin/FloatingInfo4_linux64",
Expand Down
4 changes: 2 additions & 2 deletions ds_modules/constants.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#!/usr/bin/env python2.7
#!/usr/bin/env python3.7
# -*- coding: utf-8 -*-
"""DesignSPHysics Define Constants.
Expand All @@ -8,7 +8,7 @@


"""
Copyright (C) 2018 - Andrés Vieira ([email protected]) & Lorena Docasar Vázquez ([email protected])
Copyright (C) 2019
EPHYSLAB Environmental Physics Laboratory, Universidade de Vigo
This file is part of DesignSPHysics.
Expand Down
2 changes: 1 addition & 1 deletion ds_modules/dsphwidgets.py.REMOVED.git-id
Original file line number Diff line number Diff line change
@@ -1 +1 @@
c927795edb2c568454507f76d2454fe4f65356eb
3cff4b37f8d46ba341c54c515c7d5011c40390ff
7 changes: 2 additions & 5 deletions ds_modules/execution_parameters.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#!/usr/bin/env python2.7
#!/usr/bin/env python3.7
# -*- coding: utf-8 -*-
"""DesignSPHysics Execution Parameters.
Expand All @@ -9,11 +9,8 @@
"""

import sys
reload(sys)
sys.setdefaultencoding('utf-8')


# Copyright (C) 2016 - Andrés Vieira ([email protected])
# Copyright (C) 2019
# EPHYSLAB Environmental Physics Laboratory, Universidade de Vigo
#
# This file is part of DesignSPHysics.
Expand Down
Loading

0 comments on commit bff5bd1

Please sign in to comment.