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

#include <AMReX_distFcnElement.H>

Inheritance diagram for amrex::LineDistFcnElement2d:
amrex::distFcnElement2d

Public Member Functions

 LineDistFcnElement2d ()=default
 
 ~LineDistFcnElement2d () override=default
 
distFcnElement2dnewDistFcnElement2d () const override
 
void set_control_points (std::vector< amrex::RealVect > pts)
 
amrex::Real cpdist (amrex::RealVect pt, amrex::RealVect &cp) const override
 
amrex::Real cpside (amrex::RealVect pt, amrex::RealVect &cp) const override
 
void print_control_points ()
 
- Public Member Functions inherited from amrex::distFcnElement2d
 distFcnElement2d ()=default
 Constructor. More...
 
virtual ~distFcnElement2d ()=default
 

Static Protected Member Functions

static void single_seg_cpdist (amrex::RealVect pt, amrex::Real x0, amrex::Real x1, amrex::Real y0, amrex::Real y1, amrex::RealVect &cp, amrex::Real &dist)
 

Private Attributes

std::vector< amrex::Real > control_points_x
 
std::vector< amrex::Real > control_points_y
 

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

◆ LineDistFcnElement2d()

amrex::LineDistFcnElement2d::LineDistFcnElement2d ( )
default

◆ ~LineDistFcnElement2d()

amrex::LineDistFcnElement2d::~LineDistFcnElement2d ( )
overridedefault

Member Function Documentation

◆ cpdist()

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

◆ cpside()

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

◆ newDistFcnElement2d()

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

◆ print_control_points()

void amrex::LineDistFcnElement2d::print_control_points ( )

◆ set_control_points()

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

◆ single_seg_cpdist()

void amrex::LineDistFcnElement2d::single_seg_cpdist ( amrex::RealVect  pt,
amrex::Real  x0,
amrex::Real  x1,
amrex::Real  y0,
amrex::Real  y1,
amrex::RealVect cp,
amrex::Real &  dist 
)
staticprotected

Member Data Documentation

◆ control_points_x

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

◆ control_points_y

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

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