Skip to content

Conversation

germa89
Copy link
Collaborator

@germa89 germa89 commented Mar 29, 2022

Close #990

You can still operate with these mappings but it should be done using mapdl.run("*SMAT...."). This allows to work inside MAPDL with these nodes mapping.

Also adding default dtype for the get_vec when using BACK and FORWARD since MAPDL returns ints arrays.

Also, to avoid possible errors, I'm forcing array conversion (array.astype) when using get_vec and asarray keyword.

@germa89 germa89 added the BUG label Mar 29, 2022
@germa89 germa89 added this to the v0.61.3 milestone Mar 29, 2022
@germa89 germa89 self-assigned this Mar 29, 2022
@codecov
Copy link

codecov bot commented Mar 29, 2022

Codecov Report

Merging #1005 (a3f8091) into main (51f4cb5) will increase coverage by 0.03%.
The diff coverage is 100.00%.

@@            Coverage Diff             @@
##             main    #1005      +/-   ##
==========================================
+ Coverage   74.75%   74.79%   +0.03%     
==========================================
  Files          43       43              
  Lines        6045     6050       +5     
==========================================
+ Hits         4519     4525       +6     
+ Misses       1526     1525       -1     

Copy link
Collaborator

@akaszynski akaszynski left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM, nice work!

@akaszynski akaszynski enabled auto-merge (squash) March 30, 2022 11:03
@akaszynski akaszynski merged commit a54cb45 into main Mar 30, 2022
@akaszynski akaszynski deleted the fix/int-sparse-array-transfering branch March 30, 2022 11:13
germa89 added a commit that referenced this pull request Apr 20, 2022
* Adding sanity check and default dtype to `get_vec`

* Removing not allowed keywords.

* Ensuring returning type when using `asarray` argument

* Adding unit tests

* Fixing unit tests

* Adding asarray arg to test.

* Update src/ansys/mapdl/core/math.py

Co-authored-by: Alex Kaszynski <akascap@gmail.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

impossible to obtain DOF ordering

2 participants