JEMRIS 2.9.2
open-source MRI simulations
Loading...
Searching...
No Matches
List of all members | Public Member Functions | Protected Member Functions | Private Attributes
Bloch_McConnell_CV_Model Class Reference

Numerical solving of Bloch equations As an application of the CVODE solver by Lawrence Livermore National Laboratory - Livermore, CA http://www.llnl.gov/CASC/sundials. More...

#include <Bloch_McConnell_CV_Model.h>

+ Inheritance diagram for Bloch_McConnell_CV_Model:
+ Collaboration diagram for Bloch_McConnell_CV_Model:

Public Member Functions

virtual ~Bloch_McConnell_CV_Model ()
 Default destructor.
 
 Bloch_McConnell_CV_Model ()
 Constructor.
 
- Public Member Functions inherited from Model
 Model ()
 Constructor.
 
virtual ~Model ()
 Default Destructor.
 
void Prepare (CoilArray *pRxCoilArray, CoilArray *pTxCoilArray, ConcatSequence *pConcatSequence, Sample *pSample)
 Prepare for simulations.
 
void SetSequence (ConcatSequence *pConcatSequence)
 Set MR sequence.
 
void Solve ()
 Solve differential equations.
 
void SetDumpProgress (bool val)
 

Protected Member Functions

virtual void InitSolver ()
 Initialize solver.
 
virtual void FreeSolver ()
 Free solver.
 
void PrintFinalStats ()
 Summery output.
 
virtual bool Calculate (double next_tStop)
 
- Protected Member Functions inherited from Model
void RunSequenceTree (double &dTimeShift, long &lIndexShift, Module *module)
 

Private Attributes

void * m_cvode_mem
 
double m_tpoint
 
double m_reltol
 
int m_nprops
 
int m_ncomp
 
BMAux m_bmaux
 

Additional Inherited Members

- Static Public Member Functions inherited from Model
static void saveEvolution (long index, bool close_files)
 Save time evolution to disk.
 
- Protected Attributes inherited from Model
Worldm_world
 Simulation world

 
CoilArraym_rx_coil_array
 Receive coil array

 
CoilArraym_tx_coil_array
 Transmit coil array

 
ConcatSequencem_concat_sequence
 Top node of the sequence tree for simulation.
 
Samplem_sample
 Sample

 
double m_accuracy_factor
 increase accuracy by this factor in case of numerical problems
 
bool m_do_dump_progress
 If true, percentage progress during Solve() is written to .jemris_progress.out.
 

Detailed Description

Numerical solving of Bloch equations As an application of the CVODE solver by Lawrence Livermore National Laboratory - Livermore, CA http://www.llnl.gov/CASC/sundials.

MR model solver using CVODE

Member Function Documentation

◆ Calculate()

bool Bloch_McConnell_CV_Model::Calculate ( double next_tStop)
protectedvirtual

see Model::Calculate()

Implements Model.

+ Here is the call graph for this function:

◆ FreeSolver()

void Bloch_McConnell_CV_Model::FreeSolver ( )
protectedvirtual

Free solver.

Release the N_Vector

Implements Model.

◆ InitSolver()

void Bloch_McConnell_CV_Model::InitSolver ( )
protectedvirtual

Initialize solver.

Initialize N_Vector and attach it to my world

Implements Model.

+ Here is the call graph for this function:

◆ PrintFinalStats()

void Bloch_McConnell_CV_Model::PrintFinalStats ( )
protected

Summery output.

More elaborate description here please


The documentation for this class was generated from the following files:

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