31 #include "TRemansoMatlab.h"
36 TRemansoMatlab::TRemansoMatlab() {
43 TRemansoMatlab::~TRemansoMatlab() {
50 void TRemansoMatlab::CalculaRemanso(
double TiempoActual) {
53 if(TiempoActual < 1.92) {
56 }
else if(TiempoActual > 3.52) {
60 FPressure = 1. - 0.045 * (TiempoActual - 1.92) + 1.74 *
pow2(TiempoActual - 1.92) - 0.705 *
pow3(TiempoActual - 1.92);
63 }
catch(exception &N) {
64 std::cout <<
"ERROR: TRemansoMatlab::CalculaRemanso (DLL)" << std::endl;
65 std::cout <<
"Tipo de error: " << N.what() << std::endl;
73 #pragma package(smart_init)