globalDamping is deactivated for future developement
This commit is contained in:
parent
debb8fd037
commit
42b024e1ed
|
@ -23,7 +23,8 @@ Licence:
|
||||||
|
|
||||||
|
|
||||||
pFlow::globalDamping::globalDamping(const systemControl& control)
|
pFlow::globalDamping::globalDamping(const systemControl& control)
|
||||||
:
|
{}
|
||||||
|
/*:
|
||||||
timeControl_(control.settingsDict().subDict("globalDamping"), control.time().dt(), "damping")
|
timeControl_(control.settingsDict().subDict("globalDamping"), control.time().dt(), "damping")
|
||||||
{
|
{
|
||||||
const dictionary& dict = control.settingsDict().subDict("globalDamping");
|
const dictionary& dict = control.settingsDict().subDict("globalDamping");
|
||||||
|
@ -40,7 +41,7 @@ pFlow::globalDamping::globalDamping(const systemControl& control)
|
||||||
else
|
else
|
||||||
REPORT(2)<<"Global damping "<<Yellow_Text("is not active")<<"."<<END_REPORT;
|
REPORT(2)<<"Global damping "<<Yellow_Text("is not active")<<"."<<END_REPORT;
|
||||||
|
|
||||||
}
|
}*/
|
||||||
|
|
||||||
|
|
||||||
/*void pFlow::globalDamping::applyDamping
|
/*void pFlow::globalDamping::applyDamping
|
||||||
|
@ -68,7 +69,8 @@ pFlow::globalDamping::globalDamping(const systemControl& control)
|
||||||
|
|
||||||
pFlow::real pFlow::globalDamping::dampingFactor(const timeInfo& ti)const
|
pFlow::real pFlow::globalDamping::dampingFactor(const timeInfo& ti)const
|
||||||
{
|
{
|
||||||
if(!performDamping_) return 1.0;
|
return 1;
|
||||||
|
/*if(!performDamping_) return 1.0;
|
||||||
if(!timeControl_.timeEvent(ti.iter(), ti.t(), ti.dt()) )return 1.0;
|
if(!timeControl_.timeEvent(ti.iter(), ti.t(), ti.dt()) )return 1.0;
|
||||||
return dampingFactor_;
|
return dampingFactor_;*/
|
||||||
}
|
}
|
|
@ -37,7 +37,7 @@ private:
|
||||||
|
|
||||||
real dampingFactor_;
|
real dampingFactor_;
|
||||||
|
|
||||||
baseTimeControl timeControl_;
|
// baseTimeControl timeControl_;
|
||||||
|
|
||||||
|
|
||||||
public:
|
public:
|
||||||
|
|
Loading…
Reference in New Issue