public class MzTestDissolveGass :
MzOceanModelElement
{
protected override long
Calculate(
long lOnlyReceveDataNum, ref McReceiveOnlyTranInfo[]
csOnlyReceiveCellData,
long lOnlySendDataNum, ref McSendOnlyTranInfo[]
csOnlySelDataCellData,
long lRcvSndDataNum, ref McRdvSndTranInfoPair[]
csRcvSndCelDataCellData
)
{
//-------------
//
テスト用:::要求された量分全て送信する
for (int ll = 0; ll < m_csOcnBacedlInf.m_lLayerNumber;
ll++)
{
m_OcLyrMdlInf.m_AvailableCO2[ll] =
m_OcLyrMdlInf.m_ReqedCO2[ll];
}
return
0;
//-------------
}
}
public class
MzTestNutrient : MzOceanModelElement
{
protected
override long Calculate(
long lOnlyReceveDataNum, ref McReceiveOnlyTranInfo[]
csOnlyReceiveCellData,
long
lOnlySendDataNum, ref McSendOnlyTranInfo[]
csOnlySelDataCellData,
long
lRcvSndDataNum, ref McRdvSndTranInfoPair[]
csRcvSndCelDataCellData
)
{
………………
//
★★★ テスト用:::要求された量分全て送信する ★★★
for
(int ll = 0; ll < m_csOcnBacedlInf.m_lLayerNumber;
ll++)
{
m_OcLyrMdlInf.m_AvailableN[ll] =
m_OcLyrMdlInf.m_ReqN[ll];
m_OcLyrMdlInf.m_AvailableP[ll] =
m_OcLyrMdlInf.m_ReqP[ll];
m_OcLyrMdlInf.m_AvailableSi[ll] =
m_OcLyrMdlInf.m_ReqSi[ll];
m_OcLyrMdlInf.m_AvailableFe[ll] =
m_OcLyrMdlInf.m_ReqFe[ll];
}
return
0;
}
} |