00001 00005 class ErrorEstimator : public RefinementInd 00006 00007 { 00008 public: 00009 ErrorEstimator (const RefinementInd_prm& pm); 00010 ~ErrorEstimator () {} 00011 00012 00013 00014 00015 static void calcElmVolume (VecSimple(real)& elm_volume, const GridFE& g); 00016 00017 static void ZZ 00018 ( 00019 FieldPiWisConst& error_ind, 00020 FieldFE& u, 00021 FieldsFE& grad_u_L2_proj, 00022 VecSimple(real)& elm_volume, 00023 Field* coeff = NULL 00024 ); 00025 00026 static void ZZ 00027 ( 00028 FieldPiWisConst& error_ind, 00029 FieldFE& u, 00030 FieldsFE& grad_u_L2_proj, 00031 Field* coeff = NULL 00032 ); 00033 00034 static void ZZ 00035 ( 00036 FieldPiWisConst& error_ind, 00037 FieldFE& u, 00038 FieldsFE& grad_u_L2_proj, 00039 real tolerance, 00040 Field* coeff = NULL 00041 ); 00042 00043 virtual void evalRefInd (FieldPiWisConst& refinement_field, 00044 bool init = true); 00045 00046 CLASS_INFO 00047 VIRTUAL_CAST(ErrorEstimator) 00048 }; 00049 00050