OpenLB 1.7
Loading...
Searching...
No Matches
magneticForceFromHField3D.h
Go to the documentation of this file.
1/*
2 * Copyright (C) 2018 Marie-Luise Maier
3 * E-mail contact: info@openlb.net
4 * The most recent release of OpenLB can be downloaded at
5 * <http://www.openlb.net/>
6 *
7 * This program is free software; you can redistribute it and/or
8 * modify it under the terms of the GNU General Public License
9 * as published by the Free Software Foundation; either version 2
10 * of the License, or (at your option) any later version.
11 *
12 * This program is distributed in the hope that it will be useful,
13 * but WITHOUT ANY WARRANTY; without even the implied warranty of
14 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
15 * GNU General Public License for more details.
16 *
17 * You should have received a copy of the GNU General Public
18 * License along with this program; if not, write to the Free
19 * Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
20 * Boston, MA 02110-1301, USA.
21 */
22
23#ifndef MagneticForceFromHField3D_H
24#define MagneticForceFromHField3D_H
25
26#include "utilities/omath.h"
29#include "force3D.h"
30
31namespace olb {
32
33/*
34template<typename T, template<typename U> class PARTICLETYPE>
35class ParticleSystem3D;
36
37template<typename T, template<typename U> class PARTICLETYPE, typename DESCRIPTOR>
38class MagneticForceFromHField3D: public Force3D<T, PARTICLETYPE> {
39
40public:
41 MagneticForceFromHField3D(SuperLattice<T, DESCRIPTOR>& sLattice,
42 SuperLatticeField3D<T, DESCRIPTOR>& sLatticeExField, T Mp, T scale=T(1.) );
43 ~MagneticForceFromHField3D() override {};
44 void applyForce(typename std::deque<PARTICLETYPE<T> >::iterator p, int pInt,
45 ParticleSystem3D<T, PARTICLETYPE>& psSys) override;
46private:
47 SuperLattice<T, DESCRIPTOR>& _sLattice;
48 SuperLatticeField3D<T, DESCRIPTOR>& _sLatticeHField;
49 T _Mp;
50 T _scale;
51};
52*/
53
54}
55
56#endif
Top level namespace for all of OpenLB.