suanPan
🧮 An Open Source, Parallel and Heterogeneous Finite Element Analysis Framework
Loading...
Searching...
No Matches
Tabular Class Reference

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

#include <Tabular.h>

Inheritance diagram for Tabular:
Collaboration diagram for Tabular:

Public Member Functions

 Tabular (unsigned, vec &&, vec &&)
 
 Tabular (unsigned, std::string &&)
 
void initialize (const shared_ptr< DomainBase > &) override
 
unique_ptr< Amplitudeunique_copy () override
 
double get_amplitude (double) override
 
void print () override
 
- Public Member Functions inherited from Amplitude
void set_initialized (bool)
 
bool is_initialized () const
 
void set_start_time (double)
 
 CopyableTag (const CopyableTag &)=default
 
 CopyableTag (CopyableTag &&)=default
 
- Public Member Functions inherited from CopyableTag
 CopyableTag (const CopyableTag &)=default
 
 CopyableTag (CopyableTag &&)=default
 
CopyableTagoperator= (const CopyableTag &)=delete
 
CopyableTagoperator= (CopyableTag &&)=delete
 
 ~CopyableTag () override=default
 
 Tag (unsigned=0)
 
 Tag (const Tag &)=default
 
 Tag (Tag &&) noexcept=default
 
- Public Member Functions inherited from Tag
 Tag (unsigned=0)
 
 Tag (const Tag &)=default
 
 Tag (Tag &&) noexcept=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
 

Protected Attributes

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

Detailed Description

A Tabular class that can generate Amplitude pattern.

Author
tlc
Date
15/07/2017
Version
0.1.0

Constructor & Destructor Documentation

◆ Tabular() [1/2]

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

◆ Tabular() [2/2]

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

Member Function Documentation

◆ get_amplitude()

double Tabular::get_amplitude ( double  T)
overridevirtual

Reimplemented from Amplitude.

Reimplemented in TabularSpline.

◆ initialize()

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

Reimplemented from Amplitude.

Reimplemented in TabularSpline.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ print()

void Tabular::print ( )
overridevirtual

Reimplemented from Tag.

Reimplemented in TabularSpline.

◆ unique_copy()

unique_ptr< Amplitude > Tabular::unique_copy ( )
overridevirtual

Implements Amplitude.

Reimplemented in TabularSpline.

Member Data Documentation

◆ magnitude

vec Tabular::magnitude
protected

◆ time

vec Tabular::time
protected

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