~esys-p-dev/esys-particle/trunk

« back to all changes in this revision

Viewing changes to Model/IGParam.h

  • Committer: slatham
  • Date: 2004-04-07 02:48:47 UTC
  • Revision ID: svn-v4:1ddc92f8-1f06-0410-a909-b11019f1b28a:lsmtrunk:212
Added esys::lsm::BodyForceGroup class for applying gravitational force to particles.

Show diffs side-by-side

added added

removed removed

Lines of Context:
17
17
 */
18
18
class AIGParam
19
19
{
20
 
 protected:
21
 
  char* m_name;
 
20
protected:
 
21
  string m_name;
22
22
 
23
 
 public:
 
23
public:
 
24
  AIGParam(const std::string &name = "");
 
25
  
24
26
  virtual ~AIGParam()=0;
25
27
  virtual void packInto(CVarMPIBuffer*) const;
26
28
 
27
29
  void setName(const char*);
28
 
  string Name(){return string(m_name);};
29
 
  
 
30
  const std::string &Name() const {return m_name;};
 
31
 
30
32
  //  friend class AInteractionGroup;
31
33
};
32
34