Block-Structured AMR Software Framework
amrex::SplineDistFcnElement2d Class Reference

#include <AMReX_distFcnElement.H>

Inheritance diagram for amrex::SplineDistFcnElement2d:
amrex::distFcnElement2d

Public Member Functions

 SplineDistFcnElement2d ()=default
 
 ~SplineDistFcnElement2d () override=default
 
distFcnElement2dnewDistFcnElement2d () 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. More...
 
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)
 

Private Attributes

std::vector< amrex::Real > control_points_x
 
std::vector< amrex::Real > control_points_y
 
amrex::RealVect bc_pt_start
 
amrex::RealVect bc_pt_end
 
std::vector< amrex::Real > Dx
 
std::vector< amrex::Real > Dy
 

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)
 

Constructor & Destructor Documentation

◆ SplineDistFcnElement2d()

amrex::SplineDistFcnElement2d::SplineDistFcnElement2d ( )
default

◆ ~SplineDistFcnElement2d()

amrex::SplineDistFcnElement2d::~SplineDistFcnElement2d ( )
overridedefault

Member Function Documentation

◆ calc_D()

void amrex::SplineDistFcnElement2d::calc_D ( bool  clamped_bc = false)

◆ cpdist()

amrex::Real amrex::SplineDistFcnElement2d::cpdist ( amrex::RealVect  pt,
amrex::RealVect cp 
) const
overridevirtual

◆ cpside()

amrex::Real amrex::SplineDistFcnElement2d::cpside ( amrex::RealVect  pt,
amrex::RealVect cp 
) const
overridevirtual

◆ dist()

amrex::Real amrex::SplineDistFcnElement2d::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 
)
staticprotected

◆ dxbydt()

void amrex::SplineDistFcnElement2d::dxbydt ( amrex::Real  t,
amrex::Real  y0,
amrex::Real  y1,
amrex::Real  D0,
amrex::Real  D1,
amrex::Real &  dyf,
amrex::Real &  d2yf 
)
staticprotected

◆ eval()

amrex::Real amrex::SplineDistFcnElement2d::eval ( amrex::Real  t,
amrex::Real  y0,
amrex::Real  y1,
amrex::Real  D0,
amrex::Real  D1 
)
staticprotected

◆ newDistFcnElement2d()

distFcnElement2d * amrex::SplineDistFcnElement2d::newDistFcnElement2d ( ) const
overridevirtual

◆ print_control_points()

void amrex::SplineDistFcnElement2d::print_control_points ( ) const

◆ print_spline()

void amrex::SplineDistFcnElement2d::print_spline ( ) const

◆ set_bc_points()

void amrex::SplineDistFcnElement2d::set_bc_points ( amrex::RealVect  start,
amrex::RealVect  end 
)

◆ set_control_points()

void amrex::SplineDistFcnElement2d::set_control_points ( std::vector< amrex::RealVect pts)

◆ single_spline_cpdist()

void amrex::SplineDistFcnElement2d::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 
)
staticprotected

Member Data Documentation

◆ bc_pt_end

amrex::RealVect amrex::SplineDistFcnElement2d::bc_pt_end
private

◆ bc_pt_start

amrex::RealVect amrex::SplineDistFcnElement2d::bc_pt_start
private

◆ control_points_x

std::vector<amrex::Real> amrex::SplineDistFcnElement2d::control_points_x
private

◆ control_points_y

std::vector<amrex::Real> amrex::SplineDistFcnElement2d::control_points_y
private

◆ Dx

std::vector<amrex::Real> amrex::SplineDistFcnElement2d::Dx
private

◆ Dy

std::vector<amrex::Real> amrex::SplineDistFcnElement2d::Dy
private

The documentation for this class was generated from the following files: