JEMRIS  2.8.1
open-source MRI simulations
List of all members | Public Member Functions | Protected Attributes
Microstructure Class Reference

Microsructure base class. More...

#include <Microstructure.h>

+ Inheritance diagram for Microstructure:

Public Member Functions

virtual void IndexObject (triple pos, int &LastId, int &shellid)
 
virtual double GetD (int LastId=-1, int shellid=-1)
 
void SetExternalDiffusionConstant (double d)
 
bool isInsideBox (triple pos)
 
triple PeriodicBoundary (triple trialpos)
 
void SetBoxSize (double size)
 
double GetBoxSize ()
 

Protected Attributes

double m_boxsize
 
double m_D_external
 
RNG * m_rng
 

Detailed Description

Microsructure base class.

Member Function Documentation

virtual double Microstructure::GetD ( int  LastId = -1,
int  shellid = -1 
)
inlinevirtual

returns Diffusion constant. unit: mm^2/ms

Reimplemented in MicrostructureSingleFiber, MicrostructureBoxes, and MicrostructureKissingFiber.

+ Here is the caller graph for this function:

virtual void Microstructure::IndexObject ( triple  pos,
int &  LastId,
int &  shellid 
)
inlinevirtual

return index of Microstructure object; -1 -> outside. shellid: object may have multiple layer (myelinated axon). id of layer; shellid = -1 -> object has no layers. LastId: during tracking of spin: object where last position was in.

Reimplemented in MicrostructureSingleFiber, MicrostructureBoxes, and MicrostructureKissingFiber.

+ Here is the caller graph for this function:

void Microstructure::SetExternalDiffusionConstant ( double  d)
inline

unit: mm^2/ms

+ Here is the caller graph for this function:


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

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