#telescope #astronomy #macro #build #proc-macro #giant #dynamic

macro dosio-macros

A procedural macro to build the Giant Magellan Telescope dynamic optical simulations inputs/outputs

6 releases

0.1.5 Jan 7, 2022
0.1.4 Dec 16, 2021
0.1.1 Nov 9, 2021

#30 in #giant


Used in dosio

MIT license

22KB
500 lines

A procedural macro to build the Giant Magellan Telescope dynamic optical simulations inputs/output


lib.rs:

A macro to build the dos inputs and outputs enum variants

For the FEM, the macro get the variant identifiers from the field names of the structures fem_inputs and fem_outputs in the file modal_state_space_model_2ndOrder.rs.mat. The location of the file is given by the environment variable FEM_REPO

Dependencies

~0–5MB
~112K SLoC