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

Feature restructuring sliding meshes #2334

Open
wants to merge 2 commits into
base: develop
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 8 additions & 0 deletions Common/include/interface_interpolation/CSlidingMesh.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -106,6 +106,14 @@ class CSlidingMesh final : public CInterpolator {
static su2double ComputeIntersectionArea(const su2double* P1, const su2double* P2, const su2double* P3,
const su2double* Q1, const su2double* Q2, const su2double* Q3);

/*!
* \brief For 3-Dimensional grids, compute area between of one triangle
* \param[in] P1 - first point of triangle
* \param[in] P2 - second point of triangle
* \param[in] P3 - third point of triangle
*/
static su2double ComputeTriangleArea(const su2double* P1, const su2double* P2, const su2double* P3);
Copy link
Member

Choose a reason for hiding this comment

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

Since it's just one line it's better to define it inline. We may already have something similar in GeometryToolbox, and if not you can add this function to it.


/*!
* \brief For 2-Dimensional grids, check whether, and compute, two lines are intersecting
* \param[in] A1 - first defining first line
Expand Down
Loading
Loading