示例#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
文件: comm.py 项目: naylor-b/CADRE
    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
文件: comm.py 项目: JustinSGray/CADRE
    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'])