Bridge++  Ver. 2.0.2
Source Class Referenceabstract

Base class of source for a linear solver. More...

#include <source.h>

Inheritance diagram for Source:
Source_Exponential Source_Local Source_MomentumWall Source_Random Source_Staggered_Wall_Cube Source_Staggered_Wall_Evenodd Source_Wall

Public Member Functions

 Source ()
 
virtual ~Source ()
 
virtual void set_parameters (const Parameters &)=0
 
virtual void get_parameters (Parameters &) const =0
 
virtual void set (Field &, const int)=0
 
virtual void set (Field &, const int, const int)=0
 
virtual void set_all_color (Field &, const int)=0
 
virtual void set_all_color_spin (Field &)=0
 

Private Member Functions

 Source (const Source &)
 
Sourceoperator= (const Source &)
 

Detailed Description

Base class of source for a linear solver.

(Coding history will be recovered from trac.) Parameters_Source_All is implemented for source_selector. [ 2 Feb 2013 Y.Namekawa] Bug fix: initialization of verbose level was added. [23 May 2016 H.Matsufuru] Add set_all_color_spin,etc [ 4 Apr 2017 Y.Namekawa]

Definition at line 37 of file source.h.

Constructor & Destructor Documentation

◆ Source() [1/2]

Source::Source ( )
inline

Definition at line 40 of file source.h.

◆ ~Source()

virtual Source::~Source ( )
inlinevirtual

Definition at line 41 of file source.h.

◆ Source() [2/2]

Source::Source ( const Source )
private

Member Function Documentation

◆ get_parameters()

virtual void Source::get_parameters ( Parameters ) const
pure virtual

◆ operator=()

Source& Source::operator= ( const Source )
private

◆ set() [1/2]

virtual void Source::set ( Field ,
const int   
)
pure virtual

◆ set() [2/2]

virtual void Source::set ( Field ,
const int  ,
const int   
)
pure virtual

◆ set_all_color()

virtual void Source::set_all_color ( Field ,
const int   
)
pure virtual

◆ set_all_color_spin()

virtual void Source::set_all_color_spin ( Field )
pure virtual

◆ set_parameters()

virtual void Source::set_parameters ( const Parameters )
pure virtual

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