Skip to content

Commit 1c2ef28

Browse files
committed
FEAT: gotta know if dipole and closed!
1 parent 989984c commit 1c2ef28

File tree

1 file changed

+17
-0
lines changed

1 file changed

+17
-0
lines changed

src/grid.cpp

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -520,6 +520,23 @@ void Grid::set_IsDipole(bool value) {
520520
IsDipole = value;
521521
}
522522

523+
// --------------------------------------------------------------------------
524+
// Get whether the grid is a dipole grid
525+
// --------------------------------------------------------------------------
526+
527+
bool Grid::get_IsDipole() {
528+
return IsDipole;
529+
}
530+
531+
// --------------------------------------------------------------------------
532+
// Get whether the dipole grid is closed (true) or open (false)
533+
// --------------------------------------------------------------------------
534+
535+
bool Grid::get_IsClosed() {
536+
return IsClosed;
537+
}
538+
539+
523540
// --------------------------------------------------------------------------
524541
// Get total number of grid points
525542
// --------------------------------------------------------------------------

0 commit comments

Comments
 (0)