Escript
Revision_4320
Main Page
Namespaces
Classes
Files
File List
File Members
escript
src
NullDomain.h
Go to the documentation of this file.
1
2
/*****************************************************************************
3
*
4
* Copyright (c) 2003-2013 by University of Queensland
5
* http://www.uq.edu.au
6
*
7
* Primary Business: Queensland, Australia
8
* Licensed under the Open Software License version 3.0
9
* http://www.opensource.org/licenses/osl-3.0.php
10
*
11
* Development until 2012 by Earth Systems Science Computational Center (ESSCC)
12
* Development since 2012 by School of Earth Sciences
13
*
14
*****************************************************************************/
15
16
17
#if !defined escript_NullDomain_20040604_H
18
#define escript_NullDomain_20040604_H
19
#include "
system_dep.h
"
20
21
#include "
AbstractDomain.h
"
22
23
#include <string>
24
25
namespace
escript {
26
42
class
NullDomain
:
public
AbstractDomain
{
43
44
public
:
45
54
ESCRIPT_DLL_API
55
NullDomain
();
56
62
ESCRIPT_DLL_API
63
virtual
bool
isValidFunctionSpaceType
(
int
functionSpaceType)
const
;
64
69
ESCRIPT_DLL_API
70
virtual
std::string
getDescription
()
const
;
71
76
ESCRIPT_DLL_API
77
virtual
std::string
functionSpaceTypeAsString
(
int
functionSpaceType)
const
;
78
84
ESCRIPT_DLL_API
85
virtual
void
interpolateOnDomain
(
escript::Data
& target,
const
escript::Data
& source)
const
;
86
ESCRIPT_DLL_API
87
virtual
bool
probeInterpolationOnDomain
(
int
functionSpaceType_source,
int
functionSpaceType_target)
const
;
88
94
ESCRIPT_DLL_API
95
virtual
void
interpolateACross
(
escript::Data
& target,
const
escript::Data
& source)
const
;
96
ESCRIPT_DLL_API
97
virtual
bool
probeInterpolationACross
(
int
functionSpaceType_source,
const
AbstractDomain
& targetDomain,
int
functionSpaceType_target)
const
;
98
103
ESCRIPT_DLL_API
104
virtual
int
getContinuousFunctionCode
()
const
;
105
110
ESCRIPT_DLL_API
111
virtual
int
getFunctionCode
()
const
;
112
117
ESCRIPT_DLL_API
118
virtual
int
getFunctionOnBoundaryCode
()
const
;
119
124
ESCRIPT_DLL_API
125
virtual
int
getFunctionOnContactZeroCode
()
const
;
126
131
ESCRIPT_DLL_API
132
virtual
int
getFunctionOnContactOneCode
()
const
;
133
138
ESCRIPT_DLL_API
139
virtual
int
getSolutionCode
()
const
;
140
145
ESCRIPT_DLL_API
146
virtual
int
getReducedSolutionCode
()
const
;
147
152
ESCRIPT_DLL_API
153
virtual
int
getDiracDeltaFunctionsCode
()
const
;
154
161
ESCRIPT_DLL_API
162
virtual
std::pair<int,int>
getDataShape
(
int
functionSpaceCode)
const
;
163
170
ESCRIPT_DLL_API
171
virtual
int
getTagFromSampleNo
(
int
functionSpaceType,
int
sampleNo)
const
;
172
178
ESCRIPT_DLL_API
179
virtual
const
int
*
borrowSampleReferenceIDs
(
int
functionSpaceType)
const
;
180
184
ESCRIPT_DLL_API
185
virtual
int
getDim
()
const
;
186
191
ESCRIPT_DLL_API
192
virtual
bool
operator==
(
const
AbstractDomain
& other)
const
;
193
ESCRIPT_DLL_API
194
virtual
bool
operator!=
(
const
AbstractDomain
& other)
const
;
195
199
ESCRIPT_DLL_API
200
virtual
201
bool
canTag
(
int
functionSpaceCode)
const
;
202
208
ESCRIPT_DLL_API
209
virtual
int
getNumberOfTagsInUse
(
int
functionSpaceCode)
const
;
210
215
ESCRIPT_DLL_API
216
virtual
const
int
*
borrowListOfTagsInUse
(
int
functionSpaceCode)
const
;
217
218
ESCRIPT_DLL_API
219
bool
supportsContactElements
()
const
;
220
protected
:
221
222
private
:
223
224
};
225
226
}
// end of namespace
227
228
#endif
Generated on Fri Mar 15 2013 14:07:51 for Escript by
1.8.1.2