-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #180 from sandialabs/wlc
WLC isotensional
- Loading branch information
Showing
43 changed files
with
10,888 additions
and
85 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,7 @@ | ||
name = "Polymers" | ||
uuid = "8aef037c-a721-4e8a-9d81-eb7093daef2c" | ||
authors = ["mrbuche <[email protected]>"] | ||
version = "0.3.4" | ||
version = "0.3.5" | ||
|
||
[deps] | ||
DocStringExtensions = "ffbed154-4ef7-542d-bbb7-c09d3a79fcae" | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -17,16 +17,6 @@ The library can be installed as a Python package: | |
pip install polymers | ||
``` | ||
|
||
If Rust is installed, the latest edition of the library can be installed from the GitHub repository: | ||
|
||
```shell | ||
git clone [email protected]:sandialabs/Polymers.git | ||
cd Polymers/ | ||
pip install maturin | ||
maturin build --features python | ||
pip install target/wheels/*.whl | ||
``` | ||
|
||
## Julia | ||
|
||
[![docs (stable)](https://raw.githubusercontent.com/sandialabs/Polymers/main/pages/assets/images/julia-docs-stable.svg)](https://sandialabs.github.io/Polymers/julia/docs/stable) | ||
|
@@ -40,30 +30,16 @@ using Pkg | |
Pkg.add("Polymers") | ||
``` | ||
|
||
If Rust is installed, the latest edition of the library can be installed from the GitHub repository: | ||
|
||
```julia | ||
using Pkg | ||
Pkg.add(url="https://github.com/sandialabs/Polymers") | ||
``` | ||
|
||
## Rust | ||
|
||
[![docs (stable)](https://img.shields.io/badge/Docs-stable-e57300?logo=rust&logoColor=000000)](https://docs.rs/crate/polymers) | ||
[![docs (latest)](https://img.shields.io/badge/Docs-latest-e57300?logo=rust&logoColor=000000)](https://sandialabs.github.io/Polymers/rust/docs/latest) | ||
[![crates](https://img.shields.io/crates/v/polymers?logo=rust&logoColor=000000&label=Crates&color=32592f)](https://crates.io/crates/polymers) | ||
|
||
The library can be used in an existing Rust project by adding the `polymers` crate to Cargo.toml: | ||
The library can be added to an existing Rust project: | ||
|
||
```toml | ||
[dependencies] | ||
polymers = "*" | ||
``` | ||
To use the latest edition of the library, add the GitHub repository to Cargo.toml: | ||
|
||
```toml | ||
[dependencies] | ||
regex = { git = "https://github.com/sandialabs/polymers" } | ||
```shell | ||
cargo add polymers | ||
``` | ||
|
||
## Citation | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -16,16 +16,6 @@ The library can be installed as a Python package: | |
pip install polymers | ||
If Rust is installed, the latest edition of the library can be installed from the GitHub repository: | ||
|
||
.. code-block:: sh | ||
git clone [email protected]:sandialabs/Polymers.git | ||
cd Polymers/ | ||
pip install maturin | ||
maturin build --features python | ||
pip install target/wheels/*.whl | ||
Citation | ||
-------- | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
34 changes: 34 additions & 0 deletions
34
docs/source/physics/single_chain/wlc/thermodynamics/isotensional.rst
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,34 @@ | ||
WLC model thermodynamics (isotensional) | ||
======================================= | ||
|
||
.. toctree:: | ||
:maxdepth: 1 | ||
|
||
Legendre <isotensional/legendre> | ||
|
||
.. autoclass:: polymers.physics.single_chain.wlc.thermodynamics.isotensional::WLC(number_of_links, link_length, hinge_mass, persistance_length) | ||
|
||
.. autoattribute:: number_of_links | ||
.. autoattribute:: link_length | ||
.. autoattribute:: hinge_mass | ||
.. autoattribute:: persistance_length | ||
.. autoattribute:: legendre | ||
.. automethod:: end_to_end_length(force, temperature) | ||
.. automethod:: end_to_end_length_per_link(force, temperature) | ||
.. automethod:: nondimensional_end_to_end_length(nondimensional_force) | ||
.. automethod:: nondimensional_end_to_end_length_per_link(nondimensional_force) | ||
.. automethod:: gibbs_free_energy(force, temperature) | ||
.. automethod:: gibbs_free_energy_per_link(force, temperature) | ||
.. automethod:: relative_gibbs_free_energy(force, temperature) | ||
.. automethod:: relative_gibbs_free_energy_per_link(force, temperature) | ||
.. automethod:: nondimensional_gibbs_free_energy(nondimensional_force, temperature) | ||
.. automethod:: nondimensional_gibbs_free_energy_per_link(nondimensional_force, temperature) | ||
.. automethod:: nondimensional_relative_gibbs_free_energy(nondimensional_force) | ||
.. automethod:: nondimensional_relative_gibbs_free_energy_per_link(nondimensional_force) | ||
|
||
.. raw:: | ||
html | ||
<hr> | ||
.. footbibliography:: |
17 changes: 17 additions & 0 deletions
17
docs/source/physics/single_chain/wlc/thermodynamics/isotensional/legendre.rst
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
WLC model thermodynamics (isotensional/legendre) | ||
================================================ | ||
|
||
.. autoclass:: polymers.physics.single_chain.wlc.thermodynamics.isotensional.legendre::WLC(number_of_links, link_length, hinge_mass, persistance_length) | ||
|
||
.. autoattribute:: number_of_links | ||
.. autoattribute:: link_length | ||
.. autoattribute:: hinge_mass | ||
.. autoattribute:: persistance_length | ||
.. automethod:: helmholtz_free_energy(force, temperature) | ||
.. automethod:: helmholtz_free_energy_per_link(force, temperature) | ||
.. automethod:: relative_helmholtz_free_energy(force, temperature) | ||
.. automethod:: relative_helmholtz_free_energy_per_link(force, temperature) | ||
.. automethod:: nondimensional_helmholtz_free_energy(nondimensional_force, temperature) | ||
.. automethod:: nondimensional_helmholtz_free_energy_per_link(nondimensional_force, temperature) | ||
.. automethod:: nondimensional_relative_helmholtz_free_energy(nondimensional_force) | ||
.. automethod:: nondimensional_relative_helmholtz_free_energy_per_link(nondimensional_force) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,8 @@ | ||
# WLC model thermodynamics | ||
|
||
* [WLC model thermodynamics (isometric)](../../../isometric) | ||
* [WLC model thermodynamics (isotensional)](../../../isotensional) | ||
|
||
```@autodocs | ||
Modules = [Polymers.Physics.SingleChain.WLC.Thermodynamics] | ||
Modules = [Polymers.Physics.SingleChain.Wlc.Thermodynamics] | ||
``` |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2 changes: 1 addition & 1 deletion
2
docs/src/physics/single_chain/wlc/thermodynamics/isometric/legendre.md
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,5 @@ | ||
# WLC model thermodynamics (isometric/legendre) | ||
|
||
```@autodocs | ||
Modules = [Polymers.Physics.SingleChain.WLC.Thermodynamics.Isometric.Legendre] | ||
Modules = [Polymers.Physics.SingleChain.Wlc.Thermodynamics.Isometric.Legendre] | ||
``` |
7 changes: 7 additions & 0 deletions
7
docs/src/physics/single_chain/wlc/thermodynamics/isotensional.md
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
# WLC model thermodynamics (isotensional) | ||
|
||
* [WLC model thermodynamics (isotensional/legendre)](../../../../legendre) | ||
|
||
```@autodocs | ||
Modules = [Polymers.Physics.SingleChain.Wlc.Thermodynamics.Isotensional] | ||
``` |
5 changes: 5 additions & 0 deletions
5
docs/src/physics/single_chain/wlc/thermodynamics/isotensional/legendre.md
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
# WLC model thermodynamics (isotensional/legendre) | ||
|
||
```@autodocs | ||
Modules = [Polymers.Physics.SingleChain.Wlc.Thermodynamics.Isotensional.Legendre] | ||
``` |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
64ff14a
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@JuliaRegistrator register
64ff14a
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Registration pull request created: JuliaRegistries/General/83144
After the above pull request is merged, it is recommended that a tag is created on this repository for the registered package version.
This will be done automatically if the Julia TagBot GitHub Action is installed, or can be done manually through the github interface, or via: