C++ mpi module for stochmagnet_main Package
SMOMPI_UtilityRunner.h
1 #ifndef SMOMPI_UtilityRunner_H
2 #define SMOMPI_UtilityRunner_H
3 
4 //inherits header
5 #include "CORE_Object.h"
6 
7 //options list header
8 #include "CORE_OptionsList.h"
9 
10 
11 
20 
21  //attributes
22 private :
23 
24 
25 
26 public:
27  // CONSTRUCTORS
31  }
32 
33  // DESTRUCTORS
36  virtual ~SMOMPI_UtilityRunner(void) {
37  }
38 
39 
40 
41 public :
42  // CREATE class
43 
44 
45  //SET & GET methods
46 
47 
48 
49 
50  //MEMORY
51 
65  virtual tMemSize getMemorySize() const {
66  return sizeof(*this)+getContentsMemorySize();
67  }
68 
69 
70  // MAIN Method
71 
72 public:
73 
74 public:
75 
76 
77 public:
78 
82  static tBoolean GenerateMagneticMomentsDirections(const CORE_OptionsList& options);
83 
91  static tBoolean GenerateDipolarMap(const CORE_OptionsList& options);
92 
93 private:
96  static tBoolean GenerateDipolarMapFromCenterSpin(const CORE_OptionsList& options);
99  static tBoolean GenerateDipolarMapFromSpins(const CORE_OptionsList& options);
100 
101 
102 };
103 
104 #endif
abstract base class for most classes.
Definition: CORE_Object.h:65
virtual tMemSize getContentsMemorySize() const
return nthe memory size of the included associations
Definition: CORE_Object.h:278
This class is an list of options.
Definition: CORE_OptionsList.h:36
This class is a UtilityRunner class for Stoch Magnet package.
Definition: SMOMPI_UtilityRunner.h:19
virtual ~SMOMPI_UtilityRunner(void)
destroy
Definition: SMOMPI_UtilityRunner.h:36
static tBoolean GenerateMagneticMomentsDirections(const CORE_OptionsList &options)
generate dierctions of all magnetic moments into a file
virtual tMemSize getMemorySize() const
return the memory size of the class and the memory size of all its attributes/associations
Definition: SMOMPI_UtilityRunner.h:65
static tBoolean GenerateDipolarMap(const CORE_OptionsList &options)
generate dipolar field map into vtk files
SMOMPI_UtilityRunner(void)
create
Definition: SMOMPI_UtilityRunner.h:30