18 #ifndef LIBMESH_ZERO_FUNCTION_H 19 #define LIBMESH_ZERO_FUNCTION_H 35 template <
typename Output=Number>
50 virtual std::unique_ptr<FunctionBase<Output>>
clone()
const override 52 return libmesh_make_unique<ZeroFunction<Output>>();
58 #endif // LIBMESH_ZERO_FUNCTION_H
ConstFunction that simply returns 0.
virtual ~ZeroFunction()=default
ZeroFunction & operator=(const ZeroFunction &)=default
virtual std::unique_ptr< FunctionBase< Output > > clone() const override
Function that returns a single value that never changes.