JEMRIS  2.8.2
open-source MRI simulations
List of all members | Public Member Functions | Private Member Functions | Private Attributes
MicrostructureBoxes Class Reference

A microsructure composed of boxes. More...

#include <MicrostructureBoxes.h>

+ Inheritance diagram for MicrostructureBoxes:
+ Collaboration diagram for MicrostructureBoxes:

Public Member Functions

void AddBox (box new_box)
virtual double GetD (int LastId=-1, int shellid=-1)
virtual void IndexObject (triple pos, int &LastId, int &shellid)
- Public Member Functions inherited from Microstructure
void SetExternalDiffusionConstant (double d)
bool isInsideBox (triple pos)
triple PeriodicBoundary (triple trialpos)
void SetBoxSize (double size)
double GetBoxSize ()

Private Member Functions

bool IsInsideObjectBox (triple pos, box cur_box)

Private Attributes

vector< boxm_boxes

Additional Inherited Members

- Protected Attributes inherited from Microstructure
double m_boxsize
double m_D_external
RNG * m_rng

Detailed Description

A microsructure composed of boxes.

Member Function Documentation

§ GetD()

double MicrostructureBoxes::GetD ( int  LastId = -1,
int  shellid = -1 

returns Diffusion constant. unit: mm^2/ms

Reimplemented from Microstructure.

§ IndexObject()

void MicrostructureBoxes::IndexObject ( triple  pos,
int &  LastId,
int &  shellid 

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 from Microstructure.

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

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