/[escript]/trunk/escript/src/AbstractDomain.h
ViewVC logotype

Diff of /trunk/escript/src/AbstractDomain.h

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

revision 109 by jgs, Fri Dec 17 07:43:12 2004 UTC revision 110 by jgs, Mon Feb 14 04:14:42 2005 UTC
# Line 106  class AbstractDomain { Line 106  class AbstractDomain {
106    /**    /**
107       \brief       \brief
108       sets the tagList pointer and length of tag list numTags.       sets the tagList pointer and length of tag list numTags.
      *tagList may be null in which case on tags are used for functionSpaceType on the Domain.  
      has to be implemented by the actual Domain adapter.  
109    */    */
110    virtual void getTagList(int functionSpaceType, int** tagList, int* numTags) const;    virtual void getTagList(int functionSpaceType, int** tagList, int* numTags) const;
111    
112      /**
113         \brief
114         sets the referenceNoList pointer and length of tag list numReferenceNo.
115      */
116      virtual void getReferenceNoList(int functionSpaceType, int** referenceNoList, int* numReferenceNo) const;
117    
118   /**   /**
119       \brief       \brief
120       Return the number of data points per sample, and the number of samples as a pair.       Return the number of data points per sample, and the number of samples as a pair.
# Line 129  class AbstractDomain { Line 133  class AbstractDomain {
133    virtual int getTagFromSampleNo(int functionSpaceType, int sampleNo) const;    virtual int getTagFromSampleNo(int functionSpaceType, int sampleNo) const;
134    /**    /**
135       \brief       \brief
136         Return the reference number of  the given sample number.
137         \param functionSpaceType Input - The function space type.
138         \param sampleNo Input - The sample number.
139      */
140      virtual int getReferenceNoFromSampleNo(int functionSpaceType, int sampleNo) const;
141      /**
142         \brief
143       assigns new location to the domain       assigns new location to the domain
144       has to be implemented by the actual Domain adapter.       has to be implemented by the actual Domain adapter.
145    */    */
# Line 194  class AbstractDomain { Line 205  class AbstractDomain {
205    
206    /**    /**
207       \brief       \brief
208       saves data arg to a OpenDX input file.       saves data arg to an OpenDX input file.
209       considered as cell centered data.       considered as cell centered data.
210       has to be implemented by the actual Domain adapter.       has to be implemented by the actual Domain adapter.
211    */    */
212    virtual void saveDX(const std::string& filename,const escript::Data& arg) const;    virtual void saveDX(const std::string& filename,const escript::Data& arg) const;
213    
214      /**
215         \brief
216         saves data arg to a VTK input file.
217         considered as cell centered data.
218         has to be implemented by the actual Domain adapter.
219      */
220      virtual void saveVTK(const std::string& filename,const escript::Data& arg) const;
221    
222    /**    /**
223       \brief       \brief
224       returns the function space representation of the type functionSpaceCode on this domain       returns the function space representation of the type functionSpaceCode on this domain

Legend:
Removed from v.109  
changed lines
  Added in v.110

  ViewVC Help
Powered by ViewVC 1.1.26