Simplify syntax.

This commit is contained in:
Paddle
2023-09-29 16:50:10 +02:00
parent b53cdac5ca
commit cd3e4e0095
14 changed files with 158 additions and 12 deletions

View File

@@ -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 });
}