entity
entity copied to clipboard
Archetypes simplified
Breaking changes
- Particle injector archetypes are now greatly simplified:
Uniform injector
const auto energy_dist_1 = ...;
const auto energy_dist_2 = ...;
InjectUniform<S, M, decltype(energy_dist_1), decltype(energy_dist_2)>(
params,
domain,
{ 1, 2 },
{ energy_dist_1, energy_dist_2 },
total_number_density
)
Nonuniform injector
const auto energy_dist_1 = ...;
const auto energy_dist_2 = ...;
const auto spatial_dist = ...;
InjectNonUniform<S, M, decltype(energy_dist_1), decltype(energy_dist_2), decltype(spatial_dist)>(
params,
domain,
{ 1, 2 },
{ energy_dist_1, energy_dist_2 },
spatial_dist,
max_number_density
)
You may pass the same
energy_distinstance for both species.
-
.info,.log,.errfiles are now written in the same directory as the output - there is an additional
.outfile which accumulates thestdout