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

LIE/HM part 2: Data structure #1538

Merged
merged 1 commit into from
Nov 17, 2016
Merged

LIE/HM part 2: Data structure #1538

merged 1 commit into from
Nov 17, 2016

Conversation

norihiro-w
Copy link
Collaborator

a part of #1535, depends on #1537

This PR focuses on data structures used in LIE/HM, i.e. process data and integration point data

@norihiro-w
Copy link
Collaborator Author

@wenqing can you please review this?

Copy link
Collaborator

@chleh chleh left a comment

Choose a reason for hiding this comment

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

Looks good.

{
}

typename HMatricesType::HMatrixType H_u;
Copy link
Collaborator

Choose a reason for hiding this comment

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

Note: Default-constructing these matrices might fail miserably if they are of dynamic size. Currently that probably doesn't matter, because displacement-related stuff is always fixed size.

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

yes, it's fixed size matrix. but isn't Jenkins testing both Eigen dynamic size matrix and fixed size matrix cases?

Copy link
Collaborator

Choose a reason for hiding this comment

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

I see, I was confused.
If you resize the matrices in your assembler, or assign to them as a whole, not component-wise, s.t. they have a proper size in the end, there will be no problem.

@norihiro-w norihiro-w merged commit 7d07648 into ufz:master Nov 17, 2016
@norihiro-w norihiro-w deleted the LIE-HM-2 branch November 17, 2016 08:27
@ogsbot
Copy link
Member

ogsbot commented Jun 19, 2020

OpenGeoSys development has been moved to GitLab.

See this pull request on GitLab.

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