#include <nuclear_dist.h>
The iterator for this distribution begins with the nucleus with the lowest Z and A, and increases A before incrementing Z and beginning again with the lowest A for that value of Z.
Definition at line 150 of file nuclear_dist.h.
Public Member Functions | |
simple_dist (int minZ, int maxZ, int minA[], int maxA[], nuclear_mass *nm) | |
Create a distribution from ranges in A specified for each Z. | |
simple_dist (int minZ, int maxZ, int minA, int maxA, nuclear_mass *nm) | |
Create a square distribution in A and Z. | |
virtual iterator | begin () |
The beginning of the distribution. | |
virtual iterator | end () |
The end of the distribution. | |
virtual size_t | size () |
The number of nuclei in the distribution. | |
int | set_dist (int minZ, int maxZ, int minA[], int maxA[], nuclear_mass *nm) |
Set the distribution from ranges in A specified for each Z. | |
int | set_dist (int minZ, int maxZ, int minA, int maxA, nuclear_mass *nm) |
Set a square distribution in A and Z. |
simple_dist | ( | int | minZ, | |
int | maxZ, | |||
int | minA[], | |||
int | maxA[], | |||
nuclear_mass * | nm | |||
) |
Create a distribution from ranges in A specified for each Z.
The length of the arrays minA and maxA should be exactly .
int set_dist | ( | int | minZ, | |
int | maxZ, | |||
int | minA[], | |||
int | maxA[], | |||
nuclear_mass * | nm | |||
) |
Set the distribution from ranges in A specified for each Z.
The length of the arrays minA and maxA should be exactly .