suanPan
TabularSpline Class Referencefinal

A TabularSpline class that can generate Amplitude pattern. More...

#include <TabularSpline.h>

Inheritance diagram for TabularSpline:
Collaboration diagram for TabularSpline:

Public Member Functions

void initialize (const shared_ptr< DomainBase > &) override
 
double get_amplitude (double) override
 
void print () override
 
 Tabular (unsigned, vec &&, vec &&, unsigned)
 
 Tabular (unsigned, string &&, unsigned)
 
- Public Member Functions inherited from Tabular
 Tabular (unsigned, vec &&, vec &&, unsigned)
 
 Tabular (unsigned, string &&, unsigned)
 
void initialize (const shared_ptr< DomainBase > &) override
 
double get_amplitude (double) override
 
void print () override
 
- Public Member Functions inherited from Amplitude
 Amplitude (unsigned=0, unsigned=0)
 
 ~Amplitude () override=default
 
virtual void initialize (const shared_ptr< DomainBase > &)
 
virtual double get_amplitude (double)
 
void set_start_step (unsigned)
 
unsigned get_start_step () const
 
void set_start_time (double)
 
double set_start_time () const
 
- Public Member Functions inherited from Tag
 Tag (unsigned=0)
 
 Tag (const Tag &)=default
 
 Tag (Tag &&)=default
 
Tagoperator= (const Tag &)=delete
 
Tagoperator= (Tag &&)=delete
 
virtual ~Tag ()=default
 
void set_tag (unsigned) const
 
unsigned get_tag () const
 
void enable ()
 
void disable ()
 
void guard ()
 
void unguard ()
 
bool is_active () const
 
bool is_guarded () const
 
virtual void print ()
 

Additional Inherited Members

- Protected Attributes inherited from Tabular
vec time
 
vec magnitude
 
- Protected Attributes inherited from Amplitude
unsigned start_step
 
double start_time = 0.
 

Detailed Description

A TabularSpline class that can generate Amplitude pattern.

Author
tlc
Date
15/08/2022
Version
0.1.0

Member Function Documentation

◆ get_amplitude()

double TabularSpline::get_amplitude ( double  T)
overridevirtual

Reimplemented from Tabular.

◆ initialize()

void TabularSpline::initialize ( const shared_ptr< DomainBase > &  D)
overridevirtual

Reimplemented from Tabular.

Here is the call graph for this function:

◆ print()

void TabularSpline::print ( )
overridevirtual

Reimplemented from Tabular.

◆ Tabular() [1/2]

Tabular::Tabular ( unsigned  T,
string &&  P,
unsigned  ST 
)

◆ Tabular() [2/2]

Tabular::Tabular ( unsigned  T,
vec &&  TI,
vec &&  M,
unsigned  ST 
)

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