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
action_F_Standard.h
Go to the documentation of this file.
1
14
#ifndef ACTION_F_STANDARD_INCLUDED
15
#define ACTION_F_STANDARD_INCLUDED
16
17
#include <valarray>
18
#include "
action.h
"
19
#include "
solver.h
"
20
21
#include "
bridgeIO.h
"
22
using
Bridge::vout
;
23
25
35
class
Action_F_Standard
:
public
Action
36
{
37
private
:
38
Fopr
*
m_fopr
;
39
Force
*
m_fopr_force
;
40
Field
m_psf
;
41
std::string
m_label
;
42
Field
m_force
;
43
44
Solver
*
m_solver
;
45
46
Field
*
m_U
;
47
int
m_status_linkv
;
48
49
RandomNumbers
*
m_rand
;
50
51
public
:
52
53
Action_F_Standard
(
Fopr
*fopr,
Force
*fopr_force)
54
:
Action
(),
m_fopr
(fopr),
m_fopr_force
(fopr_force)
55
{
56
set_parameters
();
57
}
58
59
~Action_F_Standard
()
60
{
61
delete
m_solver
;
62
}
63
64
void
set_parameters
(
const
Parameters
&);
65
void
set_parameters
();
66
67
void
set_label
(std::string label)
68
{
69
m_label
= label;
70
vout
.
detailed
(
m_vl
,
" label: %s\n"
,
m_label
.c_str());
71
}
72
73
std::string
get_label
()
74
{
75
return
m_label
;
76
}
77
78
void
set_config
(
Field
*U)
79
{
80
m_U
= U;
81
m_fopr
->
set_config
(U);
82
m_fopr_force
->
set_config
(U);
83
}
84
85
void
notify_linkv
()
86
{
87
m_status_linkv
= 0;
88
}
89
90
double
langevin
(
RandomNumbers
*);
91
92
double
calcH
();
93
94
const
Field
force
();
95
};
96
#endif
src
Action
action_F_Standard.h
Generated on Tue Jul 23 2013 10:48:47 for Bridge++ by
1.8.3.1