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

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

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1811 - (show annotations)
Thu Sep 25 23:11:13 2008 UTC (10 years, 3 months ago) by ksteube
File size: 3602 byte(s)
Copyright updated in all files

1
2 /*******************************************************
3 *
4 * Copyright (c) 2003-2008 by University of Queensland
5 * Earth Systems Science Computational Center (ESSCC)
6 * http://www.uq.edu.au/esscc
7 *
8 * Primary Business: Queensland, Australia
9 * Licensed under the Open Software License version 3.0
10 * http://www.opensource.org/licenses/osl-3.0.php
11 *
12 *******************************************************/
13
14
15 #include "FunctionSpaceFactory.h"
16 #include "AbstractContinuousDomain.h"
17
18 namespace escript {
19
20 FunctionSpace continuousFunction(const AbstractDomain& domain)
21 {
22 const AbstractContinuousDomain& temp=AbstractContinuousDomain::asAbstractContinuousDomain(domain);
23 return FunctionSpace(domain,temp.getContinuousFunctionCode());
24 }
25
26 FunctionSpace reducedContinuousFunction(const AbstractDomain& domain)
27 {
28 const AbstractContinuousDomain& temp=AbstractContinuousDomain::asAbstractContinuousDomain(domain);
29 return FunctionSpace(domain,temp.getReducedContinuousFunctionCode());
30 }
31
32 FunctionSpace function(const AbstractDomain& domain)
33 {
34 const AbstractContinuousDomain& temp=AbstractContinuousDomain::asAbstractContinuousDomain(domain);
35 return FunctionSpace(domain,temp.getFunctionCode());
36 }
37
38 FunctionSpace reducedFunction(const AbstractDomain& domain)
39 {
40 const AbstractContinuousDomain& temp=AbstractContinuousDomain::asAbstractContinuousDomain(domain);
41 return FunctionSpace(domain,temp.getReducedFunctionCode());
42 }
43
44 FunctionSpace functionOnBoundary(const AbstractDomain& domain)
45 {
46 const AbstractContinuousDomain& temp=AbstractContinuousDomain::asAbstractContinuousDomain(domain);
47 return FunctionSpace(domain,temp.getFunctionOnBoundaryCode());
48 }
49
50 FunctionSpace reducedFunctionOnBoundary(const AbstractDomain& domain)
51 {
52 const AbstractContinuousDomain& temp=AbstractContinuousDomain::asAbstractContinuousDomain(domain);
53 return FunctionSpace(domain,temp.getReducedFunctionOnBoundaryCode());
54 }
55
56 FunctionSpace functionOnContactZero(const AbstractDomain& domain)
57 {
58 const AbstractContinuousDomain& temp=AbstractContinuousDomain::asAbstractContinuousDomain(domain);
59 return FunctionSpace(domain,temp.getFunctionOnContactZeroCode());
60 }
61
62 FunctionSpace reducedFunctionOnContactZero(const AbstractDomain& domain)
63 {
64 const AbstractContinuousDomain& temp=AbstractContinuousDomain::asAbstractContinuousDomain(domain);
65 return FunctionSpace(domain,temp.getReducedFunctionOnContactZeroCode());
66 }
67
68 FunctionSpace functionOnContactOne(const AbstractDomain& domain)
69 {
70 const AbstractContinuousDomain& temp=AbstractContinuousDomain::asAbstractContinuousDomain(domain);
71 return FunctionSpace(domain,temp.getFunctionOnContactOneCode());
72 }
73
74 FunctionSpace reducedFunctionOnContactOne(const AbstractDomain& domain)
75 {
76 const AbstractContinuousDomain& temp=AbstractContinuousDomain::asAbstractContinuousDomain(domain);
77 return FunctionSpace(domain,temp.getReducedFunctionOnContactOneCode());
78 }
79
80 FunctionSpace solution(const AbstractDomain& domain)
81 {
82 const AbstractContinuousDomain& temp=AbstractContinuousDomain::asAbstractContinuousDomain(domain);
83 return FunctionSpace(domain,temp.getSolutionCode());
84 }
85
86 FunctionSpace reducedSolution(const AbstractDomain& domain)
87 {
88 const AbstractContinuousDomain& temp=AbstractContinuousDomain::asAbstractContinuousDomain(domain);
89 return FunctionSpace(domain,temp.getReducedSolutionCode());
90 }
91
92 FunctionSpace diracDeltaFunction(const AbstractDomain& domain)
93 {
94 const AbstractContinuousDomain& temp=AbstractContinuousDomain::asAbstractContinuousDomain(domain);
95 return FunctionSpace(domain,temp.getDiracDeltaFunctionCode());
96 }
97
98 } // end of namespace

Properties

Name Value
svn:eol-style native
svn:keywords Author Date Id Revision

  ViewVC Help
Powered by ViewVC 1.1.26