-
Notifications
You must be signed in to change notification settings - Fork 122
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
feat: apdl
submodule
#3385
base: feat/main_commands
Are you sure you want to change the base?
feat: apdl
submodule
#3385
Changes from 24 commits
e9de204
04dac45
5d300f1
477bfc7
c79356c
0fa5cb1
18868ed
c6a3c48
160b258
8fddefa
9883846
1528dfb
a0f57b0
0fac165
e569ff5
106bb5f
9ef2ea3
8997256
47fb37a
a246c15
ea01683
d745c79
56e1823
ddeab20
19b6461
77c5683
95109a4
510e624
b433ec0
f984e72
ca3e9ef
15d9084
712a2e3
cd7f2f1
7baebc4
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -56,12 +56,12 @@ repos: | |
hooks: | ||
- id: flake8 | ||
|
||
- repo: https://github.com/codespell-project/codespell | ||
rev: v2.3.0 | ||
hooks: | ||
- id: codespell | ||
args: ["--toml", "pyproject.toml"] | ||
additional_dependencies: ["tomli"] | ||
# - repo: https://github.com/codespell-project/codespell | ||
# rev: v2.3.0 | ||
# hooks: | ||
# - id: codespell | ||
# args: ["--toml", "pyproject.toml"] | ||
# additional_dependencies: ["tomli"] | ||
Comment on lines
+59
to
+64
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Why this was deleted? There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. I commented it as explained in #3385 (comment) |
||
|
||
# - repo: https://github.com/pycqa/pydocstyle | ||
# rev: 6.1.1 | ||
|
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
feat: ``apdl`` submodule |
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,22 +1,21 @@ | ||
.. _ref_abbreviations_commands_api: | ||
|
||
************* | ||
Abbreviations | ||
************* | ||
.. _ref_abbreviations: | ||
|
||
|
||
.. currentmodule:: ansys.mapdl.core | ||
Abbreviations | ||
============= | ||
|
||
These APDL commands can be used to define abbreviations for longer commands, and to create user-defined commands. | ||
|
||
.. note:: | ||
It is probably easier to use Python strings instead of MAPDL | ||
strings. | ||
.. currentmodule:: ansys.mapdl.core._commands.apdl.abbreviations | ||
|
||
.. autoclass:: ansys.mapdl.core._commands.apdl.abbreviations.Abbreviations | ||
|
||
.. autosummary:: | ||
:toctree: _autosummary/ | ||
:template: base.rst | ||
:toctree: _autosummary | ||
|
||
|
||
Mapdl.abbr | ||
Mapdl.abbres | ||
Mapdl.abbsav | ||
Mapdl.ucmd | ||
Abbreviations.ucmd | ||
Abbreviations.abbres | ||
Abbreviations.abbr | ||
Abbreviations.abbsav |
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,39 @@ | ||
|
||
.. _ref_array_parameters: | ||
|
||
|
||
ArrayParameters | ||
=============== | ||
|
||
|
||
.. currentmodule:: ansys.mapdl.core._commands.apdl.array_parameters | ||
|
||
.. autoclass:: ansys.mapdl.core._commands.apdl.array_parameters.ArrayParameters | ||
|
||
.. autosummary:: | ||
:template: base.rst | ||
:toctree: _autosummary | ||
|
||
|
||
ArrayParameters.mfun | ||
ArrayParameters.mwrite | ||
ArrayParameters.moper | ||
ArrayParameters.mfouri | ||
ArrayParameters.sread | ||
ArrayParameters.toper | ||
ArrayParameters.starvplot | ||
ArrayParameters.vmask | ||
ArrayParameters.vcol | ||
ArrayParameters.vscfun | ||
ArrayParameters.vstat | ||
ArrayParameters.voper | ||
ArrayParameters.vwrite | ||
ArrayParameters.vitrp | ||
ArrayParameters.vabs | ||
ArrayParameters.starvput | ||
ArrayParameters.vfun | ||
ArrayParameters.vfact | ||
ArrayParameters.vcum | ||
ArrayParameters.vedit | ||
ArrayParameters.vlen | ||
ArrayParameters.directory |
This file was deleted.
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
|
||
.. _ref_encryption_decryption: | ||
|
||
|
||
EncryptionDecryption | ||
==================== | ||
|
||
|
||
.. currentmodule:: ansys.mapdl.core._commands.apdl.encryption_decryption | ||
|
||
.. autoclass:: ansys.mapdl.core._commands.apdl.encryption_decryption.EncryptionDecryption | ||
|
||
.. autosummary:: | ||
:template: base.rst | ||
:toctree: _autosummary | ||
|
||
|
||
EncryptionDecryption.encrypt | ||
EncryptionDecryption.decrypt | ||
EncryptionDecryption.dbdecrypt | ||
EncryptionDecryption.dbencrypt |
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,30 @@ | ||
|
||
.. _ref_apdl: | ||
|
||
<!-- vale off --> | ||
Apdl | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. I think APDL should be all capital. |
||
==== | ||
<!-- vale on --> | ||
|
||
.. list-table:: | ||
|
||
* - :ref:`ref_macro_files` | ||
* - :ref:`ref_parameter_definition` | ||
* - :ref:`ref_matrix_operations` | ||
* - :ref:`ref_abbreviations` | ||
* - :ref:`ref_process_controls` | ||
* - :ref:`ref_array_parameters` | ||
* - :ref:`ref_encryption_decryption` | ||
|
||
|
||
.. toctree:: | ||
:maxdepth: 1 | ||
:hidden: | ||
|
||
macro_files | ||
parameter_definition | ||
matrix_operations | ||
abbreviations | ||
process_controls | ||
array_parameters | ||
encryption_decryption | ||
Comment on lines
+7
to
+30
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. This is amazing. |
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,35 +1,29 @@ | ||
.. _ref_macro_files_commands_api: | ||
|
||
*********** | ||
Macro files | ||
*********** | ||
.. _ref_macro_files: | ||
|
||
.. currentmodule:: ansys.mapdl.core | ||
|
||
These APDL commands are used to build and execute command macros. | ||
MacroFiles | ||
========== | ||
|
||
.. note:: | ||
Most of the commands here should be replaced with Python | ||
alternatives. For example, instead of using macros, use Python | ||
functions. Instead of ``/MKDIR`` use ``os.mkdir``. | ||
|
||
.. warning:: | ||
Many of the commands here must be run in ``mapdl.non_interactive`` | ||
.. currentmodule:: ansys.mapdl.core._commands.apdl.macro_files | ||
|
||
.. autoclass:: ansys.mapdl.core._commands.apdl.macro_files.MacroFiles | ||
|
||
.. autosummary:: | ||
:toctree: _autosummary/ | ||
|
||
Mapdl.cfclos | ||
Mapdl.cfopen | ||
Mapdl.cfwrite | ||
Mapdl.create | ||
Mapdl.dflab | ||
Mapdl.end | ||
Mapdl.mkdir | ||
Mapdl.msg | ||
Mapdl.pmacro | ||
Mapdl.psearch | ||
Mapdl.rmdir | ||
Mapdl.tee | ||
Mapdl.ulib | ||
Mapdl.use | ||
:template: base.rst | ||
:toctree: _autosummary | ||
|
||
|
||
MacroFiles.pmacro | ||
MacroFiles.psearch | ||
MacroFiles.ulib | ||
MacroFiles.use | ||
MacroFiles.cfwrite | ||
MacroFiles.cfclos | ||
MacroFiles.cfopen | ||
MacroFiles.create | ||
MacroFiles.msg | ||
MacroFiles.mkdir | ||
MacroFiles.slashtee | ||
MacroFiles.rmdir |
This file was deleted.
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,46 @@ | ||
|
||
.. _ref_matrix_operations: | ||
|
||
|
||
MatrixOperations | ||
================ | ||
|
||
|
||
.. currentmodule:: ansys.mapdl.core._commands.apdl.matrix_operations | ||
|
||
.. autoclass:: ansys.mapdl.core._commands.apdl.matrix_operations.MatrixOperations | ||
|
||
.. autosummary:: | ||
:template: base.rst | ||
:toctree: _autosummary | ||
|
||
|
||
MatrixOperations.starprint | ||
MatrixOperations.free | ||
MatrixOperations.fft | ||
MatrixOperations.wrk | ||
MatrixOperations.comp | ||
MatrixOperations.xpl | ||
MatrixOperations.nrm | ||
MatrixOperations.merge | ||
MatrixOperations.mult | ||
MatrixOperations.starinquire | ||
MatrixOperations.itengine | ||
MatrixOperations.init | ||
MatrixOperations.export | ||
MatrixOperations.eigen | ||
MatrixOperations.smat | ||
MatrixOperations.starsort | ||
MatrixOperations.scal | ||
MatrixOperations.vec | ||
MatrixOperations.hprod | ||
MatrixOperations.lsengine | ||
MatrixOperations.lsfactor | ||
MatrixOperations.lsrestore | ||
MatrixOperations.lsbac | ||
MatrixOperations.lsdump | ||
MatrixOperations.remove | ||
MatrixOperations.starrename | ||
MatrixOperations.axpy | ||
MatrixOperations.dmat | ||
MatrixOperations.dot |
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,24 +1,31 @@ | ||
.. _ref_parameter_definition_commands_api: | ||
|
||
******************** | ||
Parameter definition | ||
******************** | ||
.. _ref_parameter_definition: | ||
|
||
.. currentmodule:: ansys.mapdl.core | ||
|
||
These APDL commands are used to define parameters and their values. | ||
ParameterDefinition | ||
=================== | ||
|
||
|
||
.. currentmodule:: ansys.mapdl.core._commands.apdl.parameter_definition | ||
|
||
.. autoclass:: ansys.mapdl.core._commands.apdl.parameter_definition.ParameterDefinition | ||
|
||
.. autosummary:: | ||
:toctree: _autosummary/ | ||
|
||
Mapdl.afun | ||
Mapdl.dim | ||
Mapdl.inquire | ||
Mapdl.parres | ||
Mapdl.parsav | ||
Mapdl.starset | ||
Mapdl.taxis | ||
Mapdl.tread | ||
Mapdl.vfill | ||
Mapdl.starvget | ||
Mapdl.vread | ||
:template: base.rst | ||
:toctree: _autosummary | ||
|
||
|
||
ParameterDefinition.parres | ||
ParameterDefinition.parsav | ||
ParameterDefinition.get | ||
ParameterDefinition.inquire | ||
ParameterDefinition.starset | ||
ParameterDefinition.starstatus | ||
ParameterDefinition.tread | ||
clatapie marked this conversation as resolved.
Show resolved
Hide resolved
|
||
ParameterDefinition.taxis | ||
ParameterDefinition.vread | ||
ParameterDefinition.starvget | ||
ParameterDefinition.vfill | ||
ParameterDefinition.afun | ||
ParameterDefinition.stardel | ||
ParameterDefinition.dim |
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.
This will be reverted once the tests will pass