Dear Admin,
I am just wondering how to get the density at specific points?
Currently, I tend to use the example “cylinder2d.cpp”.
However, instead of manually entering all the points I am interested in, is there anyway to retrieve the coordinates of all locations with a specific material number? i.e.,
===============================================================
AnalyticalFfromSuperLatticeF2D<T, DESCRIPTOR> intpolateDensity( density, true );
T points_out = superGeometry.getCoordsFromMaterialNumber(5);
T densities_out[points_out.size()]
intpolateDensity( &densities_out,points_out );
===============================================================
Is there any function that does “getCoordsFromMaterialNumber” does?
Thanks
John
-
This topic was modified 5 years, 5 months ago by lollipopcorn.