18 #ifndef LIBMESH_CONST_FEM_FUNCTION_H 19 #define LIBMESH_CONST_FEM_FUNCTION_H 43 template <
typename Output=Number>
58 virtual std::unique_ptr<FEMFunctionBase<Output>>
clone ()
const 59 {
return libmesh_make_unique<ConstFEMFunction>(*this); }
71 for (
unsigned int i = 0; i < output.
size(); i++)
82 #endif // LIBMESH_CONST_FEM_FUNCTION_H virtual unsigned int size() const override
virtual Output operator()(const FEMContext &, const Point &, const Real=0.)
ConstFEMFunction(const Output c)
virtual std::unique_ptr< FEMFunctionBase< Output > > clone() const
DIE A HORRIBLE DEATH HERE typedef LIBMESH_DEFAULT_SCALAR_TYPE Real
virtual ~ConstFEMFunction()=default
FEMFunction that returns a single value.
ConstFEMFunction & operator=(const ConstFEMFunction &)=default
A geometric point in (x,y,z) space.