Scrambler  1
Disks Module Reference

Module that handles the placement of disks. More...

+ Collaboration diagram for Disks:

List of all members.

Data Types

type  DiskDef
 Disk Data Type. More...
type  pDiskDef

Public Member Functions

subroutine CreateDisk (Disk, density, pressure, central_mass)
 Creates a disk object.
subroutine UpdateDisk (Disk)
 Updates a disk object.
subroutine AddDiskToList (Disk)
subroutine DestroyDisk (Disk, id)
subroutine DiskGridInit (Info, Disk)
subroutine DiskBeforeStep (Info, Disk)
subroutine DiskSetErrFlag (Info, Disk)
subroutine DiskBeforeGlobalStep (n)
subroutine PlaceDisk (Info, Disk, nOverlaps, mSs, offsets)
 Place a disk in an info object.
subroutine q_DiskSource (Disk, pos, q, s)

Public Attributes

INTEGER, parameter UNIFORM = 0
INTEGER, parameter HYDROSTATIC = 1
TYPE(pDiskDefpDisk

Detailed Description

Module that handles the placement of disks.

Definition at line 39 of file disks.f90.


Member Function/Subroutine Documentation

subroutine CreateDisk ( TYPE(DiskDef), pointer  Disk,
REAL(KIND=qPREC), optional  density,
REAL(KIND=qPREC), optional  pressure,
REAL(KIND=qPREC), optional  central_mass 
)

Creates a disk object.

Parameters:
DiskDisk object

Definition at line 101 of file disks.f90.

subroutine UpdateDisk ( TYPE(DiskDef), pointer  Disk)

Updates a disk object.

Parameters:
DiskDisk object

Definition at line 115 of file disks.f90.

subroutine AddDiskToList ( TYPE(DiskDef), pointer  Disk)

Definition at line 128 of file disks.f90.

subroutine DestroyDisk ( TYPE(DiskDef), pointer  Disk,
INTEGER, optional  id 
)

Definition at line 138 of file disks.f90.

subroutine DiskGridInit ( TYPE(InfoDef)  Info,
TYPE(DiskDef), pointer  Disk 
)

Definition at line 165 of file disks.f90.

subroutine DiskBeforeStep ( TYPE(InfoDef)  Info,
TYPE(DiskDef), pointer  Disk 
)

Definition at line 179 of file disks.f90.

subroutine DiskSetErrFlag ( TYPE(InfoDef)  Info,
Type(DiskDef), pointer  Disk 
)

Definition at line 203 of file disks.f90.

subroutine DiskBeforeGlobalStep ( INTEGER  n)

Definition at line 208 of file disks.f90.

subroutine PlaceDisk ( TYPE(InfoDef)  Info,
Type(DiskDef Disk,
INTEGER  nOverlaps,
INTEGER, dimension(:,:,:), pointer  mSs,
REAL(KIND=qPREC), dimension(:,:), pointer  offsets 
)

Place a disk in an info object.

Parameters:
InfoInfo object
DiskDisk object

Definition at line 215 of file disks.f90.

subroutine q_DiskSource ( TYPE(DiskDef Disk,
REAL(KIND=qPREC), dimension(:)  pos,
REAL(KIND=qPREC), dimension(:)  q,
REAL(KIND=qPREC), dimension(:)  s 
)

Definition at line 274 of file disks.f90.


Member Data Documentation

INTEGER, parameter UNIFORM = 0

Definition at line 52 of file disks.f90.

INTEGER, parameter HYDROSTATIC = 1

Definition at line 52 of file disks.f90.

TYPE(pDiskDef) pDisk

Definition at line 92 of file disks.f90.


The documentation for this module was generated from the following file:
 All Classes Files Functions Variables