ABACUS develop
Atomic-orbital Based Ab-initio Computation at UStc
Loading...
Searching...
No Matches
Public Member Functions | Public Attributes | List of all members
ModuleBase::CubicSpline::BoundaryCondition Struct Reference

Boundary condition for cubic spline interpolation. More...

#include <cubic_spline.h>

Collaboration diagram for ModuleBase::CubicSpline::BoundaryCondition:

Public Member Functions

 BoundaryCondition (BoundaryType type=BoundaryType::not_a_knot)
 
 BoundaryCondition (BoundaryType type, double val)
 

Public Attributes

BoundaryType type
 
double val = 0.0
 

Detailed Description

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).

Constructor & Destructor Documentation

◆ BoundaryCondition() [1/2]

CubicSpline::BoundaryCondition::BoundaryCondition ( BoundaryType  type = BoundaryType::not_a_knot)

◆ BoundaryCondition() [2/2]

CubicSpline::BoundaryCondition::BoundaryCondition ( BoundaryType  type,
double  val 
)

Member Data Documentation

◆ type

BoundaryType ModuleBase::CubicSpline::BoundaryCondition::type

◆ val

double ModuleBase::CubicSpline::BoundaryCondition::val = 0.0

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