Subroutine CMA_Orient
Implements a change in model attitude with respect to Sun and planet.
Calling convention:
call cma_orient(cma_id, sun_vec, planet_vec, p_dist, ierr)
Arguments | Data type | Input/Output | Description |
---|---|---|---|
cma_id
|
integer | Input | Internal id of cma definition |
sun_vec
|
Real array (3) | Input | Vector pointing to sun. |
planet_vec
|
Real array (3) | Input | Vector pointing to centre of planet. |
p_dist
|
Real | Input | Distance from centre of planet, in model units. |
calc_type
|
integer | Input | Determines which calculations will be performed: 0=none 1= radiation conductance only 2=environmental loads only 3= radiation and environment (i.e. 1+2) |
ierr
|
integer | Output | Error flag. Zero means no error, other values TBD. |