libMesh
L-qoi.h
Go to the documentation of this file.
1 
2 #ifndef L_QOI_H
3 #define L_QOI_H
4 
5 #include "libmesh/libmesh_common.h"
6 #include "libmesh/elem.h"
7 #include "libmesh/fe_base.h"
8 #include "libmesh/fem_context.h"
9 #include "libmesh/point.h"
10 #include "libmesh/quadrature.h"
11 #include "libmesh/diff_qoi.h"
12 #include "libmesh/auto_ptr.h" // libmesh_make_unique
13 
14 // Bring in everything from the libMesh namespace
15 using namespace libMesh;
16 
18 {
19 public:
21  virtual ~LaplaceQoI(){}
22 
23  virtual void init_qoi(std::vector<Number> & sys_qoi);
24 
25  // Context initialization
26  virtual void init_context (DiffContext & context);
27 
28  virtual void postprocess() {}
29 
30  virtual void element_qoi_derivative(DiffContext & context, const QoISet & qois);
31 
32  virtual void element_qoi (DiffContext & context, const QoISet & qois);
33 
34  virtual std::unique_ptr<DifferentiableQoI> clone()
35  {
36  return libmesh_make_unique<LaplaceQoI>(*this);
37  }
38 
39 };
40 #endif // L_QOI_H
LaplaceQoI::postprocess
virtual void postprocess()
Definition: L-qoi.h:28
LaplaceQoI::LaplaceQoI
LaplaceQoI()
Definition: L-qoi.h:20
libMesh
The libMesh namespace provides an interface to certain functionality in the library.
Definition: factoryfunction.C:55
LaplaceQoI::clone
virtual std::unique_ptr< DifferentiableQoI > clone()
Copy of this object.
Definition: L-qoi.h:34
LaplaceQoI
Definition: L-qoi.h:17
libMesh::DifferentiableQoI
This class provides a specific system class.
Definition: diff_qoi.h:52
libMesh::QoISet
Data structure for specifying which Quantities of Interest should be calculated in an adjoint or a pa...
Definition: qoi_set.h:45
libMesh::DiffContext
This class provides all data required for a physics package (e.g.
Definition: diff_context.h:55
LaplaceQoI::~LaplaceQoI
virtual ~LaplaceQoI()
Definition: L-qoi.h:21