/[escript]/branches/refine/buckley/src/BuckleyDomain.h
ViewVC logotype

Diff of /branches/refine/buckley/src/BuckleyDomain.h

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

revision 3681 by jfenwick, Fri Nov 18 04:48:53 2011 UTC revision 3682 by jfenwick, Mon Nov 21 01:56:45 2011 UTC
# Line 17  Line 17 
17    
18  #include <escript/Data.h>  #include <escript/Data.h>
19  #include <escript/AbstractContinuousDomain.h>  #include <escript/AbstractContinuousDomain.h>
20    #include <escript/AbstractSystemMatrix.h>
21    
22  #include "OctTree.h"  #include "OctTree.h"
23  #include "system_dep.h"  #include "system_dep.h"
# Line 24  Line 25 
25    
26  namespace buckley {  namespace buckley {
27    
28      
 typedef int ASM_ptr;  
 typedef int ATP_ptr;        // not what they are supposed to be  
     
29    
30  // This should inherit from AbstractContinuousDomain  class BuckleyDomain : public escript::AbstractContinuousDomain
 class BuckleyDomain : public escript::AbstractDomain  
31  {  {
32    
33   public:   public:
# Line 253  class BuckleyDomain : public escript::Ab Line 250  class BuckleyDomain : public escript::Ab
250      creates a SystemMatrixAdapter stiffness matrix and initializes it with zeros:      creates a SystemMatrixAdapter stiffness matrix and initializes it with zeros:
251    */    */
252    BUCKLEY_DLL_API    BUCKLEY_DLL_API
253    virtual ASM_ptr newSystemMatrix(    virtual escript::ASM_ptr newSystemMatrix(
254                        const int row_blocksize,                        const int row_blocksize,
255                        const escript::FunctionSpace& row_functionspace,                        const escript::FunctionSpace& row_functionspace,
256                        const int column_blocksize,                        const int column_blocksize,
# Line 266  class BuckleyDomain : public escript::Ab Line 263  class BuckleyDomain : public escript::Ab
263    */    */
264    
265    BUCKLEY_DLL_API    BUCKLEY_DLL_API
266    virtual ATP_ptr newTransportProblem(    virtual escript::ATP_ptr newTransportProblem(
267                        const bool useBackwardEuler,                        const bool useBackwardEuler,
268                        const int blocksize,                        const int blocksize,
269                        const escript::FunctionSpace& functionspace,                        const escript::FunctionSpace& functionspace,
# Line 300  class BuckleyDomain : public escript::Ab Line 297  class BuckleyDomain : public escript::Ab
297    */    */
298    BUCKLEY_DLL_API    BUCKLEY_DLL_API
299    virtual void Print_Mesh_Info(const bool full=false) const;    virtual void Print_Mesh_Info(const bool full=false) const;
300      
301      BUCKLEY_DLL_API
302      bool operator==(const BuckleyDomain& other) const;
303      
304      BUCKLEY_DLL_API
305      bool operator!=(const BuckleyDomain& other) const;
306      
307    
308    
309   protected:   protected:
# Line 308  class BuckleyDomain : public escript::Ab Line 312  class BuckleyDomain : public escript::Ab
312      OctTree ot;      OctTree ot;
313      bool modified;      bool modified;
314      mutable const OctCell** leaves;      mutable const OctCell** leaves;
315        mutable unkid numpts;   // number of independent (non-hanging) verticies
316  };  };
317    
318  } // end of namespace  } // end of namespace

Legend:
Removed from v.3681  
changed lines
  Added in v.3682

  ViewVC Help
Powered by ViewVC 1.1.26