Skip to content
Snippets Groups Projects
Commit 4ffaec05 authored by akbib's avatar akbib Committed by akbib
Browse files

Replace input parameter references by pointer

[[Imported from SVN: r12668]]
parent cdac3f47
No related branches found
No related tags found
No related merge requests found
...@@ -41,15 +41,14 @@ class Material ...@@ -41,15 +41,14 @@ class Material
basis_ = &basis; basis_ = &basis;
} }
//! Evaluate the strain energy //! Evaluate the strain energy
virtual ReturnType energy(const GridFunction& displace) = 0; virtual ReturnType energy(const GridFunction* displace) = 0;
//! Return the local assembler of the first derivative of the strain energy at some displacement //! Return the local assembler of the first derivative of the strain energy at some displacement
virtual LocalLinearization& firstDerivative(const GridFunction& displace) = 0; virtual LocalLinearization& firstDerivative(GridFunction* displace) = 0;
//! Return the local assembler of the second derivative of the strain energy at some displacement //! Return the local assembler of the second derivative of the strain energy at some displacement
virtual LocalHessian& secondDerivative(const GridFunction& displace) = 0; virtual LocalHessian& secondDerivative(GridFunction* displace) = 0;
//! Return the global basis //! Return the global basis
const Basis& basis() {return *basis_;} const Basis& basis() {return *basis_;}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment