Go to the documentation of this file.00001
00002
00003
00004
00005
00006
00007
00008 #ifndef SPR_H
00009 #define SPR_H
00010
00015 #include "apf.h"
00016 #include "apfNew.h"
00017 #include "apfDynamicVector.h"
00018 #include "apfDynamicMatrix.h"
00019
00023 namespace spr {
00024
00031 apf::Field* getGradIPField(apf::Field* f,
00032 const char* name,
00033 int order);
00034
00038 apf::Field* recoverField(apf::Field* ip_field);
00039
00046 apf::Field* getSPRSizeField(apf::Field* f, double adapt_ratio);
00047
00055 apf::Field* getTargetSPRSizeField(
00056 apf::Field* f,
00057 size_t t,
00058 double alpha=0.25,
00059 double beta=2.0);
00060
00061 }
00062
00063 #endif