Skip to content
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

Update abaqus_io.C #2316

Closed
wants to merge 6 commits into from
Closed

Update abaqus_io.C #2316

wants to merge 6 commits into from

Conversation

yw5aj
Copy link
Contributor

@yw5aj yw5aj commented Oct 30, 2019

Added support for reading ABAQUS .inp file with *Surface referring to element sets

Added support for reading ABAQUS .inp file with *Surface referring to element sets
Deleted trailing whitespaces
Fixed duplicate variable names and indentation
@jwpeterson
Copy link
Member

You may have already fixed this, but the complex numbers build failed because there was a warning and we have -Werror turned on for that build.

../src/mesh/abaqus_io.C:886:27: error: declaration of 'elem_id' shadows a previous local [-Werror=shadow]
         for (const auto & elem_id : it->second)
                           ^~~~~~~
../src/mesh/abaqus_io.C:852:15: note: shadowed declaration is here
   dof_id_type elem_id=0;
               ^~~~~~~

@yw5aj
Copy link
Contributor Author

yw5aj commented Oct 30, 2019

@jwpeterson thanks a lot for looking into this for me! Just got this fixed :)

Copy link
Member

@jwpeterson jwpeterson left a comment

Choose a reason for hiding this comment

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

There are some general indentation and whitespace issues with the patch, but I can fix those before merge.

src/mesh/abaqus_io.C Outdated Show resolved Hide resolved
src/mesh/abaqus_io.C Outdated Show resolved Hide resolved
Switched to using libmesh_map_find
Stored elem_id_or_set as John suggested
Fixed a typo
@yw5aj yw5aj requested a review from jwpeterson October 31, 2019 07:22
@jwpeterson
Copy link
Member

jwpeterson commented Oct 31, 2019

FYI @yw5aj I sent you an invite to join a libMesh group whose PRs are tested automatically. I started all the tests manually just now but I'm confused, yesterday your PR seemed to be testing fine on its own...

@permcody
Copy link
Member

permcody commented Oct 31, 2019 via email

jwpeterson added a commit to jwpeterson/libmesh that referenced this pull request Oct 31, 2019
…lement sets

Co-authored-by: Yuxiang Wang <shwang@aligntech.com>

Refs libMesh#2316.
@jwpeterson
Copy link
Member

Replaced by #2317

@jwpeterson jwpeterson closed this Oct 31, 2019
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.

4 participants