beam_calculation.tracewin.element_tracewin_parameters module

Store the solver parameters for TraceWin.

Note

TraceWin does not need this to run. It is a placeholder, to keep consistency with Envelope1D and Envelope3D. Also useful to compare SimulationOutput created by this solver and others.

class ElementTraceWinParameters(length_m: float, z_of_this_element_from_tw: ndarray, s_in: int, s_out: int)

Bases: ElementBeamCalculatorParameters

Hold meshing and indexes of elements.

Unnecessary for TraceWin, but useful to link the meshing in TraceWin to other simulations. Hence, it is not created by the init_solver_parameters as for Envelope1D!! Instead, meshing is deducted from the TraceWin output files.

__init__(length_m: float, z_of_this_element_from_tw: ndarray, s_in: int, s_out: int) None

Instantiate object.

Parameters:
  • self – self

  • length_m (float) – length_m

  • z_of_this_element_from_tw (np.ndarray) – z_of_this_element_from_tw

  • s_in (int) – s_in

  • s_out (int) – s_out

_abc_impl = <_abc._abc_data object>
_transfer_matrix_arguments() Sequence[Any]

Do nothing.

re_set_for_broken_cavity() None

Do nothing.

transf_mat_function_wrapper(*args, **kwargs) dict

Do nothing.