Skip to content

Commit a4a31dd

Browse files
committed
Merge pull request #9 from lcgraham/master
Adding significant updates
2 parents eb47937 + a2f6ccc commit a4a31dd

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

56 files changed

+3634
-973
lines changed

.gitignore

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
1-
hershel_bin/
21
test.py
32
test/
43
bin/
@@ -15,10 +14,4 @@ ipython_log.py
1514
*.e.*
1615
test.sub
1716
text.txt
18-
bin/
19-
lonestar_landuse_bin/
20-
remote_bin/
21-
examples/subdomain_specific/
22-
polyadcirc/run_framework/subdomain.py
23-
polyadcirc/run_framework/fulldomain.py
2417
gh-pages/

doc/Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
SPHINXOPTS =
66
SPHINXBUILD = sphinx-build
77
PAPER =
8-
BUILDDIR = ../gh-pages
8+
BUILDDIR = _build
99

1010
# User-friendly check for sphinx-build
1111
ifeq ($(shell which $(SPHINXBUILD) >/dev/null 2>&1; echo $$?), 1)

doc/conf.py

Lines changed: 26 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -18,14 +18,29 @@
1818
# documentation root, use os.path.abspath to make it absolute, like shown here.
1919
#sys.path.insert(0, os.path.abspath('.'))
2020

21+
22+
23+
2124
# -- General configuration -----------------------------------------------------
2225

2326
# If your documentation needs a minimal Sphinx version, state it here.
2427
#needs_sphinx = '1.0'
2528

2629
# Add any Sphinx extension module names here, as strings. They can be extensions
2730
# coming with Sphinx (named 'sphinx.ext.*') or your custom ones.
28-
extensions = ['sphinx.ext.autodoc', 'sphinx.ext.todo', 'sphinx.ext.coverage', 'sphinx.ext.mathjax']
31+
extensions = ['sphinx.ext.autodoc', 'sphinx.ext.todo', 'sphinx.ext.coverage', 'sphinx.ext.mathjax', 'sphinx.ext.intersphinx']
32+
33+
intersphinx_cache_limit = 10 #days to keep cached inventories
34+
intersphinx_mapping = {'python': ('https://docs.python.org/2.7', None),
35+
'polyadcirc' : ('http://ut-chg.github.io/PolyADCIRC', None),
36+
'matplotlib':('http://matplotlib.sourceforge.net',
37+
None),
38+
'numpy':('http://docs.scipy.org/doc/numpy',None),
39+
'np':('http://docs.scipy.org/doc/numpy',None),
40+
'scipy':('http://docs.scipy.org/doc/scipy',None)
41+
}
42+
43+
todo_include_todos = True
2944

3045
# Add any paths that contain templates here, relative to this directory.
3146
templates_path = ['_templates']
@@ -40,17 +55,17 @@
4055
master_doc = 'index'
4156

4257
# General information about the project.
43-
project = u'PolySim'
58+
project = u'PolyADCIRC'
4459
copyright = u'2013, Lindley Graham'
4560

4661
# The version info for the project you're documenting, acts as replacement for
4762
# |version| and |release|, also used in various other places throughout the
4863
# built documents.
4964
#
5065
# The short X.Y version.
51-
version = '0.1.0'
66+
version = '0.3'
5267
# The full version, including alpha/beta/rc tags.
53-
release = '0.1'
68+
release = '0.3.0'
5469

5570
# The language for content autogenerated by Sphinx. Refer to documentation
5671
# for a list of supported languages.
@@ -96,7 +111,7 @@
96111

97112
# The theme to use for HTML and HTML Help pages. See the documentation for
98113
# a list of builtin themes.
99-
html_theme = 'default'
114+
html_theme = 'sphinx_rtd_theme'
100115

101116
# Theme options are theme-specific and customize the look and feel of a theme
102117
# further. For a list of options available for each theme, see the
@@ -129,7 +144,7 @@
129144

130145
# If not '', a 'Last updated on:' timestamp is inserted at every page bottom,
131146
# using the given strftime format.
132-
#html_last_updated_fmt = '%b %d, %Y'
147+
html_last_updated_fmt = '%b %d, %Y'
133148

134149
# If true, SmartyPants will be used to convert quotes and dashes to
135150
# typographically correct entities.
@@ -169,7 +184,7 @@
169184
#html_file_suffix = None
170185

171186
# Output file base name for HTML help builder.
172-
htmlhelp_basename = 'PolySimdoc'
187+
htmlhelp_basename = 'PolyADCIRCdoc'
173188

174189

175190
# -- Options for LaTeX output --------------------------------------------------
@@ -188,7 +203,7 @@
188203
# Grouping the document tree into LaTeX files. List of tuples
189204
# (source start file, target name, title, author, documentclass [howto/manual]).
190205
latex_documents = [
191-
('index', 'PolySim.tex', u'PolySim Documentation',
206+
('index', 'PolyADCIRC.tex', u'PolyADCIRC Documentation',
192207
u'Lindley Graham', 'manual'),
193208
]
194209

@@ -218,7 +233,7 @@
218233
# One entry per manual page. List of tuples
219234
# (source start file, name, description, authors, manual section).
220235
man_pages = [
221-
('index', 'polysim', u'PolySim Documentation',
236+
('index', 'polyadcirc', u'PolyADCIRC Documentation',
222237
[u'Lindley Graham'], 1)
223238
]
224239

@@ -232,8 +247,8 @@
232247
# (source start file, target name, title, author,
233248
# dir menu entry, description, category)
234249
texinfo_documents = [
235-
('index', 'PolySim', u'PolySim Documentation',
236-
u'Lindley Graham', 'PolySim', 'One line description of project.',
250+
('index', 'PolyADCIRC', u'PolyADCIRC Documentation',
251+
u'Lindley Graham', 'PolyADCIRC', 'Python batch ADCIRC interface.',
237252
'Miscellaneous'),
238253
]
239254

doc/index.rst

Lines changed: 14 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
contain the root `toctree` directive.
55
66
Welcome to PolyADCIRC's documentation!
7-
==========================================
7+
======================================
88

99
Python-based framework for running batches of parallel `ADCIRC <adcirc.org>`_
1010
simulations with varying parameters (Manning's *n* and limited variable
@@ -13,25 +13,32 @@ modified verion of :program:`GridData` (Griddata_v1.32.F90).
1313
:program:`GridData` is a :program:`FORTRAN` program originally developed by
1414
Seizo Tanaka (ST3) and C.H.Lab., University of Notre Dame.
1515

16+
This code also extends the :program:`PolyADCIRC` framework to interface with a slightly
17+
modifed version of :program:`Subdomain ADCIRC v.50`. :program:`Subdomain ADCIRC
18+
v.50` was developed by Alper Altuntas and Jason Simon under the direction of
19+
John Baugh; Department of Civil, Construction, and Enviromental Engineering
20+
North Carolina State University (NCSU), Raleigh, NC 27695.
21+
1622
All code documented here is written for Linux with a bash shell. It can be
1723
modified for other shells. This code requires `GNU Parallel
1824
<http://www.gnu.org/software/parallel/>`_ to be installed in order to run
1925
properly.
2026

21-
Useful scripts are contained in ``examples/``
22-
Python source code for this package is contained in ``polyadcirc/``
23-
27+
.. note:: If you plan on making ANY changes to the repos make a NEW branch!
2428

2529
Contents:
2630

2731
.. toctree::
2832
:maxdepth: 2
2933

3034
overview
31-
Running on TACC <running_on_TACC>
35+
Running on Lonestar <running_on_lonestar>
3236
submerged_wall
3337
Large Jobs <large_jobs>
3438
All about mapping landuse data to the mesh <landuse_stuff>
39+
subdomain
40+
references
41+
modules
3542
todo_list
3643

3744
.. todo:: Add pictures and comment examples.
@@ -43,6 +50,8 @@ Indices and tables
4350
* :ref:`modindex`
4451
* :ref:`search`
4552

53+
54+
==========
4655
Disclaimer
4756
==========
4857
This code was originally developed for research purposes use at your own risk.

0 commit comments

Comments
 (0)