loop_ranges_struct
moment_kinetics.loop_ranges_struct.loop_ranges
— Constantmodule variable that we can access by giving fully-qualified name in loop macros
moment_kinetics.loop_ranges_struct.loop_ranges_store
— Constantmodule variable used to store LoopRanges that are swapped into the loopranges variable in @begin*_region() functions
moment_kinetics.loop_ranges_struct.LoopRanges
— TypeLoopRanges structs contain information on which points should be included on this process in loops over shared-memory arrays.
Members
paralleldims::Tuple{Vararg{Symbol}} Indicates which dimensions are (or might be) parallelized when using this LoopRanges. Provided for information for developers, to make it easier to tell (when using a Debugger, or printing debug informatino) which LoopRanges instance is active in looping.loopranges at any point in the code. rank0::Bool Is this process the one with rank 0 in the 'block' which work in parallel on shared memory arrays. <d>::UnitRange{mkint} Loop ranges for each dimension <d> in looping.alldimensions.