Free Electron
lab
element
Drag.h
Go to the documentation of this file.
1
/* Copyright (C) 2003-2021 Free Electron Organization
2
Any use of this software requires a license. If a valid license
3
was not distributed with this file, visit freeelectron.org. */
4
5
/** @file */
6
7
#ifndef __particle_Drag_h__
8
#define __particle_Drag_h__
9
namespace
fe
10
{
11
namespace
ext
12
{
13
14
/**************************************************************************/
/**
15
@brief Contribute viscous drag
16
17
@ingroup element
18
*/
/***************************************************************************/
19
class
FE_DL_EXPORT
Drag
:
public
RecordOperation
20
{
21
public
:
22
Drag
(
sp<Scope>
spScope):
RecordOperation
(spScope) {}
23
void
bind(
const
Record
&record) {}
24
void
operator()(
const
Record
&record);
25
26
private
:
27
Particle
m_particleRV;
28
};
29
30
}
/* namespace ext */
31
}
/* namespace fe */
32
33
#endif
/* __particle_Drag_h__ */
fe
kernel
Definition:
namespace.dox:3
fe::ext::Particle
Particle RecordView.
Definition:
Particle.h:19
fe::RecordOperation
An operation on a record.
Definition:
RecordOperation.h:24
fe::RecordSB
Reference to an instance of a Layout.
Definition:
RecordSB.h:35
fe::sp< Scope >
fe::ext::Drag
Contribute viscous drag.
Definition:
Drag.h:19
Generated by
1.8.13