/[escript]/trunk/escript/src/FunctionSpaceFactory.cpp
ViewVC logotype

Diff of /trunk/escript/src/FunctionSpaceFactory.cpp

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

revision 1059 by gross, Fri Mar 23 11:01:53 2007 UTC revision 1312 by ksteube, Mon Sep 24 06:18:44 2007 UTC
# Line 1  Line 1 
1  /*  
2   ************************************************************  /* $Id$ */
3   *          Copyright 2006 by ACcESS MNRF                   *  
4   *                                                          *  /*******************************************************
5   *              http://www.access.edu.au                    *   *
6   *       Primary Business: Queensland, Australia            *   *           Copyright 2003-2007 by ACceSS MNRF
7   *  Licensed under the Open Software License version 3.0    *   *       Copyright 2007 by University of Queensland
8   *     http://www.opensource.org/licenses/osl-3.0.php       *   *
9   *                                                          *   *                http://esscc.uq.edu.au
10   ************************************************************   *        Primary Business: Queensland, Australia
11  */   *  Licensed under the Open Software License version 3.0
12     *     http://www.opensource.org/licenses/osl-3.0.php
13     *
14     *******************************************************/
15    
16  #include "FunctionSpaceFactory.h"  #include "FunctionSpaceFactory.h"
17  #include "AbstractContinuousDomain.h"  #include "AbstractContinuousDomain.h"
# Line 20  FunctionSpace continuousFunction(const A Line 23  FunctionSpace continuousFunction(const A
23    const AbstractContinuousDomain& temp=AbstractContinuousDomain::asAbstractContinuousDomain(domain);    const AbstractContinuousDomain& temp=AbstractContinuousDomain::asAbstractContinuousDomain(domain);
24    return FunctionSpace(domain,temp.getContinuousFunctionCode());    return FunctionSpace(domain,temp.getContinuousFunctionCode());
25  }  }
26    
27    FunctionSpace reducedContinuousFunction(const AbstractDomain& domain)
28    {
29      const AbstractContinuousDomain& temp=AbstractContinuousDomain::asAbstractContinuousDomain(domain);
30      return FunctionSpace(domain,temp.getReducedContinuousFunctionCode());
31    }
32    
33  FunctionSpace function(const AbstractDomain& domain)  FunctionSpace function(const AbstractDomain& domain)
34  {  {
# Line 27  FunctionSpace function(const AbstractDom Line 36  FunctionSpace function(const AbstractDom
36    return FunctionSpace(domain,temp.getFunctionCode());    return FunctionSpace(domain,temp.getFunctionCode());
37  }  }
38    
39  FunctionSpace reducedfunction(const AbstractDomain& domain)  FunctionSpace reducedFunction(const AbstractDomain& domain)
40  {  {
41    const AbstractContinuousDomain& temp=AbstractContinuousDomain::asAbstractContinuousDomain(domain);    const AbstractContinuousDomain& temp=AbstractContinuousDomain::asAbstractContinuousDomain(domain);
42    return FunctionSpace(domain,temp.getReducedFunctionCode());    return FunctionSpace(domain,temp.getReducedFunctionCode());
# Line 39  FunctionSpace functionOnBoundary(const A Line 48  FunctionSpace functionOnBoundary(const A
48    return FunctionSpace(domain,temp.getFunctionOnBoundaryCode());    return FunctionSpace(domain,temp.getFunctionOnBoundaryCode());
49  }  }
50    
51  FunctionSpace reducedfunctionOnBoundary(const AbstractDomain& domain)  FunctionSpace reducedFunctionOnBoundary(const AbstractDomain& domain)
52  {  {
53    const AbstractContinuousDomain& temp=AbstractContinuousDomain::asAbstractContinuousDomain(domain);    const AbstractContinuousDomain& temp=AbstractContinuousDomain::asAbstractContinuousDomain(domain);
54    return FunctionSpace(domain,temp.getReducedFunctionOnBoundaryCode());    return FunctionSpace(domain,temp.getReducedFunctionOnBoundaryCode());
# Line 51  FunctionSpace functionOnContactZero(cons Line 60  FunctionSpace functionOnContactZero(cons
60    return FunctionSpace(domain,temp.getFunctionOnContactZeroCode());    return FunctionSpace(domain,temp.getFunctionOnContactZeroCode());
61  }  }
62    
63  FunctionSpace reducedfunctionOnContactZero(const AbstractDomain& domain)  FunctionSpace reducedFunctionOnContactZero(const AbstractDomain& domain)
64  {  {
65    const AbstractContinuousDomain& temp=AbstractContinuousDomain::asAbstractContinuousDomain(domain);    const AbstractContinuousDomain& temp=AbstractContinuousDomain::asAbstractContinuousDomain(domain);
66    return FunctionSpace(domain,temp.getReducedFunctionOnContactZeroCode());    return FunctionSpace(domain,temp.getReducedFunctionOnContactZeroCode());
# Line 63  FunctionSpace functionOnContactOne(const Line 72  FunctionSpace functionOnContactOne(const
72    return FunctionSpace(domain,temp.getFunctionOnContactOneCode());    return FunctionSpace(domain,temp.getFunctionOnContactOneCode());
73  }  }
74    
75  FunctionSpace reducedfunctionOnContactOne(const AbstractDomain& domain)  FunctionSpace reducedFunctionOnContactOne(const AbstractDomain& domain)
76  {  {
77    const AbstractContinuousDomain& temp=AbstractContinuousDomain::asAbstractContinuousDomain(domain);    const AbstractContinuousDomain& temp=AbstractContinuousDomain::asAbstractContinuousDomain(domain);
78    return FunctionSpace(domain,temp.getReducedFunctionOnContactOneCode());    return FunctionSpace(domain,temp.getReducedFunctionOnContactOneCode());

Legend:
Removed from v.1059  
changed lines
  Added in v.1312

  ViewVC Help
Powered by ViewVC 1.1.26