Files @ 6bcb69712a0e
Branch filter:

Location: EI/VirtualLeaf/src/parameter.h

Roeland Merks
In response to referee's comment:

"However, (although it is probably not important for model developers), I was
still unable to load the model ‘Meinhardt 1976 with growth’ example from the
‘Models’ drop down menu, I got the ‘Fatal error’ message ‘stepwise underflow in

rkqs, with h=0.000000 and htry = 0.100000’. The model did work when I selected
the Meinhardt model in both the Models and the File -> Read leaf menus together,
it would be preferable if the models loaded from the Models menu worked

automatically. I am not sure that the update referred to in the author’s
response permits the loading of ‘My First Model in Virtual Leaf’ from the
‘Models’ drop down menu; I only got a cell that wiggled."

I made the following changes:

- meinhardt_plugin now reads "meinhardt_init.xml" by default
- changed the name of 'My First Model in Virtual Leaf’ to '0: Empty model template (does nothing)' to make it clear that the wiggle cell is the intended behavior for this model example.
- Added default parameter files for Tutorial1A-D and Tutorial2 to prevent variable behavior depending on the last parameter settings used.


--
user: Roeland Merks <roeland.merks@cwi.nl>
branch 'default'
added data/leaves/tutorial1_init.xml
added data/leaves/tutorial2_init.xml
changed data/leaves/auxin_growth.xml
changed data/leaves/meinhardt_init.xml
changed src/TutorialCode/Tutorial0/tutorial0.cpp
changed src/TutorialCode/Tutorial1A/tutorial1A.h
changed src/TutorialCode/Tutorial1B/tutorial1B.h
changed src/TutorialCode/Tutorial1C/tutorial1C.h
changed src/TutorialCode/Tutorial1D/tutorial1D.h
changed src/TutorialCode/Tutorial2/tutorial2.h
changed src/build_models/meinhardtplugin.h
/*
 *
 *  $Id$
 *
 *  This file is part of the Virtual Leaf.
 *
 *  VirtualLeaf is free software: you can redistribute it and/or modify
 *  it under the terms of the GNU General Public License as published by
 *  the Free Software Foundation, either version 3 of the License, or
 *  (at your option) any later version.
 *
 *  VirtualLeaf is distributed in the hope that it will be useful,
 *  but WITHOUT ANY WARRANTY; without even the implied warranty of
 *  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
 *  GNU General Public License for more details.
 *
 *  You should have received a copy of the GNU General Public License
 *  along with the Virtual Leaf.  If not, see <http://www.gnu.org/licenses/>.
 *
 *  Copyright 2010 Roeland Merks.
 *
 */

// WARNING: This file is automatically generated by make_parameter_source.pl. Do not edit.
// Do not edit. All edits will be discarded.

#ifndef _PARAMETER_H_
#define _PARAMETER_H_
#include "vector.h"
#include <vector>

#include <libxml/parser.h>
#include <libxml/tree.h>

 class Parameter {
		
 public: 
   Parameter();
   ~Parameter();
   void CleanUp(void);
   void Read(const char *filename);
   void Write(ostream &os) const;
   void XMLAdd(xmlNode *root) const;
   void XMLRead(xmlNode *root);
   void AssignValToPar(const char *namec, const char *valc);
   void AssignValArrayToPar(const char *namec, vector<double> valarray);
  char * arrowcolor;
  double arrowsize;
  char * textcolor;
  int cellnumsize;
  int nodenumsize;
  double node_mag;
  double outlinewidth;
  char * cell_outline_color;
  int resize_stride;
  double T;
  double lambda_length;
  double yielding_threshold;
  double lambda_celllength;
  double target_length;
  double cell_expansion_rate;
  double cell_div_expansion_rate;
  bool auxin_dependent_growth;
  double ode_accuracy;
  double mc_stepsize;
  double mc_cell_stepsize;
  double energy_threshold;
  double bend_lambda;
  double alignment_lambda;
  double rel_cell_div_threshold;
  double rel_perimeter_stiffness;
  double collapse_node_threshold;
  double morphogen_div_threshold;
  double morphogen_expansion_threshold;
  bool copy_wall;
  double source;
  double * D;
  double * initval;
  double k1;
  double k2;
  double r;
  double kr;
  double km;
  double Pi_tot;
  double transport;
  double ka;
  double pin_prod;
  double pin_prod_in_epidermis;
  double pin_breakdown;
  double pin_breakdown_internal;
  double aux1prod;
  double aux1prodmeso;
  double aux1decay;
  double aux1decaymeso;
  double aux1transport;
  double aux_cons;
  double aux_breakdown;
  double kaux1;
  double kap;
  double leaf_tip_source;
  double sam_efflux;
  double sam_auxin;
  double sam_auxin_breakdown;
  double van3prod;
  double van3autokat;
  double van3sat;
  double k2van3;
  double dt;
  double rd_dt;
  char * datadir;
  bool movie;
  int nit;
  double maxt;
  int storage_stride;
  int xml_storage_stride;
  int rseed;
  int constituous_expansion_limit;
  double vessel_inh_level;
  double vessel_expansion_rate;
  double d;
  double e;
  double f;
  double c;
  double mu;
  double nu;
  double rho0;
  double rho1;
  double c0;
  double gamma;
  double eps;
  double * k;
  int i1;
  int i2;
  int i3;
  int i4;
  int i5;
  char * s1;
  char * s2;
  char * s3;
  bool b1;
  bool b2;
  bool b3;
  bool b4;
  char * dir1;
  char * dir2;
  int export_interval;
  char * export_fn_prefix;
 private:
 };

 ostream &operator<<(ostream &os, Parameter &p);
 const char *sbool(const bool &p);


#endif