# Can dolfin-adjoint calculate the gradient of the cost with respect to mesh points?

Asked by
Kuan Lee

Is it possible to calculate the cost with respect to changes in the shape of the domain?

For instance, if I define some shape function that alters the points on the mesh using some parameter, P.

Can I then get dolfin-adjoint to calculate dJ/dP?

## Question information

- Language:
- English Edit question

- Status:
- Solved

- Assignee:
- No assignee Edit question

- Solved by:
- Simon Funke

- Solved:

- Last query:

- Last reply:

To post a message you must log in.