-
Notifications
You must be signed in to change notification settings - Fork 9
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
394f44f
commit cba20c9
Showing
13 changed files
with
314 additions
and
447 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,19 +1,3 @@ | ||
""" | ||
******************************************************************************** | ||
compas_ags | ||
******************************************************************************** | ||
.. currentmodule:: compas_ags | ||
.. toctree:: | ||
:maxdepth: 1 | ||
compas_ags.ags | ||
compas_ags.diagrams | ||
compas_ags.viewers | ||
""" | ||
|
||
import os | ||
|
||
HERE = os.path.abspath(os.path.dirname(__file__)) | ||
|
@@ -22,7 +6,7 @@ | |
TEMP = os.path.join(HOME, "temp") | ||
|
||
|
||
__author__ = "Tom Van Mele and others (see AUTHORS.md)" | ||
__author__ = "Tom Van Mele and others" | ||
__copyright__ = "Copyright 2014-2018 - Block Research Group, ETH Zurich" | ||
__license__ = "MIT License" | ||
__email__ = "[email protected]" | ||
|
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,56 +1,66 @@ | ||
""" | ||
******************************************************************************** | ||
compas_ags.ags | ||
******************************************************************************** | ||
.. currentmodule:: compas_ags.ags | ||
Core | ||
==== | ||
.. autosummary:: | ||
:toctree: generated/ | ||
update_q_from_qind | ||
update_primal_from_dual | ||
Graph Statics | ||
============= | ||
.. autosummary:: | ||
:toctree: generated/ | ||
form_count_dof | ||
form_identify_dof | ||
form_update_q_from_qind | ||
form_update_from_force | ||
force_update_from_form | ||
Load Path | ||
========= | ||
.. autosummary:: | ||
:toctree: generated/ | ||
compute_loadpath | ||
compute_external_work | ||
compute_internal_work | ||
compute_internal_work_tension | ||
compute_internal_work_compression | ||
optimise_loadpath | ||
""" | ||
from __future__ import absolute_import | ||
|
||
import compas | ||
|
||
if not compas.IPY: | ||
from .core import * # noqa: F401 F403 | ||
from .graphstatics import * # noqa: F401 F403 | ||
from .loadpath import * # noqa: F401 F403 | ||
from .constraints import * # noqa: F401 F403 | ||
|
||
__all__ = [name for name in dir() if not name.startswith("_")] | ||
from .core import ( | ||
update_q_from_qind, | ||
update_primal_from_dual, | ||
get_jacobian_and_residual, | ||
compute_jacobian, | ||
parallelise_edges, | ||
) | ||
from .graphstatics import ( | ||
form_identify_dof, | ||
form_count_dof, | ||
form_update_q_from_qind, | ||
form_update_from_force, | ||
form_update_from_force_newton, | ||
force_update_from_form, | ||
force_update_from_constraints, | ||
update_diagrams_from_constraints, | ||
) | ||
from .loadpath import ( | ||
compute_loadpath, | ||
compute_external_work, | ||
compute_internal_work, | ||
compute_internal_work_tension, | ||
compute_internal_work_compression, | ||
optimise_loadpath, | ||
) | ||
from .constraints import ( | ||
ConstraintsCollection, | ||
HorizontalFix, | ||
VerticalFix, | ||
AngleFix, | ||
LengthFix, | ||
SetLength, | ||
) | ||
|
||
__all__ = [ | ||
"update_q_from_qind", | ||
"update_primal_from_dual", | ||
"get_jacobian_and_residual", | ||
"compute_jacobian", | ||
"parallelise_edges", | ||
"form_identify_dof", | ||
"form_count_dof", | ||
"form_update_q_from_qind", | ||
"form_update_from_force", | ||
"form_update_from_force_newton", | ||
"force_update_from_form", | ||
"force_update_from_constraints", | ||
"update_diagrams_from_constraints", | ||
"compute_loadpath", | ||
"compute_external_work", | ||
"compute_internal_work", | ||
"compute_internal_work_tension", | ||
"compute_internal_work_compression", | ||
"optimise_loadpath", | ||
"ConstraintsCollection", | ||
"HorizontalFix", | ||
"VerticalFix", | ||
"AngleFix", | ||
"LengthFix", | ||
"SetLength", | ||
] |
Oops, something went wrong.