20 #include "adjoint_initial.h" 40 Real x = p(0), y = p(1);
42 return (sin(M_PI * x) * sin(M_PI * y));
52 Real x = p(0), y = p(1);
55 Number(M_PI*sin(M_PI * x) * cos(M_PI * y)));
Number adjoint_initial_value(const Point &p, const Parameters &, const std::string &, const std::string &)
This class provides the ability to map between arbitrary, user-defined strings and several data types...
void adjoint_finish_initialization()
Gradient adjoint_initial_grad(const Point &p, const Parameters &, const std::string &, const std::string &)
void adjoint_read_initial_parameters()
This class defines a vector in LIBMESH_DIM dimensional Real or Complex space.
The libMesh namespace provides an interface to certain functionality in the library.
NumberVectorValue Gradient
DIE A HORRIBLE DEATH HERE typedef LIBMESH_DEFAULT_SCALAR_TYPE Real
A Point defines a location in LIBMESH_DIM dimensional Real space.