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);
intpolateDensity( &densities_out,points_out );
No, there isnt. For it, one would have to work with lattice Coordinates which are 4D in 3D applications due to the parallel data structure. We decided not to provide a function like this since it would result in very bad performce in the parallel case. Instead, we program static functors which will be relased with the next version. They might be of help for you.