Simplify syntax.
This commit is contained in:
@@ -33,3 +33,8 @@ void MbD::ASMTConstantGravity::setg(FColDsptr gravity)
|
||||
{
|
||||
g = gravity;
|
||||
}
|
||||
|
||||
void MbD::ASMTConstantGravity::setg(double a, double b, double c)
|
||||
{
|
||||
g = std::make_shared<FullColumn<double>>(ListD{ a, b, c });
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user