You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
42 lines
962 B
C++
42 lines
962 B
C++
#include "FITKOFTransportModel.h"
|
|
#include "FITK_Kernel/FITKEasyParam/FITKParameter.h"
|
|
|
|
namespace Interface
|
|
{
|
|
FITKAbsOFTransportModel::FITKAbsOFTransportModel()
|
|
{
|
|
_transModelPara = new Core::FITKParameter;
|
|
}
|
|
|
|
FITKAbsOFTransportModel::~FITKAbsOFTransportModel()
|
|
{
|
|
if (_transModelPara) delete _transModelPara;
|
|
}
|
|
|
|
Core::FITKParameter* FITKAbsOFTransportModel::getTransportModelPara()
|
|
{
|
|
return _transModelPara;
|
|
}
|
|
|
|
void FITKAbsOFTransportModel::initTransportModelParam()
|
|
{
|
|
|
|
}
|
|
|
|
FITKOFTransModelNewtonian::FITKOFTransModelNewtonian()
|
|
{
|
|
this->setDataObjectName("Newtonian");
|
|
this->initTransportModelParam();
|
|
}
|
|
|
|
FITKOFTransModelNewtonian::~FITKOFTransModelNewtonian()
|
|
{
|
|
}
|
|
|
|
void FITKOFTransModelNewtonian::initTransportModelParam()
|
|
{
|
|
if (!_transModelPara) return;
|
|
_transModelPara->createDoubleParameter("v [m2/s]", 1.5e-05);
|
|
}
|
|
}
|