10#ifndef __SC_AERO_NEWTONIAN__
11#define __SC_AERO_NEWTONIAN__
14 #include "matrixlib.h"
16 #include <MatrixLib/MatrixLib.h>
49 typedef struct newtonian_aero_s {
58 newtonian_aero_t *aero_surf;
70 void update(
const ml_matrix& u,
const ml_matrix& center_of_mass,
double rho,
const ml_matrix& angle );
72 ml_matrix
newtonian_force_and_torque(
const ml_matrix & normal,
const ml_matrix & area,
const ml_matrix & point,
const ml_matrix & v,
double rho,
const ml_matrix & c );
Newtonian aerodynamic model.
Definition: sc_aero_newtonian.h:34
ml_matrix newtonian_force_and_torque(const ml_matrix &normal, const ml_matrix &area, const ml_matrix &point, const ml_matrix &v, double rho, const ml_matrix &c)
Computes force and torque using the Newtonian approximation.
Definition: sc_aero_newtonian.cc:143
void update(const ml_matrix &u, const ml_matrix ¢er_of_mass, double rho, const ml_matrix &angle)
Update the values of torque and force.
Definition: sc_aero_newtonian.cc:101
void initialize(char *filename)
Initialize with a filename.
Definition: sc_aero_newtonian.cc:30
ml_matrix get_force(void)
Return the force.
Definition: sc_aero_newtonian.h:68
ml_matrix get_torque(void)
Return the torque.
Definition: sc_aero_newtonian.h:66
aero_newtonian(void)
Constructor.
Definition: sc_aero_newtonian.cc:18