Constructor for a ecliptic_frame
Note
the et
doesn't matter for inertial frames
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
type(celestial_body), | intent(in) | :: | b |
the central body |
pure function ecliptic_frame_constructor(b) result(f) implicit none type(ecliptic_frame) :: f type(celestial_body),intent(in) :: b !! the central body f%primary_body = b end function ecliptic_frame_constructor