Skip to content
Snippets Groups Projects
Commit 12dca81d authored by Van Herck, Walter's avatar Van Herck, Walter
Browse files

Translate polarization vector of BeamItem to domain

parent 30fe06d8
No related branches found
No related tags found
No related merge requests found
......@@ -125,5 +125,7 @@ std::unique_ptr<Beam> BeamItem::createBeam() const
double azimuthal_angle = Units::deg2rad(getAzimuthalAngle());
result->setCentralK(lambda, inclination_angle, azimuthal_angle);
result->setPolarization(getVectorItem(P_POLARIZATION));
return result;
}
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment