Expand description
This crate provides powerful macros to derive traits from the core crate. It also provides macros to automatically construct AuxStorage structs used to store intermediate data for running update steps and Communicator struct to send messages between threads running the simulation.
All macros are documented in the core crate unless their functionality can be displayed without any additional dependencies.
Modulesยง
- aux_
storage ๐ - The main two macros are derive_aux_storage and construct_aux_storage which allow to
derive individual aspects of the the update traits in
cellular_raza_core
- communicator ๐
- from_
map ๐ - kwargs ๐
- run_sim ๐
- simulation_
aspects ๐ - testing ๐
Macrosยง
- aux_
storage_ constructor - build_
aux_ storage - build_
communicator - communicator_
generics_ placeholders - Inserts as many blanks as generics were used to create the communicator struct by build_communicator!.
- prepare_
types - Prepares communicator and auxiliary storage types with build_communicator! and build_aux_storage!.
- run_
main - run_
simulation - run_
test_ for_ aspects - Run a particularly structured test multiple times for combinations of aspects
- test_
compatibility - Checks if defined types and concepts are compatible before actually executing the simulation.