Hello Developers,
I have a question regarding the analyticallinear2D functor. I don’t understand how is the expression formed by passing the three parameters to the rho functor. What does each parameter represent?
AnalyticalLinear2D<T,T> rho( -p0/lx*invCs2<T,DESCRIPTOR>(), 0, p0*invCs2<T,DESCRIPTOR>()+1 );
Code snippet:
template <typename T, typename S>
AnalyticalLinear2D<T,S>::AnalyticalLinear2D(T a, T b, T c)
: AnalyticalF2D<T,S>(1), _a(a), _b(b), _c(c)
{
this->getName() = “linear”;
}
I understand this might be a trivial question. I would really appreciate your help in this matter.
Thank you.
Yours sincerely,
Abhijeet C.