mirror of
https://github.com/openmc-dev/openmc.git
synced 2026-07-27 05:35:49 -04:00
Add comments to periodic BC implementation
This commit is contained in:
parent
1af80b1d39
commit
5fb806bcb5
2 changed files with 18 additions and 0 deletions
|
|
@ -241,12 +241,26 @@ public:
|
|||
void cross_surface();
|
||||
|
||||
//! Cross a vacuum boundary condition.
|
||||
//
|
||||
//! \param surf The surface (with the vacuum boundary condition) that the
|
||||
//! particle struck.
|
||||
void cross_vacuum_bc(const Surface& surf);
|
||||
|
||||
//! Cross a reflective boundary condition.
|
||||
//
|
||||
//! \param surf The surface (with the reflective boundary condition) that the
|
||||
//! particle struck.
|
||||
//! \param new_u The direction of the particle after reflection.
|
||||
void cross_reflective_bc(const Surface& surf, Direction new_u);
|
||||
|
||||
//! Cross a periodic boundary condition.
|
||||
//
|
||||
//! \param surf The surface (with the periodic boundary condition) that the
|
||||
//! particle struck.
|
||||
//! \param new_r The position of the particle after translation/rotation.
|
||||
//! \param new_u The direction of the particle after translation/rotation.
|
||||
//! \param new_surface The signed index of the surface that the particle will
|
||||
//! reside on after translation/rotation.
|
||||
void cross_periodic_bc(const Surface& surf, Position new_r, Direction new_u,
|
||||
int new_surface);
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue