ABACUS develop
Atomic-orbital Based Ab-initio Computation at UStc
|
Boundary condition for cubic spline interpolation. More...
#include <cubic_spline.h>
Public Member Functions | |
BoundaryCondition (BoundaryType type=BoundaryType::not_a_knot) | |
BoundaryCondition (BoundaryType type, double val) | |
Public Attributes | |
BoundaryType | type |
double | val = 0.0 |
Boundary condition for cubic spline interpolation.
An object of this struct represents an actual boundary condition at one end, which contains a type and possibly a value (first/second_deriv only).
CubicSpline::BoundaryCondition::BoundaryCondition | ( | BoundaryType | type = BoundaryType::not_a_knot | ) |
CubicSpline::BoundaryCondition::BoundaryCondition | ( | BoundaryType | type, |
double | val | ||
) |
BoundaryType ModuleBase::CubicSpline::BoundaryCondition::type |
double ModuleBase::CubicSpline::BoundaryCondition::val = 0.0 |