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>
|
virtual | ~Bloch_McConnell_CV_Model () |
| Default destructor.
|
|
| Bloch_McConnell_CV_Model () |
| Constructor.
|
|
| 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) |
|
|
void * | m_cvode_mem |
|
double | m_tpoint |
|
double | m_reltol |
|
int | m_nprops |
|
int | m_ncomp |
|
BMAux | m_bmaux |
|
|
static void | saveEvolution (long index, bool close_files) |
| Save time evolution to disk.
|
|
World * | m_world |
| Simulation world
|
|
CoilArray * | m_rx_coil_array |
| Receive coil array
|
|
CoilArray * | m_tx_coil_array |
| Transmit coil array
|
|
ConcatSequence * | m_concat_sequence |
| Top node of the sequence tree for simulation.
|
|
Sample * | m_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.
|
|
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
◆ Calculate()
bool Bloch_McConnell_CV_Model::Calculate |
( |
double | next_tStop | ) |
|
|
protectedvirtual |
◆ 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.
◆ 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: