Hello,
I’m using SuperLatticePhysVelocity2D<T,DESCRIPTOR> velocity( sLattice, converter ); and AnalyticalFfromSuperLatticeF2D<T, DESCRIPTOR> intpolateVelocity( velocity, true ); to get the velocity at a given x, y coordinates. However, the velocity should have 2 component x and y but I’m getting one value. How do I get the 2 component of the velocity?
Thanks
Here point1 is an array of T, for example T point1[3] = {1., 0., 0.};
The code for 2D should be analogue.
Best
Robin
Author
Posts
Viewing 2 posts - 1 through 2 (of 2 total)
You must be logged in to reply to this topic.
We use cookies to ensure that we give you the best experience on our website. If you continue to use this site we will assume that you are happy with it.Ok