Log In | Get Help   
Home My Page Projects Code Snippets Project Openings Mareframe
Summary Activity Forums Tracker Lists Tasks Docs Surveys News SCM Files
[mareframe] Diff of /trunk/gadget/maininfo.h
[mareframe] / trunk / gadget / maininfo.h Repository:
ViewVC logotype

Diff of /trunk/gadget/maininfo.h

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1, Mon Feb 10 17:09:07 2014 UTC revision 20, Fri Apr 7 09:20:55 2017 UTC
# Line 50  Line 50 
50     * \param filename is the name of the file     * \param filename is the name of the file
51     */     */
52    void setPrintFinalFile(char* filename);    void setPrintFinalFile(char* filename);
53    #ifdef _OPENMP
54      /**
55       * \brief This function will store parallel options
56       */
57      void setParallel(char* filename);
58    #endif
59    /**    /**
60     * \brief This function will store the filename that the initial values for the model parameters will be read from     * \brief This function will store the filename that the initial values for the model parameters will be read from
61     * \param filename is the name of the file     * \param filename is the name of the file
# Line 85  Line 91 
91     * \return flag     * \return flag
92     */     */
93    int runPrint() const { return runprint; };    int runPrint() const { return runprint; };
94    #ifdef _OPENMP
95      /**
96       * \brief This function will return the flag used to determine whether the current simulation should print the model output
97       * \return flag
98       */
99      int runParallel() const { return runparallel; };
100    #endif
101    /**    /**
102     * \brief This function will return the flag used to determine whether the optimisation parameters have been given     * \brief This function will return the flag used to determine whether the optimisation parameters have been given
103     * \return flag     * \return flag
# Line 144  Line 157 
157     * \brief This function will return the maximum ratio of a stock that can be consumed on any given timestep     * \brief This function will return the maximum ratio of a stock that can be consumed on any given timestep
158     * \return maxratio     * \return maxratio
159     */     */
160    double getMaxRatio() const { return maxratio; };    double getMaxRatio() const {
161              return maxratio;
162      }
163      /**
164       * \brief This function will return seeds used in SA
165       * \return seed array of unsigned int with the seeds used in SA
166       */
167      unsigned* getSeed() const {return seed;};
168    
169    
170  private:  private:
171    /**    /**
172     * \brief This function will read input from a file instead of the command line     * \brief This function will read input from a file instead of the command line
# Line 219  Line 241 
241     * \brief This is the maximum ratio of a stock that can be consumed on any given timestep     * \brief This is the maximum ratio of a stock that can be consumed on any given timestep
242     */     */
243    double maxratio;    double maxratio;
244      /**
245       * \brief vector with the seeds used in SA
246       * \note see[0] = seed | see[1] = seedM | see[2] = seedP
247       */
248      unsigned* seed;
249    #ifdef _OPENMP
250      /**
251       * \brief This is the flag used to denote whether the likelihood score should be optimised in pararrel   */
252      int runparallel;
253    #endif
254  };  };
255    
256  #endif  #endif
257    

Legend:
Removed from v.1  
changed lines
  Added in v.20

root@forge.cesga.es
ViewVC Help
Powered by ViewVC 1.0.0  

Powered By FusionForge