diff options
author | tradke <tradke@21a6bef8-4479-4f54-8f8d-0db94a2919ef> | 2000-09-13 13:49:13 +0000 |
---|---|---|
committer | tradke <tradke@21a6bef8-4479-4f54-8f8d-0db94a2919ef> | 2000-09-13 13:49:13 +0000 |
commit | 8fe367ecf2cbda79960a68a052fdb84916427c0e (patch) | |
tree | 45c017765ab7f0eb6caf97540fc76ffd3bffba59 /src/AmrUcdFileReader.hh | |
parent | c490022d592551af7c29bc960cbbc09daf45972d (diff) |
Importing latest stuff from development repository
git-svn-id: http://svn.cactuscode.org/arrangements/CactusExternal/FlexIO/trunk@2 21a6bef8-4479-4f54-8f8d-0db94a2919ef
Diffstat (limited to 'src/AmrUcdFileReader.hh')
-rw-r--r-- | src/AmrUcdFileReader.hh | 38 |
1 files changed, 38 insertions, 0 deletions
diff --git a/src/AmrUcdFileReader.hh b/src/AmrUcdFileReader.hh new file mode 100644 index 0000000..9e10496 --- /dev/null +++ b/src/AmrUcdFileReader.hh @@ -0,0 +1,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 |