Skip to content
Snippets Groups Projects
Commit b52ec168 authored by Cristian Lalescu's avatar Cristian Lalescu
Browse files

temp checkpoint

switching to other computer
parent ff410a69
No related branches found
No related tags found
2 merge requests!21Bugfix/nansampling,!19Feature/sampling new particles test (extension of Update particles sampling for variable dim)
......@@ -68,15 +68,19 @@ int NSVEparticles<rnumber>::do_stats()
{
// fluid stats go here
this->NSVE<rnumber>::do_stats();
// particle sampling should go here
// if (this->iteration % this->niter_part == 0)
// {
// sample_from_particles_system(*this->fs->cvelocity,// field to save TODO
// this->ps,
// 0, // hdf5 datagroup TODO
// "TODO" // dataset basename TODO
// );
// }
//after fluid stats, cvelocity contains Fourier representation of vel field
this->fs->cvelocity->ift();
if (this->iteration % this->niter_part == 0)
{
// sample velocity
//sample_from_particles_system(*this->fs->cvelocity,// field to save
// this->ps,
// 0, // hdf5 datagroup TODO
// "TODO" // dataset basename TODO
// );
}
return EXIT_SUCCESS;
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment