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_Rational_Frame_SF.h
Go to the documentation of this file.
1
14
#ifndef ACTION_FRATIONAL_FRAME_SF_INCLUDED
15
#define ACTION_FRATIONAL_FRAME_SF_INCLUDED
16
17
#include "
action.h
"
18
#include "
fopr_Rational.h
"
19
#include "
force_F_Rational.h
"
20
21
#include "
field_G_SF.h
"
22
#include "
field_F_SF.h
"
23
24
#include "
bridgeIO.h
"
25
using
Bridge::vout
;
26
28
37
//- parameters class
38
class
Parameters_Action_F_Rational_frame_SF
:
virtual
public
Parameters
39
{
40
public
:
41
Parameters_Action_F_Rational_frame_SF
();
42
};
43
//- end
44
45
class
Action_F_Rational_frame_SF
:
public
Action
{
46
private
:
47
std::string
m_label
;
// label of action
48
49
Fopr
*
m_fopr_langev
;
50
Fopr
*
m_fopr_H
;
51
Force
*
m_fopr_force_MD
;
52
53
Field
*
m_U
;
54
int
m_status_linkv
;
55
56
Field
m_psf
;
57
Field
m_force
;
58
59
60
public
:
62
Action_F_Rational_frame_SF
(
Fopr
*fopr_langev,
Fopr
*fopr_H,
63
Force
*fopr_force_MD)
64
{
65
m_fopr_langev
= fopr_langev;
66
m_fopr_H
= fopr_H;
67
m_fopr_force_MD
= fopr_force_MD;
68
setup
();
69
}
70
72
~Action_F_Rational_frame_SF
()
73
{
74
}
75
77
void
set_parameters
(
const
Parameters
& params);
78
80
void
set_label
(std::string label)
81
{
82
m_label
= label;
83
vout
.
detailed
(
m_vl
,
" label: %s\n"
,
m_label
.c_str());
84
}
85
87
std::string
get_label
()
88
{
89
return
m_label
;
90
}
91
93
void
set_config
(
Field
*U)
94
{
95
m_U
= U;
96
m_fopr_langev
->
set_config
(U);
97
m_fopr_H
->
set_config
(U);
98
m_fopr_force_MD
->
set_config
(U);
99
}
100
102
void
notify_linkv
()
103
{
104
m_status_linkv
= 0;
105
}
106
108
double
langevin
(
RandomNumbers
*);
109
111
double
calcH
();
112
114
const
Field
force
();
115
116
private
:
117
119
void
setup
();
120
122
void
tidyup
();
123
};
124
#endif
src
Action
action_F_Rational_Frame_SF.h
Generated on Tue Jul 23 2013 10:48:47 for Bridge++ by
1.8.3.1