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)
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)
def solve_nonlinear(self, params, unknowns, resids): """ Calculate output. """ unknowns['r_b2g_A'] = computepositionrotd(self.n, params['r_b2g_B'], params['O_AB'])
def execute(self): """ Calculate output. """ self.r_b2g_A = computepositionrotd(self.n, self.r_b2g_B, self.O_AB)
def compute(self, inputs, outputs): """ Calculate outputs. """ outputs['r_b2g_A'] = computepositionrotd(self.n, inputs['r_b2g_B'], inputs['O_AB'])
def execute(self): """ Calculate output. """ self.v_e2b_B = computepositionrotd(self.n, self.r_e2b_I[3:, :], self.O_BI)
def execute(self): """ Calculate output. """ self.v_e2b_B = computepositionrotd(self.n, self.r_e2b_I[3:,:], self.O_BI)
def compute(self, inputs, outputs): """ Calculate outputs. """ outputs['r_e2s_B'] = computepositionrotd(self.n, inputs['r_e2s_I'], inputs['O_BI'])