Skip to content
Snippets Groups Projects
Commit e242539d authored by Lennart Huth's avatar Lennart Huth
Browse files

Merge branch 'fix_tesla' into 'master'

Fix Default Unit of B Field Strength

See merge request corryvreckan/corryvreckan!580
parents 3f982e53 cdf55cbe
No related branches found
No related tags found
No related merge requests found
......@@ -81,7 +81,7 @@ The framework assumes the default units (as given in Table~\ref{tab:units}) if t
\multirow{2}{*}{\textit{Voltage}} & \multirow{2}{*}{MV (megavolt)} & V (volt) \\
& & kV (kilovolt) \\
\midrule
\textit{Magnetic field strength} & T (tesla) & mT (millitesla) \\
\textit{Magnetic field strength} & kT (kilotesla) & T (tesla), mT (millitesla) \\
\midrule
\multirow{2}{*}{\textit{Angle}} & \multirow{2}{*}{rad (radian)} & deg (degree) \\
& & mrad (milliradian) \\
......
......@@ -240,6 +240,7 @@ void Corryvreckan::add_units() {
Units::add("kV", 1e-3);
// MAGNETIC FIELD
Units::add("kT", 1);
Units::add("T", 1e-3);
Units::add("mT", 1e-6);
......
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