예제 #1
0
파일: sun.py 프로젝트: shamsheersc19/CADRE
    def solve_nonlinear(self, params, unknowns, resids):
        """ Calculate output. """

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

        unknowns['azimuth'] = azimuth
        unknowns['elevation'] = elevation
예제 #2
0
파일: sun.py 프로젝트: kmarsteller/CADRE
    def solve_nonlinear(self, params, unknowns, resids):
        """ Calculate output. """

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

        unknowns["azimuth"] = azimuth
        unknowns["elevation"] = elevation
예제 #3
0
파일: sun.py 프로젝트: JustinSGray/CADRE
    def execute(self):
        azimuth, elevation = computepositionspherical(self.n, self.r_e2s_B)

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

        self.azimuth = azimuth
        self.elevation = elevation