JEMRIS  2.8.1
open-source MRI simulations
List of all members | Public Member Functions | Protected Member Functions | Private Attributes
Bloch_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_CV_Model.h>

+ Inheritance diagram for Bloch_CV_Model:
+ Collaboration diagram for Bloch_CV_Model:

Public Member Functions

virtual ~Bloch_CV_Model ()
 Default destructor.
 
 Bloch_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. More...
 
void SetSequence (ConcatSequence *pConcatSequence)
 Set MR sequence.
 
void Solve ()
 Solve differential equations.
 
void SetDumpProgress (bool val)
 

Protected Member Functions

virtual void InitSolver ()
 Initialise solver. More...
 
virtual void FreeSolver ()
 Free solver. More...
 
void PrintFinalStats ()
 Summery output. More...
 
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
 pointer to cvode malloc
 
double m_tpoint
 current time point
 
double m_reltol
 relative error tolerance for CVODE
 

Additional Inherited Members

- Static Public Member Functions inherited from Model
static void saveEvolution (long index, bool close_files)
 Save time evolution to disk. More...
 
- 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 thid 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

bool Bloch_CV_Model::Calculate ( double  next_tStop)
protectedvirtual

see Model::Calculate()

Implements Model.

+ Here is the call graph for this function:

void Bloch_CV_Model::FreeSolver ( )
protectedvirtual

Free solver.

Release the N_Vector

Implements Model.

void Bloch_CV_Model::InitSolver ( )
protectedvirtual

Initialise solver.

Inistalise N_Vector and attach it to my world

Implements Model.

void Bloch_CV_Model::PrintFinalStats ( )
protected

Summery output.

More elaborate description here please


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

-- last change 17.06.2016 | Tony Stoecker | Imprint --