|
ERF
Energy Research and Forecasting: An Atmospheric Modeling Code
|
Defines cut-cell geometry reconstruction from EB plane intersections. More...
#include <AMReX_REAL.H>#include <AMReX_Array.H>#include <AMReX_RealBox.H>#include <AMReX_RealVect.H>#include <AMReX_Algorithm.H>#include <AMReX_EBCellFlag.H>#include <AMReX_GpuPrint.H>#include "ERF_EBPolygon.H"

Go to the source code of this file.
Classes | |
| class | eb_cut_cell_ |
| Reconstructs geometric moments for one EB cut cell. More... | |
| struct | eb_cut_cell_::path_data |
| Intersection metadata for one ordered edge path in the cut-cell box. More... | |
Functions | |
| AMREX_GPU_HOST_DEVICE AMREX_FORCE_INLINE int | intersect_plane_edge (amrex::RealVect const &a_plane_point, amrex::RealVect const &a_plane_normal, amrex::RealVect const &a_edge_point0, amrex::RealVect const &a_edge_point1, amrex::RealVect &a_intersection_point, amrex::Real &a_intersection_dist) |
| Intersect a plane with a line segment. More... | |
Defines cut-cell geometry reconstruction from EB plane intersections.
| AMREX_GPU_HOST_DEVICE AMREX_FORCE_INLINE int intersect_plane_edge | ( | amrex::RealVect const & | a_plane_point, |
| amrex::RealVect const & | a_plane_normal, | ||
| amrex::RealVect const & | a_edge_point0, | ||
| amrex::RealVect const & | a_edge_point1, | ||
| amrex::RealVect & | a_intersection_point, | ||
| amrex::Real & | a_intersection_dist | ||
| ) |
Intersect a plane with a line segment.
| a_plane_point | Point on the plane. | |
| a_plane_normal | Unit normal for the plane. | |
| a_edge_point0 | First endpoint of the edge. | |
| a_edge_point1 | Second endpoint of the edge. | |
| [out] | a_intersection_point | Intersection point when the edge crosses the plane. |
| [out] | a_intersection_dist | Distance from a_edge_point0 to the intersection. |
Referenced by eb_cut_cell_::calc_edge_intersections(), and eb_cut_cell_::path_data::set().

