Changeset 59 in PSPA for Interface_Web/trunk/pspaWT/include


Ignore:
Timestamp:
Nov 12, 2012, 9:47:38 AM (12 years ago)
Author:
lemeur
Message:

fenêtre 'sections'

Location:
Interface_Web/trunk/pspaWT/include
Files:
5 edited

Legend:

Unmodified
Added
Removed
  • Interface_Web/trunk/pspaWT/include/GWt_pspaApplication.h

    r58 r59  
    1111#include <Wt/WPanel>
    1212#include <Wt/WComboBox>
     13#include <Wt/WPushButton>
    1314
    1415#include "dataManager.h"
     
    2728  WLineEdit*  fin;
    2829  WComboBox* selection;
     30  WContainerWidget* ligneDeWidget;
    2931} GWt_sectionToExecute;
    3032
     
    3941
    4042  WContainerWidget* contenuSections_;
     43
     44  WPushButton *exec_go_;
     45
    4146
    4247  list<GWt_sectionToExecute*> selectedSections_;
     
    5762
    5863  void addSectionToExecuteW();
     64  void deleteSectionToExecuteW();
    5965
     66  void checkSectionSelection();
     67
     68  void disableSectionExecute();
    6069
    6170  void faireDessin();
  • Interface_Web/trunk/pspaWT/include/dataManager.h

    r58 r59  
    2020{
    2121
     22
    2223  elementsCollection elementsGallery_;
    2324  globalParameters globParam_;
     
    2728
    2829  void createInputFileParmela( unsigned int indexDeb, unsigned int indexFin);
     30  void createInputFileTransport( unsigned int indexDeb, unsigned int indexFin);
     31
    2932
    3033 public:
    3134
    32  
     35
    3336  dataManager() {;}
    3437  ~dataManager()
     
    4851
    4952    void addSectionToExecute(int debut, int fin, nomDeLogiciel prog);
     53    void clearSectionToExecute();
    5054 
    5155  abstractElement* addElement(nomdElement elemType);
  • Interface_Web/trunk/pspaWT/include/elementInitialBeam.h

    r50 r59  
    4242  ~elementInitialBeam() {;}
    4343
    44   virtual void setPhaseStep(double ph) { cout << " bon setphasestep = " << ph << endl; phaseStep_ = ph;}
     44  virtual void setPhaseStep(double ph) { phaseStep_ = ph;}
    4545
    4646
  • Interface_Web/trunk/pspaWT/include/nomDeLogiciel.h

    r58 r59  
    4141     case parmela : { return "parmela"; }
    4242     case transport : { return "transport"; }
     43     case unknownSoftware : { return "unknownSoftware"; }
    4344     }
    4445   return "unknownSoftware";
  • Interface_Web/trunk/pspaWT/include/particleBeam.h

    r56 r59  
    4444
    4545      vector< vector<double> > rij_transportMoments_;
    46 
    4746      vector<double> centroid_;
    48 
     47      double P0Transport_;
    4948
    5049
     
    6362         rij_transportMoments_.at(k).resize(++dim);
    6463       }
     64     P0Transport_ = 0.0;
    6565     particleRepresentationOk_ = false;
    6666     momentRepresentationOk_ = false;
     
    7676  {
    7777    goodPartic_.clear();
     78     P0Transport_ = 0.0;
     79     particleRepresentationOk_ = false;
     80     momentRepresentationOk_ = false;
    7881  }
    7982
     
    8386  }
    8487
    85 
     88 inline const vector< vector<double> >&  getTransportMoments() const  { return rij_transportMoments_;}
     89 inline double getP0Transport() const { return P0Transport_;}
     90  inline bool particleRepresentationOk() const {return particleRepresentationOk_;}
     91 inline bool momentRepresentationOk() const {return momentRepresentationOk_;}
    8692
    8793
Note: See TracChangeset for help on using the changeset viewer.