MIDSX
0.1
A x-ray transport code system for dosimetry
Loading...
Searching...
No Matches
include
MIDSX
Core
particle_interaction_behavior.h
1
#ifndef MCXRAYTRANSPORT_PARTICLE_INTERACTION_BEHAVIOR_H
2
#define MCXRAYTRANSPORT_PARTICLE_INTERACTION_BEHAVIOR_H
3
4
#include "particle.h"
5
#include "probability_dist.h"
6
10
class
ParticleInteractionBehavior
{
11
public
:
12
virtual
~ParticleInteractionBehavior
() =
default
;
13
virtual
double
interact(
Particle
& particle,
Material
& material) = 0;
14
protected
:
15
ProbabilityDist::Uniform
uniform_dist_{0.0, 1.0};
16
};
17
18
#endif
//MCXRAYTRANSPORT_PARTICLE_INTERACTION_BEHAVIOR_H
Material
Class which represents a material.
Definition
material.h:19
Particle
Class which represents a particle.
Definition
particle.h:36
ParticleInteractionBehavior
Virtual class which represents the behavior of a particle when it interacts with a material.
Definition
particle_interaction_behavior.h:10
ProbabilityDist::Uniform
Class which represents a uniform distribution.
Definition
probability_dist.h:23
Generated by
1.10.0