30 #include "libmesh/getpot.h"
31 #include "libmesh/fem_system.h"
32 #include "libmesh/quadrature.h"
88 libMesh::Number& sys_qoi,
89 libMesh::Number& local_qoi )
91 communicator.sum(local_qoi);
109 out <<
"==========================================================" << std::endl;
112 << std::setprecision(16)
116 out <<
"==========================================================" << std::endl;
libMesh::Number _qoi_value
virtual void element_qoi_derivative(AssemblyContext &context, const unsigned int qoi_index)
Compute the qoi derivative with respect to the solution on element interiors.
virtual void init(const GetPot &input, const MultiphysicsSystem &system)
Method to allow QoI to cache any system information needed for QoI calculation, for example...
QoIBase(const std::string &qoi_name)
virtual void init_context(AssemblyContext &context)
virtual void side_qoi_derivative(AssemblyContext &context, const unsigned int qoi_index)
Compute the qoi derivative with respect to the solution on the domain boundary.
ParameterUser base class. Utility methods for subclasses.
Interface with libMesh for solving Multiphysics problems.
virtual void element_qoi(AssemblyContext &context, const unsigned int qoi_index)
Compute the qoi value for element interiors.
virtual void output_qoi(std::ostream &out) const
Basic output for computed QoI's.
virtual void side_qoi(AssemblyContext &context, const unsigned int qoi_index)
Compute the qoi value on the domain boundary.
virtual void thread_join(libMesh::Number &qoi, const libMesh::Number &other_qoi)
Call the operation to accumulate this QoI from multiple threads.
virtual void parallel_op(const libMesh::Parallel::Communicator &communicator, libMesh::Number &sys_qoi, libMesh::Number &local_qoi)
Call the parallel operation for this QoI and cache the value.