25 #ifndef GRINS_ERROR_ESTIMATOR_FACTORY_BASE_H 
   26 #define GRINS_ERROR_ESTIMATOR_FACTORY_BASE_H 
   34 #include "libmesh/error_estimator.h" 
   75     virtual libMesh::UniquePtr<libMesh::ErrorEstimator> 
create();
 
   83       libmesh_error_msg(
"ERROR: must call set_getpot() before building ErrorEstimator!");
 
   85       libmesh_error_msg(
"ERROR: must call set_system() before building ErrorEstimator!");
 
   87       libmesh_error_msg(
"ERROR: must call set_estimator_options() before building ErrorEstimator!");
 
   89     libMesh::UniquePtr<libMesh::ErrorEstimator>
 
   92     libmesh_assert(new_estimator);
 
   99 #endif // GRINS_ERROR_ESTIMATOR_FACTORY_BASE_H 
static const ErrorEstimatorOptions * _estimator_options
Cache pointer to system. 
 
static void set_estimator_options(const ErrorEstimatorOptions &estimator_options)
 
Builds VariableBase objects. 
 
virtual libMesh::UniquePtr< libMesh::ErrorEstimator > build_error_estimator(const GetPot &input, MultiphysicsSystem &system, const ErrorEstimatorOptions &estimator_options)=0
Subclasses implement this method for building the ErrorEstimator object. 
 
~ErrorEstimatorFactoryBase()
 
static const GetPot * _input
We store only a raw pointer here because we can't make a copy. 
 
virtual libMesh::UniquePtr< libMesh::ErrorEstimator > create()
 
static void set_system(MultiphysicsSystem &system)
 
Container for ErrorEstimator options. 
 
Interface with libMesh for solving Multiphysics problems. 
 
ErrorEstimatorFactoryBase(const std::string &estimator_name)
 
Abstract factory that provides availability of GetPot. 
 
static MultiphysicsSystem * _system
Cache pointer to system.