stepss 3.74__tar.gz → 3.76__tar.gz
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- {stepss-3.74/stepss.egg-info → stepss-3.76}/PKG-INFO +1 -1
- {stepss-3.74 → stepss-3.76}/stepss/__init__.py +1 -1
- {stepss-3.74 → stepss-3.76}/stepss/_bundled.py +1 -1
- {stepss-3.74 → stepss-3.76}/stepss/libs/lin/ramses.so +0 -0
- {stepss-3.74 → stepss-3.76}/stepss/libs/mac/ramses.so +0 -0
- {stepss-3.74 → stepss-3.76}/stepss/libs/win/ramses.dll +0 -0
- {stepss-3.74 → stepss-3.76}/stepss/simulator.py +0 -56
- {stepss-3.74 → stepss-3.76/stepss.egg-info}/PKG-INFO +1 -1
- {stepss-3.74 → stepss-3.76}/LICENSE.rst +0 -0
- {stepss-3.74 → stepss-3.76}/MANIFEST.in +0 -0
- {stepss-3.74 → stepss-3.76}/README.rst +0 -0
- {stepss-3.74 → stepss-3.76}/setup.cfg +0 -0
- {stepss-3.74 → stepss-3.76}/setup.py +0 -0
- {stepss-3.74 → stepss-3.76}/stepss/cases.py +0 -0
- {stepss-3.74 → stepss-3.76}/stepss/extractor.py +0 -0
- {stepss-3.74 → stepss-3.76}/stepss/globals.py +0 -0
- {stepss-3.74 → stepss-3.76}/stepss/helios.py +0 -0
- {stepss-3.74 → stepss-3.76}/stepss/libs/helios_api.h +0 -0
- {stepss-3.74 → stepss-3.76}/stepss/libs/lin/libhelios_api.so +0 -0
- {stepss-3.74 → stepss-3.76}/stepss/libs/mac/libhelios_api.dylib +0 -0
- {stepss-3.74 → stepss-3.76}/stepss/libs/ramses.h +0 -0
- {stepss-3.74 → stepss-3.76}/stepss/libs/win/helios_api.dll +0 -0
- {stepss-3.74 → stepss-3.76}/stepss/scripts/__init__.py +0 -0
- {stepss-3.74 → stepss-3.76}/stepss/scripts/exec.py +0 -0
- {stepss-3.74 → stepss-3.76}/stepss.egg-info/SOURCES.txt +0 -0
- {stepss-3.74 → stepss-3.76}/stepss.egg-info/dependency_links.txt +0 -0
- {stepss-3.74 → stepss-3.76}/stepss.egg-info/entry_points.txt +0 -0
- {stepss-3.74 → stepss-3.76}/stepss.egg-info/requires.txt +0 -0
- {stepss-3.74 → stepss-3.76}/stepss.egg-info/top_level.txt +0 -0
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
@@ -1014,59 +1014,3 @@ class sim(object):
|
|
|
1014
1014
|
>>> ram.contSim(ram.getInfTime()) # continue the simulation
|
|
1015
1015
|
"""
|
|
1016
1016
|
return self._ramseslib.add_disturb(t_dist, disturb.encode('utf-8'))
|
|
1017
|
-
|
|
1018
|
-
def load_MDL(self, MDLName):
|
|
1019
|
-
"""Load an external shared library containing user-defined RAMSES models.
|
|
1020
|
-
|
|
1021
|
-
The library must expose the standard RAMSES user-model interface. Once
|
|
1022
|
-
loaded, the models it defines become available to the solver for the
|
|
1023
|
-
lifetime of this :class:`sim` instance.
|
|
1024
|
-
|
|
1025
|
-
:param str MDLName: path to the model library (``*.dll`` on Windows,
|
|
1026
|
-
``*.so`` on Linux). Use the current directory or
|
|
1027
|
-
an absolute path.
|
|
1028
|
-
:returns: return value from the underlying RAMSES call (non-zero on error).
|
|
1029
|
-
|
|
1030
|
-
:Example:
|
|
1031
|
-
|
|
1032
|
-
>>> import stepss
|
|
1033
|
-
>>> stepss.sim.load_MDL("MDLs.dll")
|
|
1034
|
-
>>> ram = stepss.sim()
|
|
1035
|
-
>>> case = stepss.cfg("cmd.txt")
|
|
1036
|
-
>>> ram.execSim(case)
|
|
1037
|
-
"""
|
|
1038
|
-
return self._ramseslib.c_load_MDL(MDLName.encode('utf-8'))
|
|
1039
|
-
|
|
1040
|
-
def unload_MDL(self, MDLName):
|
|
1041
|
-
"""Unload a previously loaded user-model shared library.
|
|
1042
|
-
|
|
1043
|
-
:param str MDLName: path to the model library that was passed to
|
|
1044
|
-
:meth:`load_MDL`.
|
|
1045
|
-
:returns: return value from the underlying RAMSES call (non-zero on error).
|
|
1046
|
-
|
|
1047
|
-
:Example:
|
|
1048
|
-
|
|
1049
|
-
>>> import stepss
|
|
1050
|
-
>>> stepss.sim.load_MDL("MDLs.dll")
|
|
1051
|
-
>>> ram = stepss.sim()
|
|
1052
|
-
>>> case = stepss.cfg("cmd.txt")
|
|
1053
|
-
>>> ram.execSim(case)
|
|
1054
|
-
>>> stepss.sim.unload_MDL("MDLs.dll")
|
|
1055
|
-
"""
|
|
1056
|
-
return self._ramseslib.c_unload_MDL(MDLName.encode('utf-8'))
|
|
1057
|
-
|
|
1058
|
-
|
|
1059
|
-
def get_MDL_no(self):
|
|
1060
|
-
"""Return the number of user-model libraries currently loaded.
|
|
1061
|
-
|
|
1062
|
-
:returns: count of loaded user-model libraries.
|
|
1063
|
-
:rtype: int
|
|
1064
|
-
|
|
1065
|
-
:Example:
|
|
1066
|
-
|
|
1067
|
-
>>> import stepss
|
|
1068
|
-
>>> stepss.sim.load_MDL("MDLs.dll")
|
|
1069
|
-
>>> stepss.sim.get_MDL_no()
|
|
1070
|
-
1
|
|
1071
|
-
"""
|
|
1072
|
-
return self._ramseslib.c_get_MDL_no()
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|