Example #1
0
    def solve_nonlinear(self, params, unknowns, resids):
        """ Calculate output. """

        azimuth, elevation = computepositionspherical(self.n, params['r_e2s_B'])

        unknowns['azimuth'] = azimuth
        unknowns['elevation'] = elevation
Example #2
0
    def solve_nonlinear(self, params, unknowns, resids):
        """ Calculate output. """

        azimuth, elevation = computepositionspherical(self.n, params["r_e2s_B"])

        unknowns["azimuth"] = azimuth
        unknowns["elevation"] = elevation
Example #3
0
    def execute(self):
        azimuth, elevation = computepositionspherical(self.n, self.r_e2s_B)

        self.azimuth = azimuth
        self.elevation = elevation
Example #4
0
    def execute(self):
        azimuth, elevation = computepositionspherical(self.n, self.r_e2s_B)

        self.azimuth = azimuth
        self.elevation = elevation