-
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
Open
clatapie
wants to merge
37
commits into
feat/main_commands
Choose a base branch
from
feat/apdl_submodule
base: feat/main_commands
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
feat: apdl
submodule
#3385
Changes from all commits
Commits
Show all changes
37 commits
Select commit
Hold shift + click to select a range
e9de204
feat: changes obtained using ``pyconverter-xml2py`` (after pre-commit…
clatapie 04dac45
chore: adding changelog file 3385.added.md
pyansys-ci-bot 5d300f1
Merge branch 'main' into feat/apdl_submodule
clatapie 477bfc7
Merge branch 'feat/main_commands' into feat/apdl_submodule
clatapie c79356c
feat: applying latest changes from ``pyconverter-xml2py`` new version
clatapie 0fa5cb1
fix: ``array_param`` is now ``array_parameters``
clatapie 18868ed
feat: updating ``doc``
clatapie c6a3c48
fix: update ``ArrayParameters`` class name
clatapie 160b258
fix: updating ``class APDLCommands`` in ``commands.py``
clatapie 8fddefa
fix: adding ``<!-- vale off -->`` in ``apdl/index.rst``
clatapie 9883846
fix: ``inquire`` is now ``starinquire``
clatapie 1528dfb
fix: ``Parameters`` becomes ``ParameterDefinition``
clatapie a0f57b0
fix: docs and reset cache
clatapie 0fac165
docs: fix documentation
clatapie e569ff5
revert: change in ``mapdl_extended``
clatapie 106bb5f
fix: using latest pyconverter-xml2py fixes
clatapie 9ef2ea3
Merge branch 'feat/main_commands' into feat/apdl_submodule
clatapie 8997256
fix: check for invalid_commands in ``_MapdlCore``
clatapie 47fb37a
feat: removing unauthorized MAPDL methods and using pyconverter-xml2p…
clatapie a246c15
test: skip retrieving value for ``endif`` and ``enddo``
clatapie ea01683
fix: tests
clatapie d745c79
Merge branch 'feat/main_commands' into feat/apdl_submodule
clatapie 56e1823
fix: tests - 2
clatapie ddeab20
maint: modifying max run for testing purpose only - TO BE MODIFIED
clatapie 19b6461
fix: ``test_command`` for ``*END...`` commands
clatapie 77c5683
chore: merge remote-tracking branch 'origin/main' into feat/apdl_subm…
germa89 95109a4
Merge branch 'feat/main_commands' into feat/apdl_submodule
clatapie 510e624
fix: coma issues in commands
clatapie b433ec0
Merge branch 'feat/apdl_submodule' of https://github.com/ansys/pymapd…
clatapie f984e72
maint: adding ``linuxdoc`` dependency for flat tables
clatapie ca3e9ef
docs: removing ``ref.ref`` warning temporarily
clatapie 15d9084
fix: removing ``xpl`` and ``directory`` methods
clatapie 712a2e3
feat: adding links from ``pyconverter-xml2py``
clatapie cd7f2f1
fix: removing ``mwrite`` and ``vwrite`` methods
clatapie 7baebc4
fix: readding ``mwrite`` and ``vwrite`` methods + fixing ``mkdir``
clatapie 55f8bfe
fix: reverting change in example
clatapie 212083d
fix: attempt to fix codespell
clatapie File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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 |
---|---|---|
@@ -0,0 +1 @@ | ||
feat: ``apdl`` submodule |
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,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 |
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,38 @@ | ||
|
||
.. _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 |
This file was deleted.
Oops, something went wrong.
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,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 |
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,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. |
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,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.
Oops, something went wrong.
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,45 @@ | ||
|
||
.. _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.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 |
Oops, something went wrong.
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
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