Skip to content

Commit 022e41d

Browse files
committed
refactor
1 parent 12e0a85 commit 022e41d

File tree

139 files changed

+1129
-513
lines changed

Some content is hidden

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

139 files changed

+1129
-513
lines changed

source/about/features/compatibility.rst

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,6 @@
1+
.. _CompatibilityLayer:
2+
3+
14
Compatibility
25
^^^^^^^^^^^^^
36

source/about/features/index.rst

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,12 +5,13 @@ Xara offers several advanced features that make it a powerful tool for nonlinear
55

66
- **Mixed Formulations**: It supports mixed formulations for beams and solids, enabling accurate modeling of complex structural systems.
77
- **Extensive Material Models**: With over 200 material models, Xara provides flexibility for simulating various materials and their nonlinear behaviors.
8+
- **Performance Optimization**: Built on the OpenSeesRT framework, Xara delivers substantial performance improvements over traditional interpreters.
89
- **Continuation Algorithms**: These algorithms are designed to solve highly nonlinear problems efficiently, making Xara suitable for challenging engineering scenarios.
910
- **Stateless Modeling**: Xara introduces a `Model` class for true stateless modeling, allowing users to work without relying on a single global program state.
10-
- **Compatibility Layer**: It reproduces OpenSeesPy functions, ensuring seamless integration for users familiar with the OpenSees ecosystem.
11-
- **Performance Optimization**: Built on the OpenSeesRT framework, Xara delivers substantial performance improvements over traditional interpreters.
11+
- `Compatibility Layer <CompatibilityLayer>`: Although *xara* in includes a completely rewritten interpreter architecture, compatibility layers allow legacy OpenSeesPy and Tcl scripts to run with minimal modifications.
1212

1313
.. toctree::
14+
:hidden:
1415
:maxdepth: 1
1516

1617
compatibility

source/about/references.rst

Lines changed: 0 additions & 5 deletions
This file was deleted.

source/conf.py

Lines changed: 13 additions & 30 deletions
Original file line numberDiff line numberDiff line change
@@ -97,6 +97,8 @@
9797
'sphinx_sitemap',
9898
"myst_parser"
9999
]
100+
autosummary_generate = False
101+
autodoc_docstring_signature = True
100102
myst_enable_extensions = [
101103
"dollarmath",
102104
"attrs_inline"
@@ -132,16 +134,16 @@
132134
"user/manual/model/elements/other/SFI_MVLEM_3D.rst",
133135
"user/manual/model/elements/other/E_SFI.rst",
134136
"user/manual/model/elements/other/E_SFI_MVLEM_3D.rst",
135-
"user/manual/model/elements/fluid/7045-BbarBrickUP.rst",
136-
"user/manual/model/elements/fluid/7046-BbarQuadUP.rst",
137-
"user/manual/model/elements/fluid/7066-BrickUP.rst",
138-
"user/manual/model/elements/fluid/7264-FourNodeQuadUP.rst",
139-
"user/manual/model/elements/fluid/7266-Four Node QuadUP.rst",
140-
"user/manual/model/elements/fluid/7419-NineFourNodeQuadUP.rst",
141-
"user/manual/model/elements/fluid/7612-SSPbrickUP.rst",
142-
"user/manual/model/elements/fluid/7614-SSPquadUP.rst",
143-
"user/manual/model/elements/fluid/7720-TwentyEightNodeBrickUP.rst",
144-
"user/manual/model/elements/fluid/index.rst",
137+
"user/manual/model/elements/grainfluid/7045-BbarBrickUP.rst",
138+
"user/manual/model/elements/grainfluid/7046-BbarQuadUP.rst",
139+
"user/manual/model/elements/grainfluid/7066-BrickUP.rst",
140+
"user/manual/model/elements/grainfluid/7264-FourNodeQuadUP.rst",
141+
"user/manual/model/elements/grainfluid/7266-Four Node QuadUP.rst",
142+
"user/manual/model/elements/grainfluid/7419-NineFourNodeQuadUP.rst",
143+
"user/manual/model/elements/grainfluid/7612-SSPbrickUP.rst",
144+
"user/manual/model/elements/grainfluid/7614-SSPquadUP.rst",
145+
"user/manual/model/elements/grainfluid/7720-TwentyEightNodeBrickUP.rst",
146+
# "user/manual/model/elements/fluid/index.rst",
145147
"user/manual/materialCommands.rst",
146148
"user/manual/material/ndMaterials/BoundingCamClay.rst",
147149
"user/manual/material/ndMaterials/PM4Sand.rst",
@@ -169,25 +171,6 @@
169171
"user/manual/model/nodes/sp.rst",
170172
"user/examples/basicExamples/basicTruss.rst",
171173
"user/manual/material/matTestCommands.rst",
172-
# "user/manual/model/beamIntegration.rst",
173-
# "user/manual/model/beamIntegrations/test.rst",
174-
# "user/manual/model/beamIntegrations/CompositeSimpson.rst",
175-
# "user/manual/model/beamIntegrations/ConcentratedCurvature.rst",
176-
# "user/manual/model/beamIntegrations/ConcentratedPlasticity.rst",
177-
# "user/manual/model/beamIntegrations/FixedLocation.rst",
178-
# "user/manual/model/beamIntegrations/HingeEndpoint.rst",
179-
# "user/manual/model/beamIntegrations/HingeMidpoint.rst",
180-
# "user/manual/model/beamIntegrations/HingeRadau.rst",
181-
# "user/manual/model/beamIntegrations/HingeRadauTwo.rst",
182-
# "user/manual/model/beamIntegrations/Legendre.rst",
183-
# "user/manual/model/beamIntegrations/Lobatto.rst",
184-
# "user/manual/model/beamIntegrations/LowOrder.rst",
185-
# "user/manual/model/beamIntegrations/MidDistance.rst",
186-
# "user/manual/model/beamIntegrations/NewtonCotes.rst",
187-
# "user/manual/model/beamIntegrations/Radau.rst",
188-
# "user/manual/model/beamIntegrations/Trapezoidal.rst",
189-
# "user/manual/model/beamIntegrations/UserHinge.rst",
190-
# "user/manual/model/beamIntegrations/userDefined.rst",
191174
"user/manual/model/damping/elementalDamping/SecStifDamping.rst",
192175
"user/manual/model/damping/elementalDamping/URDDamping.rst",
193176
"user/manual/model/damping/elementalDamping/UniformDamping.rst",
@@ -213,7 +196,7 @@
213196

214197
if html_theme == "sphinx_rtd_theme":
215198
html_theme_options = {
216-
'navigation_depth': 5,
199+
'navigation_depth': 6,
217200
'logo_only': True,
218201
'style_nav_header_background': 'white',
219202
'prev_next_buttons_location': None,

source/launch.rst

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -36,6 +36,7 @@ then constructs and analyzes a finite element simulation by invoking its *method
3636
Documentation of these methods is organized as follows:
3737

3838
* :ref:`Modeling <modeling>` methods are used to add components to the finite element model.
39+
* :ref:`Loading <pattern>` methods are used to define loads and load patterns.
3940
* :ref:`Analysis <lblAnalysisCommands>` methods are used to move the state of the model from one converged state to another via a number of trial steps.
4041
* :ref:`Output <output>` methods allow one to obtain output from a finite element analysis, e.g. to record the node displacement history.
4142

@@ -47,9 +48,10 @@ Documentation of these methods is organized as follows:
4748

4849
user/manual/modeling
4950
user/manual/meshing/index
51+
user/manual/loading/index
5052
user/manual/analysis/index
5153
user/manual/output/index
52-
user/manual/misc/index
54+
user/manual/strategy/index
5355
user/manual/modules/index
5456
Examples <https://gallery.stairlab.io/examples/>
5557

@@ -63,6 +65,5 @@ Documentation of these methods is organized as follows:
6365
user/guides/index
6466
about/features/index
6567
about/license
66-
about/references
6768
cite
6869

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
Command Line
2+
^^^^^^^^^^^^
3+
4+
.. code-block:: bash
5+
6+
python -m opensees
7+
opensees > model Basic -ndm 2
8+
opensees > node 1 0.0 0.0
9+
opensees > node 2 1.0 0.0
10+
opensees > print -json
11+
opensees > exit
12+

source/user/index.rst

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,8 +10,10 @@ Manual
1010

1111
manual/modeling
1212
manual/meshing/index
13+
mannual/loading/index
1314
manual/analysis/index
1415
manual/output/index
16+
manual/strategy/index
1517
manual/misc/index
1618

1719

source/user/manual/analysis/algorithm.rst

Lines changed: 0 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -19,15 +19,3 @@ algorithm
1919
where ``name`` is a string indentifying one of the following algorithms:
2020

2121

22-
.. toctree::
23-
:maxdepth: 1
24-
25-
algorithm/LinearAlgorithm
26-
algorithm/Newton
27-
algorithm/NewtonLineSearch
28-
algorithm/ModifiedNewton
29-
algorithm/AcceleratedNewton
30-
algorithm/Broyden
31-
algorithm/ExpressNewton
32-
33-

source/user/manual/analysis/eigen.rst renamed to source/user/manual/analysis/eigen/index.rst

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,8 @@ eigen
55

66

77
.. tabs::
8+
.. tab:: xara
9+
.. autofunction:: xara.eigen
810

911
.. tab:: Python
1012

@@ -38,7 +40,7 @@ eigen
3840
Theory
3941
------
4042

41-
The *generalized eigenvalue problem* for two symmetric matrices :math:`\boldsymbol{K}` and :math:`M` of size :math:`n \times n` is given by:
43+
The *generalized eigenvalue problem* for two symmetric matrices :math:`\boldsymbol{K}` and :math:`\boldsymbol{M}` of size :math:`n \times n` is given by:
4244

4345
.. math::
4446
@@ -57,7 +59,8 @@ Of course. Here is the breakdown formatted in reStructuredText, suitable for doc
5759
To convert the eigenvalues obtained from the generalized eigenvalue problem into natural frequencies, use the following relationships:
5860

5961
**Eigenvalue** (`:math:\lambda`)
60-
This is the direct numerical output from the `model.eigen` call. Each eigenvalue corresponds to a specific vibration mode and represents the square of the natural angular frequency for that mode.
62+
This is the direct numerical output from the `model.eigen` call.
63+
Each eigenvalue corresponds to a specific vibration mode and represents the square of the natural angular frequency for that mode.
6164

6265
**Angular Frequency** (`:math:\omega`)
6366
The angular frequency, measured in **radians per second**, is the square root of the eigenvalue.

source/user/manual/analysis/modalProperties.rst renamed to source/user/manual/analysis/eigen/modes.rst

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -187,10 +187,6 @@ The eigenvalues :math:`\lambda` and the eigenvectors :math:`\Phi` can be obtaine
187187
.. math::
188188
\left (K - \lambda M \right ) \Phi = 0
189189
190-
The global mass matrix :math:`M` is given by the assembly of :math:`n` elemental and nodal mass matrices :math:`m_e`:
191-
192-
.. math::
193-
M = \bigwedge_{i=1}^{n} m_e
194190
195191
:math:`M` is not necessarily diagonal, because some elemental matrices :math:`m_e` may be consistent. However, the computation of :math:`CoM`, :math:`m_t` and :math:`m_f` requires a lumped version of :math:`M`. The global lumped mass matrix :math:`LM` can be computed by the assembly of a diagonalized version of the elemental mass matrices :math:`m_e`:
196192

0 commit comments

Comments
 (0)