GRINS-0.7.0
List of all members | Public Member Functions | Protected Member Functions
GRINS::AdjointRefinementErrorEstimatorFactory Class Reference

#include <adjoint_error_estimator_factories.h>

Inheritance diagram for GRINS::AdjointRefinementErrorEstimatorFactory:
Inheritance graph
[legend]
Collaboration diagram for GRINS::AdjointRefinementErrorEstimatorFactory:
Collaboration graph
[legend]

Public Member Functions

 AdjointRefinementErrorEstimatorFactory (const std::string &estimator_name)
 
 ~AdjointRefinementErrorEstimatorFactory ()
 
- Public Member Functions inherited from GRINS::AdjointErrorEstimatorFactoryBase< libMesh::AdjointRefinementEstimator >
 AdjointErrorEstimatorFactoryBase (const std::string &estimator_name)
 
 ~AdjointErrorEstimatorFactoryBase ()
 
- Public Member Functions inherited from GRINS::ErrorEstimatorFactoryBase
 ErrorEstimatorFactoryBase (const std::string &estimator_name)
 
 ~ErrorEstimatorFactoryBase ()
 
- Public Member Functions inherited from GRINS::FactoryWithGetPot< libMesh::ErrorEstimator >
 FactoryWithGetPot (const std::string &name)
 
 ~FactoryWithGetPot ()
 

Protected Member Functions

virtual void set_adjoint_estimator_options (const GetPot &input, const ErrorEstimatorOptions &estimator_options, libMesh::AdjointRefinementEstimator &estimator)
 
- Protected Member Functions inherited from GRINS::AdjointErrorEstimatorFactoryBase< libMesh::AdjointRefinementEstimator >
virtual libMesh::UniquePtr< libMesh::ErrorEstimator > build_error_estimator (const GetPot &input, MultiphysicsSystem &system, const ErrorEstimatorOptions &estimator_options)
 Subclasses implement this method for building the ErrorEstimator object. More...
 

Additional Inherited Members

- Static Public Member Functions inherited from GRINS::ErrorEstimatorFactoryBase
static void set_system (MultiphysicsSystem &system)
 
static void set_estimator_options (const ErrorEstimatorOptions &estimator_options)
 
- Static Public Member Functions inherited from GRINS::FactoryWithGetPot< libMesh::ErrorEstimator >
static void set_getpot (const GetPot &input)
 
- Static Protected Attributes inherited from GRINS::ErrorEstimatorFactoryBase
static MultiphysicsSystem_system = NULL
 Cache pointer to system. More...
 
static const ErrorEstimatorOptions_estimator_options = NULL
 Cache pointer to system. More...
 
- Static Protected Attributes inherited from GRINS::FactoryWithGetPot< libMesh::ErrorEstimator >
static const GetPot * _input
 We store only a raw pointer here because we can't make a copy. More...
 

Detailed Description

Definition at line 93 of file adjoint_error_estimator_factories.h.

Constructor & Destructor Documentation

GRINS::AdjointRefinementErrorEstimatorFactory::AdjointRefinementErrorEstimatorFactory ( const std::string &  estimator_name)
inline

Definition at line 97 of file adjoint_error_estimator_factories.h.

98  : AdjointErrorEstimatorFactoryBase<libMesh::AdjointRefinementEstimator>(estimator_name)
99  {}
GRINS::AdjointRefinementErrorEstimatorFactory::~AdjointRefinementErrorEstimatorFactory ( )
inline

Definition at line 101 of file adjoint_error_estimator_factories.h.

101 {};

Member Function Documentation

void GRINS::AdjointRefinementErrorEstimatorFactory::set_adjoint_estimator_options ( const GetPot &  input,
const ErrorEstimatorOptions estimator_options,
libMesh::AdjointRefinementEstimator &  estimator 
)
protectedvirtual

Implements GRINS::AdjointErrorEstimatorFactoryBase< libMesh::AdjointRefinementEstimator >.

Definition at line 56 of file adjoint_error_estimator_factories.C.

References GRINS::ErrorEstimatorOptions::n_adjoint_h_refinements(), and GRINS::ErrorEstimatorOptions::n_adjoint_p_refinements().

59  {
60  estimator.number_h_refinements = estimator_options.n_adjoint_h_refinements();
61  estimator.number_p_refinements = estimator_options.n_adjoint_p_refinements();
62  }

The documentation for this class was generated from the following files:

Generated on Thu Jun 2 2016 21:52:30 for GRINS-0.7.0 by  doxygen 1.8.10