Пример #1
0
    def solve_nonlinear(self, params, unknowns, resids):
        """ Calculate output. """

        r_e2b_I = params['r_e2b_I']
        O_BI = params['O_BI']
        v_e2b_B = unknowns['v_e2b_B']

        v_e2b_B[:] = computepositionrotd(self.n, r_e2b_I[3:, :], O_BI)
Пример #2
0
    def solve_nonlinear(self, params, unknowns, resids):
        """ Calculate output. """

        r_e2b_I = params['r_e2b_I']
        O_BI = params['O_BI']
        v_e2b_B = unknowns['v_e2b_B']

        v_e2b_B[:] = computepositionrotd(self.n, r_e2b_I[3:, :], O_BI)
Пример #3
0
    def compute(self, inputs, outputs):
        """
        Calculate outputs.
        """
        r_e2b_I = inputs['r_e2b_I']
        O_BI = inputs['O_BI']
        v_e2b_B = outputs['v_e2b_B']

        v_e2b_B[:] = computepositionrotd(self.n, r_e2b_I[3:, :], O_BI)
Пример #4
0
    def compute(self, inputs, outputs):
        """
        Calculate outputs.
        """
        r_e2b_I = inputs['r_e2b_I']
        O_BI = inputs['O_BI']
        v_e2b_B = outputs['v_e2b_B']

        v_e2b_B[:] = computepositionrotd(self.n, r_e2b_I[3:, :], O_BI)
Пример #5
0
    def solve_nonlinear(self, params, unknowns, resids):
        """ Calculate output. """

        unknowns['r_b2g_A'] = computepositionrotd(self.n, params['r_b2g_B'],
                                                  params['O_AB'])
Пример #6
0
    def execute(self):
        """ Calculate output. """

        self.r_b2g_A = computepositionrotd(self.n, self.r_b2g_B, self.O_AB)
Пример #7
0
 def compute(self, inputs, outputs):
     """
     Calculate outputs.
     """
     outputs['r_b2g_A'] = computepositionrotd(self.n, inputs['r_b2g_B'],
                                              inputs['O_AB'])
Пример #8
0
    def execute(self):
        """ Calculate output. """

        self.v_e2b_B = computepositionrotd(self.n, self.r_e2b_I[3:, :],
                                           self.O_BI)
Пример #9
0
    def execute(self):
        """ Calculate output. """

        self.v_e2b_B = computepositionrotd(self.n, self.r_e2b_I[3:,:],
                                           self.O_BI)
Пример #10
0
    def execute(self):
        """ Calculate output. """

        self.r_b2g_A = computepositionrotd(self.n, self.r_b2g_B, self.O_AB)
Пример #11
0
    def solve_nonlinear(self, params, unknowns, resids):
        """ Calculate output. """

        unknowns['r_b2g_A'] = computepositionrotd(self.n, params['r_b2g_B'],
                                                  params['O_AB'])
Пример #12
0
 def compute(self, inputs, outputs):
     """
     Calculate outputs.
     """
     outputs['r_e2s_B'] = computepositionrotd(self.n, inputs['r_e2s_I'],
                                              inputs['O_BI'])
Пример #13
0
 def compute(self, inputs, outputs):
     """
     Calculate outputs.
     """
     outputs['r_b2g_A'] = computepositionrotd(self.n, inputs['r_b2g_B'],
                                              inputs['O_AB'])