~ubuntu-branches/ubuntu/utopic/dune-grid/utopic-proposed

« back to all changes in this revision

Viewing changes to dune/grid/alugrid/2d/capabilities.hh

  • Committer: Package Import Robot
  • Author(s): Ansgar Burchardt
  • Date: 2014-02-14 10:49:16 UTC
  • mfrom: (1.3.1) (5.1.4 experimental)
  • Revision ID: package-import@ubuntu.com-20140214104916-2clchnny3eu7ks4w
Tags: 2.3.0-2
InstallĀ /usr/share/dune-grid.

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
// -*- tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 2 -*-
 
2
// vi: set et ts=4 sw=2 sts=2:
1
3
#ifndef DUNE_ALU2DGRID_CAPABILITIES_HH
2
4
#define DUNE_ALU2DGRID_CAPABILITIES_HH
3
5
 
37
39
    // Capabilities for ALUSimplexGrid
38
40
    // -------------------------------
39
41
 
40
 
    /** \brief ALUSimplexGrid has only one geometry type for codim 0 entities 
41
 
    \ingroup ALUSimplexGrid
42
 
    */
 
42
    /** \brief ALUSimplexGrid has only one geometry type for codim 0 entities
 
43
       \ingroup ALUSimplexGrid
 
44
     */
43
45
    template< int dimworld >
44
46
    struct hasSingleGeometryType< ALUSimplexGrid< 2, dimworld > >
45
47
    {
49
51
 
50
52
 
51
53
    /** \brief ALUSimplexGrid has entities for all codimension
52
 
    \ingroup ALUSimplexGrid
53
 
    */
 
54
       \ingroup ALUSimplexGrid
 
55
     */
54
56
    template< int dimworld, int cdim >
55
57
    struct hasEntity< ALUSimplexGrid< 2, dimworld >, cdim >
56
58
    {
58
60
    };
59
61
 
60
62
#if ALU2DGRID_PARALLEL
61
 
    /** \brief ALUSimplexGrid is parallel 
62
 
    \ingroup ALUSimplexGrid
63
 
    */
64
 
    //- default is false 
 
63
    /** \brief ALUSimplexGrid is parallel
 
64
       \ingroup ALUSimplexGrid
 
65
     */
 
66
    //- default is false
65
67
    template< int dimworld >
66
68
    struct isParallel< ALUSimplexGrid< 2, dimworld > >
67
69
    {
71
73
 
72
74
#if ALU2DGRID_PARALLEL
73
75
    /** \brief ALUSimplexGrid can communicate
74
 
    \ingroup ALUSimplexGrid
75
 
    */
76
 
    //- default is false 
 
76
       \ingroup ALUSimplexGrid
 
77
     */
 
78
    //- default is false
77
79
    template< int dimworld >
78
80
    struct canCommunicate< ALUSimplexGrid< 2, dimworld >, 0 >
79
81
    {
82
84
#endif // #if ALU2DGRID_PARALLEL
83
85
 
84
86
    /** \brief ALUSimplexGrid has conforming level grids
85
 
    \ingroup ALUSimplexGrid
86
 
    */
 
87
       \ingroup ALUSimplexGrid
 
88
     */
87
89
    template< int dimworld >
88
90
    struct isLevelwiseConforming< ALUSimplexGrid< 2, dimworld > >
89
91
    {
91
93
    };
92
94
 
93
95
    /** \brief ALUSimplexGrid has backup and restore facilities
94
 
    \ingroup ALUSimplexGrid
95
 
    */
 
96
       \ingroup ALUSimplexGrid
 
97
     */
96
98
    template< int dimworld >
97
99
    struct hasBackupRestoreFacilities< ALUSimplexGrid< 2, dimworld > >
98
100
    {
104
106
    // Capabilities for ALUCubeGrid
105
107
    // ----------------------------
106
108
 
107
 
    /** \brief ALUCubeGrid has only one geometry type for codim 0 entities 
108
 
    \ingroup ALUCubeGrid
109
 
    */
 
109
    /** \brief ALUCubeGrid has only one geometry type for codim 0 entities
 
110
       \ingroup ALUCubeGrid
 
111
     */
110
112
    template< int wdim >
111
113
    struct hasSingleGeometryType< ALUCubeGrid< 2, wdim > >
112
114
    {
115
117
    };
116
118
 
117
119
    /** \brief ALUCubeGrid has entities for all codimension
118
 
    \ingroup ALUCubeGrid
119
 
    */
 
120
       \ingroup ALUCubeGrid
 
121
     */
120
122
    template< int wdim, int cdim >
121
123
    struct hasEntity< Dune::ALUCubeGrid< 2, wdim >, cdim >
122
124
    {
125
127
 
126
128
#if ALU2DGRID_PARALLEL
127
129
    /** \brief ALUCubeGrid is parallel
128
 
    \ingroup ALUCubeGrid
129
 
    */
130
 
    //- default is false 
 
130
       \ingroup ALUCubeGrid
 
131
     */
 
132
    //- default is false
131
133
    template< int dimworld >
132
134
    struct isParallel< ALUCubeGrid< 2, dimworld > >
133
135
    {
137
139
 
138
140
#if ALU2DGRID_PARALLEL
139
141
    /** \brief ALUCubeGrid can communicate
140
 
    \ingroup ALUCubeGrid
141
 
    */
142
 
    //- default is false 
 
142
       \ingroup ALUCubeGrid
 
143
     */
 
144
    //- default is false
143
145
    template< int dimworld >
144
146
    struct canCommunicate< ALUCubeGrid< 2, dimworld >, 0 >
145
147
    {
148
150
#endif // #if ALU2DGRID_PARALLEL
149
151
 
150
152
    /** \brief ALUCubeGrid has conforming level grids
151
 
    \ingroup ALUCubeGrid
152
 
    */
 
153
       \ingroup ALUCubeGrid
 
154
     */
153
155
    template<int wdim>
154
156
    struct isLevelwiseConforming< Dune::ALUCubeGrid< 2, wdim > >
155
157
    {
157
159
    };
158
160
 
159
161
    /** \brief ALUCubeGrid has backup and restore facilities
160
 
    \ingroup ALUCubeGrid
161
 
    */
 
162
       \ingroup ALUCubeGrid
 
163
     */
162
164
    template<int wdim>
163
165
    struct hasBackupRestoreFacilities< Dune::ALUCubeGrid< 2, wdim > >
164
166
    {
170
172
    // Capabilities for ALUConformGrid
171
173
    // -------------------------------
172
174
 
173
 
    /** \brief ALUConformGrid has only one geometry type for codim 0 entities 
174
 
    \ingroup ALUConformGrid
175
 
    */
 
175
    /** \brief ALUConformGrid has only one geometry type for codim 0 entities
 
176
       \ingroup ALUConformGrid
 
177
     */
176
178
    template< int dimworld >
177
179
    struct hasSingleGeometryType< ALUConformGrid< 2, dimworld > >
178
180
    {
181
183
    };
182
184
 
183
185
    /** \brief ALUConformGrid has entities for all codimension
184
 
    \ingroup ALUConformGrid
185
 
    */
 
186
       \ingroup ALUConformGrid
 
187
     */
186
188
    template< int dimworld, int cdim >
187
189
    struct hasEntity< ALUConformGrid< 2, dimworld >, cdim >
188
190
    {
191
193
 
192
194
#if ALU2DGRID_PARALLEL
193
195
    /** \brief ALUConformGrid is parallel
194
 
    \ingroup ALUConformGrid
195
 
    */
196
 
    //- default is false 
 
196
       \ingroup ALUConformGrid
 
197
     */
 
198
    //- default is false
197
199
    template< int dimworld >
198
200
    struct isParallel< ALUConformGrid< 2, dimworld > >
199
201
    {
203
205
 
204
206
#if ALU2DGRID_PARALLEL
205
207
    /** \brief ALUConformGrid can communicate
206
 
    \ingroup ALUConformGrid
207
 
    */
208
 
    //- default is false 
 
208
       \ingroup ALUConformGrid
 
209
     */
 
210
    //- default is false
209
211
    template< int dimworld >
210
212
    struct canCommunicate< ALUConformGrid< 2, dimworld >, 0 >
211
213
    {
214
216
#endif // #if ALU2DGRID_PARALLEL
215
217
 
216
218
    /** \brief ALUConformGrid has a conforming leaf grid
217
 
    \ingroup ALUConformGrid
218
 
    */
 
219
       \ingroup ALUConformGrid
 
220
     */
219
221
    template< int dimworld >
220
222
    struct isLeafwiseConforming< ALUConformGrid< 2, dimworld > >
221
223
    {
223
225
    };
224
226
 
225
227
    /** \brief ALUConformGrid has backup and restore facilities
226
 
    \ingroup ALUConformGrid
227
 
    */
 
228
       \ingroup ALUConformGrid
 
229
     */
228
230
    template< int dimworld >
229
231
    struct hasBackupRestoreFacilities< ALUConformGrid< 2, dimworld > >
230
232
    {
233
235
 
234
236
  } // namespace Capabilities
235
237
 
236
 
} // namespace Dune 
 
238
} // namespace Dune
237
239
 
238
240
#endif // #if HAVE_ALUGRID
239
241