Skip to content

Commit

Permalink
Added retqss header files.
Browse files Browse the repository at this point in the history
  • Loading branch information
joaquinffernandez committed Dec 4, 2023
1 parent fa90b17 commit be5affd
Show file tree
Hide file tree
Showing 2 changed files with 1,646 additions and 0 deletions.
39 changes: 39 additions & 0 deletions src/lib/retqss/retqss_debug.h
Original file line number Diff line number Diff line change
@@ -0,0 +1,39 @@
/**
* \file retqss_debug.h
* \brief Debugging functions
*
* Assorted debug functionality only compiled if flag RETQSS_DEBUG is defined
* at compilation time.
*/

#ifndef _RETQSS_DEBUG_H_
#define _RETQSS_DEBUG_H_

#include "retqss_types.hh"
#include "retqss_volume.hh"

namespace retQSS
{

/**
* \brief Save particle trajectories to Geomview files.
*
* Save particle trajectories for each volume traversed by particle \f$p\f$ in
* a set of files compatible with Geomview.
*
* \param index Index of volume traversed.
* \param volume Current volume.
* \param points Sequence of points inside \c volume which compose \f$p\f$'s
* trajectory inside \c volume.
* \param path Path where files will be saved.
*/
void trajectory_to_geomview(
retQSS::Internal_ParticleID p,
int index,
retQSS::Volume *volume,
retQSS::PointList *points,
const char *path =NULL);

}

#endif
Loading

0 comments on commit be5affd

Please sign in to comment.