SPH
Classes | Enumerations | Variables
GridPage.cpp File Reference
#include "gui/windows/GridPage.h"
#include "gui/MainLoop.h"
#include "gui/Utils.h"
#include "io/Path.h"
#include "quantities/Quantity.h"
#include "system/Factory.h"
#include "thread/Scheduler.h"
#include "windows/Widgets.h"
#include <fstream>
#include <numeric>
#include <wx/button.h>
#include <wx/checkbox.h>
#include <wx/msgdlg.h>
#include <wx/sizer.h>
#include <wx/spinctrl.h>
#include <wx/statbox.h>
#include <wx/stattext.h>

Go to the source code of this file.

Classes

class  ComponentGetter
 

Enumerations

enum class  CheckFlag {
  PARTICLE_COUNT = 1 << 0 , MASS_FRACTION = 1 << 1 , DIAMETER = 1 << 2 , VELOCITY_DIFFERENCE = 1 << 3 ,
  PERIOD = 1 << 4 , RATIO_CB = 1 << 5 , RATIO_BA = 1 << 6 , SPHERICITY = 1 << 7 ,
  MOONS = 1 << 8
}
 

Variables

const Size CHECK_COUNT = 9
 

Enumeration Type Documentation

◆ CheckFlag

enum CheckFlag
strong

Flags used as window ID and as parameters to compute

Note
When adding a new parameter, you have to:
  1. Increment constant CHECK_COUNT
  2. Add the parameter to the list in getCheckedCount
  3. Make sure the evaluating function in updateAsync is at the right position, it has to match the position of the parameter within CheckFlag.
Enumerator
PARTICLE_COUNT 
MASS_FRACTION 
DIAMETER 
VELOCITY_DIFFERENCE 
PERIOD 
RATIO_CB 
RATIO_BA 
SPHERICITY 
MOONS 

Definition at line 28 of file GridPage.cpp.

Variable Documentation

◆ CHECK_COUNT

const Size CHECK_COUNT = 9

Definition at line 39 of file GridPage.cpp.