ROTEX
Source Files
Modules
Procedures
Derived Types
Program
sort_channels_by_energy
Module Subroutine
MIT
17 statements
Source File
rotex__types.f
rotex__types
sort_channels_by_energy
Contents
public impure module subroutine sort_channels_by_energy(channels)
Bubble sort the array of channels such that the channel energies are in ascending order
Arguments
Type
Intent
Optional
Attributes
Name
class(
channel_type
),
intent(inout)
::
channels
(:)