BioDynaMo  v1.03.58-27764645
Public Member Functions | Private Attributes | List of all members
bdm::Uniform Class Reference

#include <substance_initializers.h>

Public Member Functions

 Uniform (real_t min, real_t max, real_t value, uint8_t axis)
 
real_t operator() (real_t x, real_t y, real_t z)
 

Private Attributes

real_t min_
 
real_t max_
 
real_t value_
 
uint8_t axis_
 

Detailed Description

An initializer that uniformly initializes the concentration of a diffusion grid based on the input value and the range (along the specified axis).

Definition at line 37 of file substance_initializers.h.

Constructor & Destructor Documentation

◆ Uniform()

bdm::Uniform::Uniform ( real_t  min,
real_t  max,
real_t  value,
uint8_t  axis 
)
inline

Definition at line 39 of file substance_initializers.h.

Member Function Documentation

◆ operator()()

real_t bdm::Uniform::operator() ( real_t  x,
real_t  y,
real_t  z 
)
inline

Definition at line 46 of file substance_initializers.h.

Member Data Documentation

◆ axis_

uint8_t bdm::Uniform::axis_
private

Definition at line 76 of file substance_initializers.h.

◆ max_

real_t bdm::Uniform::max_
private

Definition at line 74 of file substance_initializers.h.

◆ min_

real_t bdm::Uniform::min_
private

Definition at line 73 of file substance_initializers.h.

◆ value_

real_t bdm::Uniform::value_
private

Definition at line 75 of file substance_initializers.h.


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