/[ff3d]/ff3d/solver/PDE.hpp
ViewVC logotype

Diff of /ff3d/solver/PDE.hpp

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

revision 1.1.1.1 by delpinux, Mon Feb 17 16:32:51 2003 UTC revision 1.2 by delpinux, Sat Sep 20 21:31:09 2003 UTC
# Line 19  Line 19 
19    
20  // This class describes a PDE  // This class describes a PDE
21    
22  #ifndef _PDE_HPP_  #ifndef PDE_HPP
23  #define _PDE_HPP_  #define PDE_HPP
24    
25  #include <VectorialPDEOperator.hpp>  #include <VectorialPDEOperator.hpp>
26  #include <UserFunction.hpp>  #include <UserFunction.hpp>
# Line 43  private: Line 43  private:
43    ConstReferenceCounting<UserFunction> __secondMember;    ConstReferenceCounting<UserFunction> __secondMember;
44    
45  public:  public:
46      ConstReferenceCounting<PDE> operator * (ConstReferenceCounting<UserFunction> u) const
47      {
48        PDE* newPDE = new PDE();
49        (*newPDE).__secondMember = new MulUserFunction(__secondMember, u);
50        (*newPDE).__vectorPDEOperator = (*__vectorPDEOperator) * u;
51        return newPDE;
52      }
53    
54    //! read-only access to the second member function    //! read-only access to the second member function
55    ConstReferenceCounting<UserFunction> secondMember() const    ConstReferenceCounting<UserFunction> secondMember() const
56    {    {
# Line 97  public: Line 105  public:
105    
106  };  };
107    
108  #endif // _PDE_HPP_  #endif // PDE_HPP
   

Legend:
Removed from v.1.1.1.1  
changed lines
  Added in v.1.2

savannah-hackers-public@gnu.org
ViewVC Help
Powered by ViewVC 1.1.26