Changeset 9665
- Timestamp:
- Feb 11, 2015, 3:26:44 PM (10 years ago)
- Location:
- trunk
- Files:
-
- 6 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/anuga_core/anuga/__init__.py
r9664 r9665 79 79 import os 80 80 if sys.platform == 'win32': 81 82 83 84 85 86 87 pass 88 81 MinGW = False 82 import subprocess 83 try: 84 output = subprocess.check_output('gcc -dumpmachine', shell=True) 85 MinGW = 'mingw' in output 86 except Exception as e: 87 pass 88 89 89 if not MinGW: 90 90 (folder, tail) = os.path.split(__file__) -
trunk/anuga_core/anuga/setup.py
r9664 r9665 34 34 config.add_subpackage('validation_utilities') 35 35 36 config.add_data_dir('runtime_libs') 36 if sys.platform == 'win32': 37 config.add_data_dir('runtime_libs') 37 38 38 39 try: -
trunk/anuga_core/setup.cfg
r9664 r9665 12 12 13 13 14 [pip]15 compiler=mingw3214 #[pip] 15 #compiler=mingw32 16 16 17 [build]18 compiler=mingw3217 #[build] 18 #compiler=mingw32 19 19 -
trunk/anuga_core/setup.py
r9664 r9665 167 167 # monkey patch distutils to use Microsoft VC++ for Python on win32 168 168 if sys.platform == 'win32': 169 170 169 print('win32') 170 import setuptools 171 171 172 172 setup_package() -
trunk/anuga_user_manual/source/anuga_user_manual.tex
r9405 r9665 287 287 288 288 What follows is a discussion of the structure and operation of a 289 script called \file{runup.py} (which is available in the \file{ demos} directory290 of \file{anuga_core}.289 script called \file{runup.py} (which is available in the \file{examples} 290 directory of \file{anuga_core}. 291 291 292 292 This example carries out the solution of the shallow-water wave … … 344 344 345 345 \label{ref:runup_py_code} 346 \verbatiminputunderscore{../../anuga_core/ demos/runup.py}346 \verbatiminputunderscore{../../anuga_core/examples/runup.py} 347 347 348 348 … … 731 731 Here is the code for the first version of the channel flow \file{channel1.py}: 732 732 733 \verbatiminputunderscore{ demos/channel1.py}733 \verbatiminputunderscore{../../anuga_core/examples/channel1.py} 734 734 735 735 In discussing the details of this example, we follow the outline … … 738 738 \subsection{Establishing the Mesh}\index{mesh, establishing} 739 739 740 In this example we use a similar simple structured triangular mesh as in \file{runup.py} 740 In this example we use a similar simple structured triangular mesh 741 as in \file{runup.py} 741 742 for simplicity, but this time we will use a symmetric one and also 742 743 change the physical extent of the domain. The assignment: … … 848 849 Here is the code for the third version of the channel flow \file{channel3.py}: 849 850 850 \verbatiminputunderscore{ demos/channel3.py}851 \verbatiminputunderscore{../../anuga_core/examples/channel3.py} 851 852 852 853 This example differs from the first two versions in that the topography … … 933 934 Here is the code for \file{runcairns.py}: 934 935 935 \verbatiminputunderscore{../../anuga_core/ demos/cairns/runcairns.py}936 \verbatiminputunderscore{../../anuga_core/examples/cairns/runcairns.py} 936 937 937 938 In discussing the details of this example, we follow the outline … … 994 995 \file{project.py}: 995 996 996 \verbatiminputunderscore{../../anuga_core/ demos/cairns/project.py}997 \verbatiminputunderscore{../../anuga_core/examples/cairns/project.py} 997 998 998 999 Figure \ref{fig:cairns3d} illustrates the landscape of the region … … 1257 1258 \file{ExportResults.py} demonstrates how this function can be used: 1258 1259 1259 \verbatiminputunderscore{ demos/cairns/ExportResults.py}1260 \verbatiminputunderscore{../../anuga_core/examples/cairns/ExportResults.py} 1260 1261 1261 1262 The script generates a maximum water depth ASCII grid at a defined … … 1312 1313 the gauges shown in Figure \ref{fig:cairnsgauges} is \file{gauges.csv}: 1313 1314 1314 \verbatiminputunderscore{ demos/cairns/gauges.csv}1315 \verbatiminputunderscore{../../anuga_core/examples/cairns/gauges.csv} 1315 1316 1316 1317 Header information has been included to identify the location in terms of eastings and … … 1322 1323 of the standard \code{anuga} release, however it can be downloaded and installed from \code{http://matplotlib.sourceforge.net/} 1323 1324 1324 \verbatiminputunderscore{ demos/cairns/GetTimeseries.py}1325 \verbatiminputunderscore{../../anuga_core/examples/cairns/GetTimeseries.py} 1325 1326 1326 1327 Here, the time series for the quantities stage, depth and speed will be generated for -
trunk/anuga_user_manual/source/update_anuga_user_manual.py
r9402 r9665 115 115 116 116 system('cp *.pdf ../') 117 system('mv *.pdf ../ anuga_core/user_manual')117 system('mv *.pdf ../../anuga_core/user_manual') 118 118 119 119 print 'Cleanup aux tex files'
Note: See TracChangeset
for help on using the changeset viewer.