#ifndef _mappedgrid
#define _mappedgrid 【相关文章:实现自己的Lisp解释器(一)】 【扩展阅读:“雕塑”项目定单的援助者风险分析】 【扩展信息:如何使 FlashGet "正】//
// who to blame: geoff chesshire //#include "genericgrid.h"
#include "mappedgridfunction.h" #include "mappingrc.h" #include "box.h" #include "gcmath.h"// #include "databaseaccessfunctions.h" // cannot include this here.
int initializemappinglist(); int destructmappinglist();class amr_parentchildsiblinginfo;
//
// class for reference-counted data. // mappedgrid类的核心数据,被单独的作为一个类管理 class mappedgriddata: public genericgriddata { public:// 作为数据更新操作的计算选项的枚举变量及其一些bit组合
enum { themask = endthegenericgriddata, // bit 0 theinversevertexderivative = themask << 1, // bit 1 theinversecenterderivative = theinversevertexderivative << 1, // bit 2 thevertex = theinversecenterderivative << 1, // bit 3 thecenter = thevertex << 1, // bit 4 thecorner = thecenter << 1, // bit 5 thevertexderivative = thecorner << 1, // bit 6 thecenterderivative = thevertexderivative << 1, // bit 7 thevertexjacobian = thecenterderivative << 1, // bit 8 thecenterjacobian = thevertexjacobian << 1, // bit 9 thecellvolume = thecenterjacobian << 1, // bit 10 thecenternormal = thecellvolume << 1, // bit 11 thecenterarea = thecenternormal << 1, // bit 12 thefacenormal = thecenterarea << 1, // bit 13 thefacearea = thefacenormal << 1, // bit 14 thevertexboundarynormal = thefacearea << 1, // bit 15 thecenterboundarynormal = thevertexboundarynormal << 1, // bit 16 thecenterboundarytangent = thecenterboundarynormal << 1, // bit 17 theminmaxedgelength = thecenterboundarytangent << 1, // bit 18 theboundingbox = theminmaxedgelength << 1, // bit 19 endthemappedgriddata = theboundingbox << 1, // bit 20 theusualsuspects = genericgriddata::theusualsuspects | themask | thevertex | thecenter | thevertexderivative, everything = genericgriddata::everything | themask | theinversevertexderivative | theinversecenterderivative | thevertex | thecenter | thecorner | thevertexderivative | thecenterderivative | thevertexjacobian | thecenterjacobian | thecellvolume | thecenternormal | thecenterarea | thefacenormal | thefacearea | thevertexboundarynormal | thecenterboundarynormal | thecenterboundarytangent ... 下一页