SpECTRE  2021.08.02
intrp::OptionHolders::LineSegment< VolumeDim > Struct Template Reference

A line segment extending from Begin to End, containing NumberOfPoints uniformly-spaced points including the endpoints. More...

#include <InterpolationTargetLineSegment.hpp>

Classes

struct  Begin
 
struct  End
 
struct  NumberOfPoints
 

Public Types

using options = tmpl::list< Begin, End, NumberOfPoints >
 

Public Member Functions

 LineSegment (std::array< double, VolumeDim > begin_in, std::array< double, VolumeDim > end_in, size_t number_of_points_in) noexcept
 
 LineSegment (const LineSegment &)=delete
 
LineSegmentoperator= (const LineSegment &)=default
 
 LineSegment (LineSegment &&) noexcept=default
 
LineSegmentoperator= (LineSegment &&) noexcept=default
 
void pup (PUP::er &p) noexcept
 

Public Attributes

std::array< double, VolumeDim > begin {}
 
std::array< double, VolumeDim > end {}
 
size_t number_of_points {}
 

Static Public Attributes

static constexpr Options::String help
 

Detailed Description

template<size_t VolumeDim>
struct intrp::OptionHolders::LineSegment< VolumeDim >

A line segment extending from Begin to End, containing NumberOfPoints uniformly-spaced points including the endpoints.

Note
Input coordinates are interpreted in Frame::Inertial

Member Data Documentation

◆ help

template<size_t VolumeDim>
constexpr Options::String intrp::OptionHolders::LineSegment< VolumeDim >::help
staticconstexpr
Initial value:
= {
"A line segment extending from Begin to End, containing NumberOfPoints"
" uniformly-spaced points including the endpoints."}