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

An Amplitude class that can generate Amplitude pattern. More...

#include <Sine.h>

Inheritance diagram for Sine:
Collaboration diagram for Sine:

Public Member Functions

 Sine (unsigned, double, std::vector< double > &&)
 
unique_ptr< Amplitudeunique_copy () override
 
double get_amplitude (double) override
 
void print () override
 
- Public Member Functions inherited from Amplitude
virtual void initialize (const shared_ptr< DomainBase > &)
 
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
 

Additional Inherited Members

- Protected Attributes inherited from Amplitude
double start_time = 0.
 

Detailed Description

An Amplitude class that can generate Amplitude pattern.

Author
tlc
Date
26/10/2017
Version
0.1.0

Constructor & Destructor Documentation

◆ Sine()

Sine::Sine ( unsigned  T,
double  L,
std::vector< double > &&  AA 
)

Member Function Documentation

◆ get_amplitude()

double Sine::get_amplitude ( double  T)
overridevirtual

Reimplemented from Amplitude.

◆ print()

void Sine::print ( )
overridevirtual

Reimplemented from Tag.

◆ unique_copy()

unique_ptr< Amplitude > Sine::unique_copy ( )
overridevirtual

Implements Amplitude.


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