2 #ifndef AMREX_EB2_IF_SPLINE_H_
3 #define AMREX_EB2_IF_SPLINE_H_
4 #include <AMReX_Config.H>
23 theSpline->set_control_points(std::move(pts));
30 theLine->set_control_points(std::move(pts));
41 amrex::Real d = geom->cpdist(
x, cp);
44 closesetGeomElement = geom;
47 amrex::Real side = closesetGeomElement ? closesetGeomElement->
cpside(
x,cp) : Real(0.0);
#define AMREX_D_DECL(a, b, c)
Definition: AMReX_SPACE.H:104
Definition: AMReX_EB2_IF_Spline.H:18
void addSplineElement(std::vector< amrex::RealVect > pts)
Definition: AMReX_EB2_IF_Spline.H:21
void addLineElement(std::vector< amrex::RealVect > pts)
Definition: AMReX_EB2_IF_Spline.H:28
amrex::Vector< distFcnElement2d * > geomElements
Definition: AMReX_EB2_IF_Spline.H:53
amrex::Real operator()(const amrex::RealArray &p) const
Definition: AMReX_EB2_IF_Spline.H:34
Definition: AMReX_distFcnElement.H:29
A Real vector in SpaceDim-dimensional space.
Definition: AMReX_RealVect.H:32
Definition: AMReX_distFcnElement.H:58
This class is a thin wrapper around std::vector. Unlike vector, Vector::operator[] provides bound che...
Definition: AMReX_Vector.H:27
Definition: AMReX_distFcnElement.H:11
virtual amrex::Real cpside(amrex::RealVect pt, amrex::RealVect &cp) const =0
Definition: AMReX_FabArrayBase.H:32
Array< Real, AMREX_SPACEDIM > RealArray
Definition: AMReX_Array.H:26