~abenson/galacticus/v0.9.1

« back to all changes in this revision

Viewing changes to source/objects.tree_node.methods.satellite_orbit.preset.F90

  • Committer: Andrew Benson
  • Date: 2012-10-20 17:46:37 UTC
  • Revision ID: abenson@obs.carnegiescience.edu-20121020174637-l62iceznt1pfxd4s
* Remove obsolete module use statements.

Show diffs side-by-side

added added

removed removed

Lines of Context:
22
22
module Tree_Node_Methods_Satellite_Orbit_Preset
23
23
  !% Implement satellite orbit tree node methods in which properties are preset.
24
24
  use Tree_Nodes
25
 
  use Components
26
25
  implicit none
27
26
  private
28
27
  public :: Tree_Node_Methods_Satellite_Orbit_Initialize_Preset, Satellite_Orbit_Create_Preset, Galacticus_Output_Tree_Satellite_Orbit_Preset,&
72
71
  subroutine Tree_Node_Methods_Satellite_Orbit_Initialize_Preset(componentOption,componentTypeCount)
73
72
    !% Initializes the tree node satellite orbit methods module.
74
73
    use ISO_Varying_String
75
 
    use Input_Parameters
76
 
    use Galacticus_Error
77
74
    use Galacticus_Display
78
75
    use String_Handling
79
76
    implicit none
274
271
  subroutine Tree_Node_Satellite_Virial_Orbit_Set_Preset(thisNode,thisOrbit)
275
272
    !% Set the orbit of the satellite at the virial radius.
276
273
    use Kepler_Orbits_Structure
277
 
    use Galacticus_Error
278
274
    implicit none
279
275
    type(keplerOrbit),         intent(inout) :: thisOrbit
280
276
    type(treeNode),   pointer, intent(inout) :: thisNode
295
291
  function Tree_Node_Satellite_Virial_Orbit_Preset(thisNode) result (thisOrbit)
296
292
    !% Return the orbit of the satellite at the virial radius.
297
293
    use Kepler_Orbits_Structure
298
 
    use Virial_Orbits
299
294
    implicit none
300
295
    type(keplerOrbit)                        :: thisOrbit
301
296
    type(treeNode),   pointer, intent(inout) :: thisNode
344
339
  subroutine Tree_Node_Satellite_Preset_Promote(thisNode)
345
340
    !% Ensure that {\tt thisNode} is ready for promotion to its parent. In this case, we simply copy any preset satellite orbit
346
341
    !% from the parent.
347
 
    use Galacticus_Error
348
342
    use Kepler_Orbits_Structure
349
343
    use Histories
350
344
    implicit none
447
441
  subroutine Galacticus_Output_Tree_Satellite_Orbit_Preset(thisNode,integerProperty,integerBufferCount,integerBuffer,doubleProperty&
448
442
       &,doubleBufferCount,doubleBuffer,time)
449
443
    !% Store satellite orbit properties in the \glc\ output file buffers.
450
 
    use Histories
451
 
    use Tree_Nodes
452
444
    use Kind_Numbers
453
445
    implicit none
454
446
    double precision,        intent(in)             :: time