Corrected style according to review

This commit is contained in:
Andrew Davis 2020-02-12 12:47:39 +00:00
parent c6949e5e53
commit 7937e7670c

View file

@ -12,14 +12,14 @@ extern "C" openmc::Particle::Bank sample_source() {
particle.wgt = 1.0;
// position
double angle = 2.*M_PI*openmc::prn();
double angle = 2. * M_PI * openmc::prn();
double radius = 3.0;
particle.r.x = radius*std::cos(angle);
particle.r.y = radius*std::sin(angle);
particle.r.z = 0.;
particle.r.x = radius * std::cos(angle);
particle.r.y = radius * std::sin(angle);
particle.r.z = 0.0;
// angle
particle.u = {1.,0,0};
particle.u = {1.0, 0.0, 0.0};
particle.E = 14.08e6;
particle.delayed_group = 0;
return particle;
}
}