JEMRIS  2.8.1
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

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

returns Diffusion constant. unit: mm^2/ms

Reimplemented from Microstructure.

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

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 17.06.2016 | Tony Stoecker | Imprint --