Revision 752 branches/threaded2/src/nh99/admodel.h

admodel.h (revision 752)
689 689
 */
690 690
class pvm_params
691 691
{
692
  static pvm_params * varsptr[]; // this should be a resizeable array
692
  static pvm_params* varsptr[]; // this should be a resizeable array
693 693
  static int num_pvm_params;
694 694
  static const int maxnum_pvm_params;
695 695
  void add_to_list(void);
......
748 748
 */
749 749
class adlist_ptr
750 750
{
751
  ptovoid * ptr;
751
  ptovoid* ptr;
752 752
  int current_size;
753 753
  int current;
754 754
  void resize(void);
755
  void add_to_list(void * p);
755
  void add_to_list(void* p);
756 756
public:
757
  ~adlist_ptr();
758
  pinitial_params  & operator [] (int i);
759
  adlist_ptr(int init_size);
757
  adlist_ptr(const int init_size);
758
  virtual ~adlist_ptr();
759

  
760
  int get_current_size() const { return current_size; }
761
  int get_current() const { return current; }
762
  ptovoid* get_ptr() const { return ptr; }
763

  
764
  pinitial_params& operator[](const int i);
765

  
760 766
  friend class initial_params;
761 767
};
762 768

  
......
768 774
 */
769 775
  class shareinfo
770 776
  {
771
    index_type * sflags;
772
    index_type * original_sflags;
773
    index_type * aflags;
774
    index_type * invflags;
775
    i3_array * bmap;
777
    index_type* sflags;
778
    index_type* original_sflags;
779
    index_type* aflags;
780
    index_type* invflags;
781
    i3_array* bmap;
776 782
    int dimension;
777 783
    int maxshare;
778 784
    int current_phase;
779 785
  public:
780
    void get_inv_matrix_shared( int _cf);
781
    void get_inv_vector_shared( int _cf);
782
    int & get_maxshare(void) { return maxshare; }
783
    i3_array & get_bmap(void);
786
    shareinfo(const index_type& sf,const index_type& af);
787
    virtual ~shareinfo();
788

  
789
    void get_inv_matrix_shared(int _cf);
790
    void get_inv_vector_shared(int _cf);
791
    int& get_maxshare(void) { return maxshare; }
792
    i3_array& get_bmap(void);
784 793
    int & get_dimension(void){ return dimension;}
785
    index_type * get_original_shareflags(void);
786
    index_type * get_shareflags(void);
794
    index_type* get_original_shareflags(void);
795
    index_type* get_shareflags(void);
787 796
    int& get_current_phase(void);
788
    index_type * get_activeflags(void);
789
    index_type * get_invflags(void);
797
    index_type* get_activeflags(void);
798
    index_type* get_invflags(void);
790 799
    void set_shareflags(const index_type& sf);
791 800
    void set_original_shareflags(const index_type& sf);
792 801
    void reset_shareflags(const index_type& sf);
......
794 803
    void set_bmap(const i3_array& af);
795 804
    void reset_bmap(const i3_array& af);
796 805
    void set_invflags(const index_type& af);
797
    shareinfo(const index_type& sf,const index_type& af);
798
    ~shareinfo();
799 806
  };
800 807
#endif
801 808
 
......
807 814
{
808 815
protected:
809 816
#if defined(USE_SHARE_FLAGS)
810
  shareinfo * share_flags;
817
  shareinfo* share_flags;
811 818
#endif
812 819
  virtual ~initial_params();
813 820
  int active_flag;
... This diff was truncated because it exceeds the maximum size that can be displayed.

Also available in: Unified diff