OPALX (Object Oriented Parallel Accelerator Library for Exascale)
MINIorX
OPALX
FM3DH5Block.h
Go to the documentation of this file.
1
//
2
// Class FM3DH5Block
3
// Class for dynamic 3D field-maps stored in H5hut files.
4
//
5
// Copyright (c) 2020, Achim Gsell, Paul Scherrer Institut, Villigen PSI, Switzerland
6
// All rights reserved.
7
//
8
// This file is part of OPAL.
9
//
10
// OPAL is free software: you can redistribute it and/or modify
11
// it under the terms of the GNU General Public License as published by
12
// the Free Software Foundation, either version 3 of the License, or
13
// (at your option) any later version.
14
//
15
// You should have received a copy of the GNU General Public License
16
// along with OPAL. If not, see <https://www.gnu.org/licenses/>.
17
//
18
19
#ifndef CLASSIC_FIELDMAP3DH5BLOCK_H
20
#define CLASSIC_FIELDMAP3DH5BLOCK_H
21
22
#include "
Fields/FM3DH5BlockBase.h
"
23
24
#include <vector>
25
26
class
FM3DH5Block
:
public
FM3DH5BlockBase
{
27
28
public
:
29
virtual
bool
getFieldstrength
(
30
const
Vector_t<double, 3>
&R,
Vector_t<double, 3>
&E,
Vector_t<double, 3>
&B)
const
;
31
32
private
:
33
FM3DH5Block
(
34
std::string aFilename);
35
36
virtual
~FM3DH5Block
(
37
);
38
39
virtual
void
readMap
(
40
);
41
42
virtual
void
freeMap
(
43
);
44
45
std::vector<double>
FieldstrengthHz_m
;
46
std::vector<double>
FieldstrengthHx_m
;
47
std::vector<double>
FieldstrengthHy_m
;
49
friend
class
Fieldmap
;
50
friend
class
FM3DH5BlockBase
;
51
};
52
53
#endif
FM3DH5BlockBase.h
Fieldmap
Definition:
Fieldmap.h:57
FM3DH5Block
Definition:
FM3DH5Block.h:26
FM3DH5Block::FieldstrengthHy_m
std::vector< double > FieldstrengthHy_m
3D array with Hy
Definition:
FM3DH5Block.h:47
FM3DH5Block::getFieldstrength
virtual bool getFieldstrength(const Vector_t< double, 3 > &R, Vector_t< double, 3 > &E, Vector_t< double, 3 > &B) const
Definition:
FM3DH5Block.cpp:74
FM3DH5Block::FieldstrengthHx_m
std::vector< double > FieldstrengthHx_m
3D array with Hx
Definition:
FM3DH5Block.h:46
FM3DH5Block::~FM3DH5Block
virtual ~FM3DH5Block()
Definition:
FM3DH5Block.cpp:30
FM3DH5Block::readMap
virtual void readMap()
Definition:
FM3DH5Block.cpp:34
FM3DH5Block::FM3DH5Block
FM3DH5Block(std::string aFilename)
Definition:
FM3DH5Block.cpp:21
FM3DH5Block::freeMap
virtual void freeMap()
Definition:
FM3DH5Block.cpp:60
FM3DH5Block::FieldstrengthHz_m
std::vector< double > FieldstrengthHz_m
3D array with Hz
Definition:
FM3DH5Block.h:45
FM3DH5BlockBase
Definition:
FM3DH5BlockBase.h:31
ippl::Vector
Definition:
Vector.h:23
src
Fields
FM3DH5Block.h
Generated on Fri Jan 23 2026 14:40:00 for OPALX (Object Oriented Parallel Accelerator Library for Exascale) by
1.9.3