| 1322 | } |
| 1323 | |
| 1324 | Array<int> GridFunctionCoefficientFunction::Dimensions() const |
| 1325 | { |
| 1326 | for (auto vb : { VOL, BND, BBND }) |
| 1327 | if (diffop[vb]) |
| 1328 | return Array<int> (diffop[vb]->Dimensions()); |
| 1329 | /* |
| 1330 | if (diffop) |
| 1331 | return Array<int> (diffop->Dimensions()); |
| 1332 | else if (trace_diffop) |
| 1333 | return Array<int> (trace_diffop->Dimensions()); |
| 1334 | else if (ttrace_diffop) |
| 1335 | return Array<int> (ttrace_diffop->Dimensions()); |
| 1336 | */ |
| 1337 | // is it possible ?? |
| 1338 | return Array<int> ( { Dimension() } ); |
| 1339 | /* |
| 1340 | int d = Dimension(); |
| 1341 | if (diffop) |
| 1342 | { |
| 1343 | int spacedim = gf->GetFESpace()->GetDimension(); |
| 1344 | if (spacedim > 1) |
| 1345 | return Array<int> ( { spacedim, d/spacedim } ); |
| 1346 | } |
| 1347 | return Array<int>( { d } ); |
| 1348 | */ |
| 1349 | } |
| 1350 | |
| 1351 | |
| 1352 |
no test coverage detected