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

  • 大小: 1.48MB
    文件類型: .gz
    金幣: 1
    下載: 0 次
    發布日期: 2023-09-28
  • 語言: 其他
  • 標簽: LBM??multiphase??

資源簡介

含有LBM的多種模型,有D2Q9, D3Q19,做LBM不可多得的代碼。

資源截圖

代碼片段和文件信息

/***********************************************************************************/
/*?LBMSim?is?a?Lattice?Boltzmann?solver?including?a?demo?application.??????????????*/
/*?Copyright?(C)?2006?Frank?Deserno????????????????????????????????????????????????*/
/*?????????????????????????????????????????????????????????????????????????????????*/
/*?This?program?is?free?software;?you?can?redistribute?it?and/or???????????????????*/
/*?modify?it?under?the?terms?of?the?GNU?General?Public?License?????????????????????*/
/*?as?published?by?the?Free?Software?Foundation;?either?version?2??????????????????*/
/*?of?the?License?or?(at?your?option)?any?later?version.??????????????????????????*/
/*?????????????????????????????????????????????????????????????????????????????????*/
/*?This?program?is?distributed?in?the?hope?that?it?will?be?useful?????????????????*/
/*?but?WITHOUT?ANY?WARRANTY;?without?even?the?implied?warranty?of??????????????????*/
/*?MERCHANTABILITY?or?FITNESS?FOR?A?PARTICULAR?PURPOSE.??See?the???????????????????*/
/*?GNU?General?Public?License?for?more?details.????????????????????????????????????*/
/*?????????????????????????????????????????????????????????????????????????????????*/
/*?You?should?have?received?a?copy?of?the?GNU?General?Public?License???????????????*/
/*?along?with?this?program;?if?not?write?to?the?Free?Software?????????????????????*/
/*?Foundation?Inc.?51?Franklin?Street?Fifth?Floor?Boston?MA??02110-1301?USA.?*/
/*?????????????????????????????????????????????????????????????????????????????????*/
/*?Author‘s?e-Mail:?frank.deserno@informatik.uni-erlangen.de???????????????????????*/
/***********************************************************************************/


#include?“controlwidget.h“
#include?“renderwidget.h“
#include?“paintarea.h“



ControlWidget::ControlWidget(?RenderWidget&?renderWidget?)?
{
??fileLogger?<
??Q_ASSERT(?&renderWidget?!=?0?);
??_renderWidget?=?&renderWidget;

??_fineLayout?=?new?QGridLayout();

??_startPushButton?=?new?QPushButton(?QIcon(“:/startlba-img.png“)??Qobject::trUtf8(“Start“)?);
??_startPushButton->setStatusTip(?Qobject::trUtf8(“Start?simulation“)?);
??_startPushButton->setWhatsThis(?Qobject::trUtf8(“Pressing?this?button?starts?the?simulation.“)?);

??_stopPushButton??=?new?QPushButton(?QIcon(“:/stoplba-img.png“)???Qobject::trUtf8(“Stop“)??);
??_stopPushButton->setStatusTip(?Qobject::trUtf8(“Stop?simulation“)?);
??_stopPushButton->setWhatsThis(?Qobject::trUtf8(“Pressing?this?button?stops?the?simulation.“)?);

??_resetPushButton?=?new?QPushButton(?QIcon(“:/resetlba-img.png“)??Qobject::trUtf8(“Reset“)?);
??_resetPushButton->setStatusTip(?Qobject::trUtf8(“Reset?simulation“)?);
??_resetPushButton->setWhatsThis(?Qobject::trUtf8(“Pressing?this?button?resets?the?simulation.“)?);

??_fineLayout->addWidget(?_startPushButton??0??0?);
??_fineLayout->addWidget(?_stopPushButton???0??1?);
??_fineLayout->addWidget(?_resetPushButton??0??2?);

??_widget?=?new?QW

評論

共有 條評論