?? doubleintegrationtest.cpp
字號:
// DoubleIntegrationTest.cpp : Defines the entry point for the console application.
//
#include "stdafx.h"
#include "VariableStepDoubleIntegration.h"
int _tmain(int argc, _TCHAR* argv[])
{
// the following is the test of y''=-y for CVariableStepDoubleIntegration
double dPos[1] = {0}, dVel[1] = {1};
double dTime = 0, dEndTime = 10*3.14;
/*
// the following is the test of van der Pol Equation, u = 1
dPos[1] = {2};
dVel[1] = {0};
dTime = 0;
dEndTime = 20;
*/
CVariableStepDoubleIntegration *pVSDI = new CVariableStepDoubleIntegration();
pVSDI->StartIntegration(1, &dTime, dEndTime, dPos, dVel);
return 0;
}
?? 快捷鍵說明
復制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號
Ctrl + =
減小字號
Ctrl + -