SpECTRE  v2026.04.01
Loading...
Searching...
No Matches
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 <LineSegment.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)
void pup (PUP::er &p)

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>
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."}

The documentation for this struct was generated from the following file:
  • src/ParallelAlgorithms/Interpolation/Targets/LineSegment.hpp