Exemplo n.º 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)
Exemplo n.º 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)
Exemplo n.º 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)
Exemplo n.º 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)
Exemplo n.º 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'])
Exemplo n.º 6
0
    def execute(self):
        """ Calculate output. """

        self.r_b2g_A = computepositionrotd(self.n, self.r_b2g_B, self.O_AB)
Exemplo n.º 7
0
 def compute(self, inputs, outputs):
     """
     Calculate outputs.
     """
     outputs['r_b2g_A'] = computepositionrotd(self.n, inputs['r_b2g_B'],
                                              inputs['O_AB'])
Exemplo n.º 8
0
    def execute(self):
        """ Calculate output. """

        self.v_e2b_B = computepositionrotd(self.n, self.r_e2b_I[3:, :],
                                           self.O_BI)
Exemplo n.º 9
0
    def execute(self):
        """ Calculate output. """

        self.v_e2b_B = computepositionrotd(self.n, self.r_e2b_I[3:,:],
                                           self.O_BI)
Exemplo n.º 10
0
    def execute(self):
        """ Calculate output. """

        self.r_b2g_A = computepositionrotd(self.n, self.r_b2g_B, self.O_AB)
Exemplo n.º 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'])
Exemplo n.º 12
0
 def compute(self, inputs, outputs):
     """
     Calculate outputs.
     """
     outputs['r_e2s_B'] = computepositionrotd(self.n, inputs['r_e2s_I'],
                                              inputs['O_BI'])
Exemplo n.º 13
0
 def compute(self, inputs, outputs):
     """
     Calculate outputs.
     """
     outputs['r_b2g_A'] = computepositionrotd(self.n, inputs['r_b2g_B'],
                                              inputs['O_AB'])