JEMRIS 2.9.1
open-source MRI simulations
Loading...
Searching...
No Matches
BiotSavartLoop.h
Go to the documentation of this file.
1
5/*
6 * JEMRIS Copyright (C)
7 * 2006-2023 Tony Stoecker
8 * 2007-2018 Kaveh Vahedipour
9 * 2009-2019 Daniel Pflugfelder
10 *
11 *
12 * This program is free software; you can redistribute it and/or modify
13 * it under the terms of the GNU General Public License as published by
14 * the Free Software Foundation; either version 2 of the License, or
15 * (at your option) any later version.
16 *
17 * This program is distributed in the hope that it will be useful,
18 * but WITHOUT ANY WARRANTY; without even the implied warranty of
19 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
20 * GNU General Public License for more details.
21 *
22 * You should have received a copy of the GNU General Public License
23 * along with this program; if not, write to the Free Software
24 * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
25 */
26
27#ifndef BIOTSAVARTLOOP_H_
28#define BIOTSAVARTLOOP_H_
29
30#include "Coil.h"
31
35class BiotSavartLoop : public Coil {
36
37 public:
38
39
44
49
56 virtual double GetSensitivity (const double* position);
57
64 inline double GetPhase (const double* position) {return this->m_biosavart_phase;};
65
71 inline virtual BiotSavartLoop* Clone () const {return (new BiotSavartLoop(*this));};
72
79 virtual bool Prepare (const PrepareMode mode);
80
81
82 private:
83
84 double m_mask;
85 double m_radius;
89};
90
91#endif /*BIOTSAVARTLOOP_H_*/
Implementation of JEMRIS Coil.
mode
Definition: Declarations.h:112
Prototype of a Biot-Savart loop.
Definition: BiotSavartLoop.h:35
BiotSavartLoop()
Default constructor.
Definition: BiotSavartLoop.h:43
virtual bool Prepare(const PrepareMode mode)
Prepare.
Definition: BiotSavartLoop.cpp:36
double m_mask
Definition: BiotSavartLoop.h:84
double GetPhase(const double *position)
Request sensitivity at given position.
Definition: BiotSavartLoop.h:64
virtual BiotSavartLoop * Clone() const
Clone.
Definition: BiotSavartLoop.h:71
double m_radius
Definition: BiotSavartLoop.h:85
bool m_first_call
print warning on first call if no boost available
Definition: BiotSavartLoop.h:87
double m_biosavart_phase
Phase.
Definition: BiotSavartLoop.h:86
~BiotSavartLoop()
Default destructor.
Definition: BiotSavartLoop.h:48
virtual double GetSensitivity(const double *position)
Request sensitivity at given position.
Definition: BiotSavartLoop.cpp:52
Base class of coil objects.
Definition: Coil.h:39

-- last change 03.10.2023 | Tony Stoecker | Imprint | Data Protection --