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

Add bulk element mappings for triangles. #2901

Merged
merged 7 commits into from
Apr 16, 2020

Conversation

TomFischer
Copy link
Member

@TomFischer TomFischer commented Apr 14, 2020

  1. Feature description was added to the changelog
  2. Tests covering your feature were added?
  3. Any new feature or behavior change was documented?
    Yes, I created a pdf. The question is where to put the sketches?

/// local coordinates of the tri face.
/// \param tri the tri element
/// \param face_id the id of the tri face the point will be mapped on
/// \param wp the gauss point of the lower dimensional element
Copy link
Member

Choose a reason for hiding this comment

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

Minor; Would call it integration point at least.
Better would be to call it something like local coordinate of the line element. (and then to pass only the coordinates w/o the integration weight.) But this is a long story...

return MathLib::Point3d{
std::array<double, 3>{{0.0, 1 - wp[0], 0.0}}};
default:
OGS_FATAL("Invalid face id '%u' for the tri.", face_id);
Copy link
Member

Choose a reason for hiding this comment

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

Suggested change
OGS_FATAL("Invalid face id '%u' for the tri.", face_id);
OGS_FATAL("Invalid face id '{:d}' for the tri.", face_id);

Copy link
Member Author

Choose a reason for hiding this comment

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

Yes, you are right. Will fix it tomorrow.

@TomFischer TomFischer force-pushed the AddFurtherBulkElementMappings branch from 9e440dd to b34d242 Compare April 15, 2020 05:38
@TomFischer TomFischer force-pushed the AddFurtherBulkElementMappings branch 2 times, most recently from 94c3a14 to c1703dc Compare April 15, 2020 09:49
@TomFischer
Copy link
Member Author

I don't see the reason for the doxygen warning:

argument 'quad' of command @param is not found in the argument list of MeshLib::getBulkElementPoint(MeshLib::Tri const &tri, std::size_t const face_id, MathLib::WeightedPoint1D const ℘)

Seems to be a false positive?

@TomFischer TomFischer force-pushed the AddFurtherBulkElementMappings branch from c1703dc to 5179a17 Compare April 16, 2020 09:53
This is necessary because of a doxygen bug in
documenting overloaded functions.
@bilke bilke merged commit fd52f38 into ufz:master Apr 16, 2020
@bilke bilke deleted the AddFurtherBulkElementMappings branch April 16, 2020 17:17
@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.

5 participants