![]() |
Block-Structured AMR Software Framework
|
Distance function defined by a cubic spline. More...
#include <AMReX_distFcnElement.H>
Public Member Functions | |
| SplineDistFcnElement2d ()=default | |
| ~SplineDistFcnElement2d () override=default | |
| distFcnElement2d * | newDistFcnElement2d () const override |
| void | set_control_points (std::vector< amrex::RealVect > pts) |
| void | set_bc_points (amrex::RealVect start, amrex::RealVect end) |
| void | print_control_points () const |
| void | print_spline () const |
| void | calc_D (bool clamped_bc=false) |
| amrex::Real | cpdist (amrex::RealVect pt, amrex::RealVect &cp) const override |
| amrex::Real | cpside (amrex::RealVect pt, amrex::RealVect &cp) const override |
Public Member Functions inherited from amrex::distFcnElement2d | |
| distFcnElement2d ()=default | |
| Constructor. | |
| virtual | ~distFcnElement2d ()=default |
Static Protected Member Functions | |
| static amrex::Real | eval (amrex::Real t, amrex::Real y0, amrex::Real y1, amrex::Real D0, amrex::Real D1) |
| static void | dxbydt (amrex::Real t, amrex::Real y0, amrex::Real y1, amrex::Real D0, amrex::Real D1, amrex::Real &dyf, amrex::Real &d2yf) |
| static void | single_spline_cpdist (amrex::RealVect pt, amrex::Real x0, amrex::Real x1, amrex::Real Dx0, amrex::Real Dx1, amrex::Real y0, amrex::Real y1, amrex::Real Dy0, amrex::Real Dy1, amrex::Real &t, amrex::RealVect &cp, amrex::Real &dist) |
| static amrex::Real | dist (amrex::RealVect pt, amrex::Real x0, amrex::Real x1, amrex::Real Dx0, amrex::Real Dx1, amrex::Real y0, amrex::Real y1, amrex::Real Dy0, amrex::Real Dy1, amrex::Real &t, amrex::RealVect &spt) |
Additional Inherited Members | |
Static Public Member Functions inherited from amrex::distFcnElement2d | |
| static int | solve_thomas (const std::vector< amrex::Real > &a, std::vector< amrex::Real > &b, const std::vector< amrex::Real > &c, std::vector< amrex::Real > &d, std::vector< amrex::Real > &X) |
Distance function defined by a cubic spline.
|
default |
|
overridedefault |
| void amrex::SplineDistFcnElement2d::calc_D | ( | bool | clamped_bc = false | ) |
|
overridevirtual |
Implements amrex::distFcnElement2d.
|
overridevirtual |
Implements amrex::distFcnElement2d.
|
staticprotected |
|
staticprotected |
|
staticprotected |
|
overridevirtual |
Implements amrex::distFcnElement2d.
| void amrex::SplineDistFcnElement2d::print_control_points | ( | ) | const |
| void amrex::SplineDistFcnElement2d::print_spline | ( | ) | const |
| void amrex::SplineDistFcnElement2d::set_bc_points | ( | amrex::RealVect | start, |
| amrex::RealVect | end | ||
| ) |
| void amrex::SplineDistFcnElement2d::set_control_points | ( | std::vector< amrex::RealVect > | pts | ) |
|
staticprotected |