91av视频/亚洲h视频/操亚洲美女/外国一级黄色毛片 - 国产三级三级三级三级

  • 大小: 694KB
    文件類(lèi)型: .zip
    金幣: 2
    下載: 4 次
    發(fā)布日期: 2021-05-26
  • 語(yǔ)言: 其他
  • 標(biāo)簽: 風(fēng)電??

資源簡(jiǎn)介

美國(guó)AWSTrueWind公司開(kāi)源風(fēng)電場(chǎng)機(jī)位優(yōu)化軟件源代碼 需要Ultimate++(upp)IDE和MS SDK或MingGW

資源截圖

代碼片段和文件信息

//
//?Copyright?2008-2010?ReCode?Inc.?and?AWS?Truepower?LLC.?All?rights?reserved.
//
//?Licensed?under?the?Open?Software?License?version?3.0
//
//?
//
//
//
//
//?



#include?“OpenWind.h“

#include?“EnergyCapture.h“

#include?“Legality.h“

#include?“WRGlayer.h“

EnergyCapture::EnergyCapture()
{
m_pWakes.Add(new?NoWake);
m_pWakes.Add(new?ModifiedPark);
m_pWakes.Add(new?Park);
m_pWakes.Add(new?EddyViscosity);?
m_pWakes.Add(new?FastEddy);
#if?defined?INTERNAL_ONLY?||?defined?ENABLE_PRO
m_pWakes.Add(new?LawmEV);?
m_pWakes.Add(new?LawmMP);?
m_pWakes.Add(new?LawmFastEV);?
#endif
//?your?wake?model?here!!
//?m_pWakes.Add(new?);


m_ecTest.m_sWake?=?m_ecOptimiser.m_sWake?=?m_pWakes[1]->GetName();?//?Park

m_ecOptimiser.uMin?=?5;
m_ecOptimiser.uMax?=?30;

m_ecTest.m_bTI?=?true;

#if?defined?INTERNAL_ONLY?||?defined?ENABLE_PRO
m_ecTest.m_sWake?=?m_pWakes[5]->GetName();
m_ecTest.m_sWake?=?m_pWakes[6]->GetName();
#endif

//?you?should?usually?leave?the?rest?of?this?module?alone

ClearError();

m_bTesting?=?false;

//?room?to?grow
m_bWFP?=?true;
m_bDirShear?=?false;
m_bTopoWakes?=?false;

m_ecMemory?=?EC(0000“no?idea“false);?//?can‘t?possibly?equal?this!
}

EnergyCapture::~EnergyCapture()
{
DUMP(“~EnergyCapture()“);

for(;m_pWakes.GetCount();)
{
Wake*?pWake?=?m_pWakes[0];
delete?pWake;
m_pWakes.Remove(0);
}

m_pWakes.Clear();
}

void?EnergyCapture::Reset()
{
m_ecTest?=?EC();

m_ecTest.m_sWake?=?m_ecOptimiser.m_sWake?=?m_pWakes[1]->GetName();?//?Parc

m_ecOptimiser.uMin?=?5;
m_ecOptimiser.uMax?=?30;

m_ecTest.m_bTI?=?true;




//?you?should?usually?leave?the?rest?of?this?module?alone

ClearError();

m_bTesting?=?false;
}

void?EnergyCapture::Test(EnergyCapture*?energyvoid*?pMainbool?checkLegalbool?bscripted)
{
if(!Legality::CheckIntent(pMain))
return;

energy->Test(pMaincheckLegal);

OpenWind*?ptr?=?(OpenWind*)pMain;
if(!bscripted)
PostCallback(callback(ptr&OpenWind::DoEnergyCapture_2));
}

bool?EnergyCapture::CheckLegal(void*?pMain)
{
//?check?legality?of?workspace
Legality?legal;

if(!legal.CheckWRGs(pMain))
{
DUMP(“Legality?test?failed?in?EnergyCapture.CheckLegal()“);
SetError(legal.GetMessage());
return?false;
}

if(!legal.IsLegal(pMain))
{
DUMP(“Legality?test?failed?in?EnergyCapture.CheckLegal()“);
SetError(legal.GetMessage());
return?false;
}

return?true;
}

void?EnergyCapture::Test(void*?pMainbool?checkLegalRasterlayer*?pWSRasterlayer*?pTIRasterlayer*?pP)
{
ClearError();
m_bRetestable?=?false;

//?check?legality?of?workspace
Legality?legal;

if(!legal.CheckWRGs(pMain))
{
DUMP(“Legality?test?failed?in?EnergyCapture.Test()“);
SetError(legal.GetMessage());
return;
}

if(checkLegal)
{
if(!legal.IsLegal(pMain))
{
DUMP(“Legality?test?failed?in?EnergyCapture.Test()“);

?屬性????????????大小?????日期????時(shí)間???名稱(chēng)
-----------?---------??----------?-----??----
?????文件???????10567??2010-08-11?15:38??GPS.cpp
?????文件????????2415??2010-08-11?15:38??GPS.h
?????文件????????4444??2010-08-11?15:38??GPS.lay
?????文件???????30016??2010-11-07?13:40??Graphnix.cpp
?????文件????????5300??2010-08-11?15:38??Graphnix.h
?????文件???????10134??2011-01-28?12:41??icon.ico
?????文件?????????180??2011-01-28?12:41??icon16x16.png
?????文件????????2454??2011-01-28?12:41??icon32x32.png
?????文件???????21357??2011-09-06?11:55??Imagelayer.cpp
?????文件????????4201??2010-12-02?17:40??Imagelayer.h
?????文件?????????548??2011-10-15?13:42??init
?????文件???????25069??2010-09-10?10:57??KML.cpp
?????文件????????2857??2010-08-11?15:38??KML.h
?????文件????????2700??2010-08-11?15:38??KML.lay
?????文件???????22200??2011-06-21?16:19??layer.cpp
?????文件???????23402??2011-07-25?09:43??layer.h
?????文件??????157167??2011-10-23?15:43??layerPropDlg.cpp
?????文件???????17168??2011-09-20?14:04??layerPropDlg.h
?????文件???????43798??2011-09-20?14:03??layerProperties.lay
?????文件???????42338??2011-09-08?12:41??layerTree.cpp
?????文件????????2480??2011-08-26?12:21??layerTree.h
?????文件???????15091??2011-08-03?12:28??Legality.cpp
?????文件????????3245??2011-08-03?12:25??Legality.h
?????文件??????162151??2011-10-23?16:58??main.cpp
?????文件???????63881??2011-09-21?11:21??MetMastlayer.cpp
?????文件???????13234??2011-09-20?18:08??MetMastlayer.h
?????文件???????21799??2011-06-11?00:21??New?Text?Document.txt
?????文件???????43145??2010-10-21?12:22??Noise.cpp
?????文件????????3137??2010-08-11?15:38??Noise.h
?????文件????????4181??2010-08-11?15:38??Noise.lay
?????文件??????296583??2010-08-11?15:38??open_wind.ico
............此處省略53個(gè)文件信息

評(píng)論

共有 條評(píng)論

相關(guān)資源