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

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

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

trunk/esys2/escript/src/Data/FunctionSpace.h revision 117 by jgs, Fri Apr 1 05:48:57 2005 UTC trunk/escript/src/FunctionSpace.h revision 615 by elspeth, Wed Mar 22 02:12:00 2006 UTC
# Line 1  Line 1 
1  /*  /*
2   ******************************************************************************   ************************************************************
3   *                                                                            *   *          Copyright 2006 by ACcESS MNRF                   *
4   *       COPYRIGHT  ACcESS 2004 -  All Rights Reserved                        *   *                                                          *
5   *                                                                            *   *              http://www.access.edu.au                    *
6   * This software is the property of ACcESS. No part of this code              *   *       Primary Business: Queensland, Australia            *
7   * may be copied in any form or by any means without the expressed written    *   *  Licensed under the Open Software License version 3.0    *
8   * consent of ACcESS.  Copying, use or modification of this software          *   *     http://www.opensource.org/licenses/osl-3.0.php       *
9   * by any unauthorised person is illegal unless that person has a software    *   *                                                          *
10   * license agreement with ACcESS.                                             *   ************************************************************
  *                                                                            *  
  ******************************************************************************  
11  */  */
12    
13  #if !defined escript_FunctionSpace_20040323_H  #if !defined escript_FunctionSpace_20040323_H
14  #define escript_FunctionSpace_20040323_H  #define escript_FunctionSpace_20040323_H
15    
16  #include "escript/Data/AbstractDomain.h"  #include "AbstractDomain.h"
17  #include "escript/Data/NullDomain.h"  #include "NullDomain.h"
18    
19  #include <string>  #include <string>
20    
# Line 89  class FunctionSpace { Line 87  class FunctionSpace {
87    /**    /**
88     \brief     \brief
89     Assignment operator.     Assignment operator.
90     NOTE: Assignment just copies the domain object pointer     NOTE: Assignment copies the domain object pointer
91     as this object is managed externally to this class.     as this object is managed externally to this class.
92    */    */
93    FunctionSpace&    FunctionSpace&
# Line 130  class FunctionSpace { Line 128  class FunctionSpace {
128    
129    /**    /**
130     \brief     \brief
131     Return the reference nomber associated with the given sample number.     Return the tag associated with the given data-point number.
132      */
133      int
134      getTagFromDataPointNo(int dataPointNo) const;
135    
136      /**
137       \brief
138       Return the reference number associated with the given sample number.
139    */    */
140    int    int
141    getReferenceNoFromSampleNo(int sampleNo) const;    getReferenceNoFromSampleNo(int sampleNo) const;
142    
143    /**    /**
144     \brief     \brief
145     Return the location of the data points.     Return the spatial locations of the data points.
146    */    */
147    escript::Data    escript::Data
148    getX() const;    getX() const;
149      
150    /**    /**
151     \brief     \brief
152     Return the surface normal field.     Return the surface normal field.
# Line 175  class FunctionSpace { Line 180  class FunctionSpace {
180    getNumDPPSample() const {    getNumDPPSample() const {
181       return getNumDataPointsPerSample();       return getNumDataPointsPerSample();
182    }    }
183    
184    inline    inline
185    int    int
186    getNumDataPointsPerSample() const {    getNumDataPointsPerSample() const {
# Line 202  class FunctionSpace { Line 208  class FunctionSpace {
208    //    //
209    // function space domain    // function space domain
210    const AbstractDomain*  m_domain;    const AbstractDomain*  m_domain;
   //  
211    
212      //
213    // function space type code.    // function space type code.
214    int m_functionSpaceType;    int m_functionSpaceType;
215    

Legend:
Removed from v.117  
changed lines
  Added in v.615

  ViewVC Help
Powered by ViewVC 1.1.26