This SUBMODULE contains the implementation of the constructor and the destructor of TYPE particles.
FT 16.10.2020
Type | Visibility | Attributes | Name | Initial | |||
---|---|---|---|---|---|---|---|
double precision, | public, | DIMENSION(:), ALLOCATABLE | :: | h_i | |||
double precision, | public, | DIMENSION(:), ALLOCATABLE | :: | nu_i | |||
double precision, | public, | DIMENSION(:,:), ALLOCATABLE | :: | pos_i | |||
double precision, | public, | DIMENSION(:), ALLOCATABLE | :: | pvol_i |
The constructor of TYPE particles is supposed to set up a particle distribution by assigning the particle positions, their baryon numbers nu and first guesses for their smoothing lengths h. It also sets up the unit system and the kernel.
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
class(idbase), | intent(inout) | :: | id |
idbase object representing the BNS for which we want to place particles |
||
integer, | intent(in) | :: | dist |
Identifier of the desired particle distribution: |
Constructed particles object
Destructor of a particles object
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
type(particles), | intent(inout) | :: | this |
Finalizer (Destructor) of particles object particles object which this PROCEDURE is a member of |