Bridge++
Ver. 1.1.x
Main Page
Namespaces
Classes
Files
File List
File Members
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Friends
Macros
Pages
source_Exponential.h
Go to the documentation of this file.
1
14
#ifndef SOURCE_EXPONENTIAL_INCLUDED
15
#define SOURCE_EXPONENTIAL_INCLUDED
16
17
#include "
source.h
"
18
#include "
index_lex.h
"
19
20
#include "
bridgeIO.h
"
21
using
Bridge::vout
;
22
23
//- parameters class
24
class
Parameters_Source_Exponential
:
virtual
public
Parameters
25
{
26
public
:
27
Parameters_Source_Exponential
();
28
};
29
//- end
30
32
41
class
Source_Exponential
:
public
Source
42
{
43
public
:
44
45
Source_Exponential
() {}
46
47
void
set_parameters
(
const
Parameters
& params);
48
void
set_parameters
(
const
valarray<int>& source_position,
49
const
double
slope,
const
double
power);
50
51
void
set
(
Field
& v,
int
j);
52
53
private
:
54
Index_lex
m_index
;
55
valarray<int>
m_source_position
;
56
double
m_slope
,
m_power
;
57
bool
m_in_node
;
58
Field
m_src_func
;
59
};
60
#endif
/* SOURCE_EXPONENTIAL_INCLUDED */
src
Measurements
Fermion
source_Exponential.h
Generated on Tue Jul 23 2013 10:48:49 for Bridge++ by
1.8.3.1