Skip to content

Commit

Permalink
Merge pull request #10 from MilanSkocic/7-tests
Browse files Browse the repository at this point in the history
7 tests
  • Loading branch information
MilanSkocic authored Jan 2, 2024
2 parents fdfb68b + c616b35 commit 3787d26
Show file tree
Hide file tree
Showing 189 changed files with 20,615 additions and 524 deletions.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -40,3 +40,4 @@ pywrapper/pyiapws/*.dll.a
pywrapper/pyiapws/*.so
pywrapper/pyiapws/*.dylib
pywrapper/pyiapws/*.pyd
pywrapper/wheelhouse/
676 changes: 676 additions & 0 deletions docs/_downloads/a3e9e0886b7059d4c553af028824283a/LICENSE.txt

Large diffs are not rendered by default.

674 changes: 674 additions & 0 deletions docs/_downloads/aeeecbf1565d1f259d485137e17b99fb/LICENSE.txt

Large diffs are not rendered by default.

Binary file not shown.
Binary file added docs/_images/g704_kd_D2O.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added docs/_images/g704_kd_H2O.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added docs/_images/g704_kh_D2O.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added docs/_images/g704_kh_H2O.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added docs/_images/iapws_r797-regions.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added docs/_images/logo-iapws.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
63 changes: 63 additions & 0 deletions docs/_modules/index.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,63 @@
<!DOCTYPE html>

<html lang="en" data-content_root="../">
<head>
<meta charset="utf-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>Overview: module code &#8212; iapws 0.2.2 documentation</title>
<link rel="stylesheet" type="text/css" href="../_static/pygments.css?v=b76e3c8a" />
<link rel="stylesheet" type="text/css" href="../_static/classic.css?v=7ea05869" />

<script src="../_static/documentation_options.js?v=000c92bf"></script>
<script src="../_static/doctools.js?v=888ff710"></script>
<script src="../_static/sphinx_highlight.js?v=dc90522c"></script>

<link rel="index" title="Index" href="../genindex.html" />
<link rel="search" title="Search" href="../search.html" />
</head><body>
<div class="related" role="navigation" aria-label="related navigation">
<h3>Navigation</h3>
<ul>
<li class="right" style="margin-right: 10px">
<a href="../genindex.html" title="General Index"
accesskey="I">index</a></li>
<li class="right" >
<a href="../py-modindex.html" title="Python Module Index"
>modules</a> |</li>
<li class="nav-item nav-item-0"><a href="../index.html">iapws 0.2.2 documentation</a> &#187;</li>
<li class="nav-item nav-item-this"><a href="">Overview: module code</a></li>
</ul>
</div>

<div class="document">
<div class="documentwrapper">
<div class="body" role="main">

<h1>All modules for which code is available</h1>
<ul><li><a href="pyiapws/g704.html">pyiapws.g704</a></li>
</ul>

<div class="clearer"></div>
</div>
</div>
<div class="clearer"></div>
</div>
<div class="related" role="navigation" aria-label="related navigation">
<h3>Navigation</h3>
<ul>
<li class="right" style="margin-right: 10px">
<a href="../genindex.html" title="General Index"
>index</a></li>
<li class="right" >
<a href="../py-modindex.html" title="Python Module Index"
>modules</a> |</li>
<li class="nav-item nav-item-0"><a href="../index.html">iapws 0.2.2 documentation</a> &#187;</li>
<li class="nav-item nav-item-this"><a href="">Overview: module code</a></li>
</ul>
</div>
<div class="footer" role="contentinfo">
&#169; Copyright .
Created using <a href="https://www.sphinx-doc.org/">Sphinx</a> 7.2.6.
</div>
</body>
</html>
68 changes: 68 additions & 0 deletions docs/_sources/api/iapws.rst.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,68 @@
iapws
===============

Fortran
--------------

.. only:: html

`Fortran code API <../ford/index.html>`_

.. only:: latex

* `iapws.f90`: Main module for the whole library.

.. literalinclude:: ../../../../src/iapws_g704.f90
:language: Fortran

IAPWS R283: Critical Constants
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

* `iapws_r283.f90`: Module for IAPWS R2-83

.. literalinclude:: ../../../../src/iapws_r283.f90
:language: Fortran

* `iapws_r283_capi.f90`: C API for IAPWS R2-83.

.. literalinclude:: ../../../../src/iapws_r283_capi.f90
:language: Fortran

IAPWS G704: Gas solubilities
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

* `iapws_g704.f90`: Module for IAPWS G7-04

.. literalinclude:: ../../../../src/iapws_g704.f90
:language: Fortran

* `iapws_g704_capi.f90`: C API for IAPWS G7-04.

.. literalinclude:: ../../../../src/iapws_g704_capi.f90
:language: Fortran

C
------

* `iapws.h`: Main C header for the whole library.

.. literalinclude:: ../../../../include/iapws.h
:language: C

.. _iapws_r283_capi:

IAPWS R283: Critical Constants
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

* `iapws_r283.h`: C header.

.. literalinclude:: ../../../../include/iapws_r283.h
:language: C

IAPWS G704: Gas solubilities
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

* `iapws_g704.h`: C header.

.. literalinclude:: ../../../../include/iapws_g704.h
:language: C
8 changes: 8 additions & 0 deletions docs/_sources/api/index.rst.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
API
==================================

.. toctree::
:maxdepth: 2

iapws.rst
pyiapws.rst
17 changes: 17 additions & 0 deletions docs/_sources/api/pyiapws.rst.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
pyipaws
================

IAPWS R283: Critical Constants
----------------------------------

.. automodule:: pyiapws.r283
:members:

The constants are defined as in the :ref:`C header <iapws_r283_capi>` without
the prefix *iapws_r283_capi_*.

IAPWS G704: Gas solubilities
-------------------------------

.. automodule:: pyiapws.g704
:members:
22 changes: 22 additions & 0 deletions docs/_sources/getting_started/examples.rst.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
Examples
===========


Example in Fortran
------------------------------------------

.. literalinclude:: ../../../../example/example_in_f.f90
:language: fortran

Example in C
------------------------------------------

.. literalinclude:: ../../../../example/example_in_c.c
:language: C


Example in Python
------------------------------------------

.. literalinclude:: ../../../../example/example_in_py.py
:language: python
25 changes: 25 additions & 0 deletions docs/_sources/getting_started/iapws.rst.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
iapw
==============

.. image:: ../media/logo-iapws.png
:width: 200
:align: center

.. include:: ../../../../README.rst
:start-after: readme_inclusion_start
:end-before: readme_inclusion_end

How to install
^^^^^^^^^^^^^^^^^

.. include:: ../../../../INSTALL.rst

Dependencies
^^^^^^^^^^^^^^^^^

.. literalinclude:: ../../../../REQUIREMENTS.txt

License
^^^^^^^^^^^^^^^^^

:download:`GNU General Public License v3 (GPLv3) <../../../../LICENSE.txt>`
15 changes: 15 additions & 0 deletions docs/_sources/getting_started/index.rst.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
Getting Started
================

.. only:: html

PDF documentation: :download:`iapws <../../build/latex/iapws.pdf>`.

Sources: https://github.com/MilanSkocic/iapws

.. toctree::
:maxdepth: 2

iapws.rst
pyiapws.rst
examples.rst
21 changes: 21 additions & 0 deletions docs/_sources/getting_started/pyiapws.rst.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
pyiapws
=========================

.. include:: ../../../../pywrapper/README.rst
:start-after: readme_inclusion_start
:end-before: readme_inclusion_end

How to install
^^^^^^^^^^^^^^^

.. include:: ../../../../pywrapper/INSTALL.rst

Dependencies
^^^^^^^^^^^^^^^

.. literalinclude:: ../../../../pywrapper/requirements.txt

License
^^^^^^^^^^^^^^^

:download:`GNU General Public License v3 (GPLv3) <../../../../pywrapper/LICENSE.txt>`
Loading

0 comments on commit 3787d26

Please sign in to comment.