blob: 9e10496e7399f87030ff6aaefa6e305d43dcad10 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
|
/*
Code objects with attibutes for behavior on instantiation
For example
Array
fast indexing
slow copy
button
texturemapped
*/
#ifndef __AMRUCDFILEREADER_HH_
#define __AMRUCDFILEREADER_HH_
#include <IO.hh>
#include "AmrFileReader.hh"
#include "AmrUcdGridHierarchy.hh"
/*
It appears that AmrUcdGrid should not be an
external data structure.
It should be hidden inside of the AmrGridHierarchy
*/
class AmrUcdFileReader : public AmrFileReader {
protected:
AmrUcdGridHierarchy genUCD;
// feed the AmrUcdGrid's to the hierarchy
// but reclaimation of those grids is questionable.
// However, the amrgridhierarchy should accept a
// reference to AmrGrid as input.
public:
AmrUcdFileReader(IObase &f):AmrFileReader(f){
}
void getUcd(FlexArray<AmrNode*> &nodes, FlexArray<int> &cells);
};
#endif
|