Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
lisa_julia.nebel_at_tu-dresden.de
dune-elasticity
Commits
4ffaec05
Commit
4ffaec05
authored
Jan 16, 2014
by
akbib
Committed by
akbib
Jan 16, 2014
Browse files
Replace input parameter references by pointer
[[Imported from SVN: r12668]]
parent
cdac3f47
Changes
1
Hide whitespace changes
Inline
Side-by-side
dune/elasticity/materials/material.hh
View file @
4ffaec05
...
...
@@ -41,15 +41,14 @@ class Material
basis_
=
&
basis
;
}
//! 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
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
virtual
LocalHessian
&
secondDerivative
(
const
GridFunction
&
displace
)
=
0
;
virtual
LocalHessian
&
secondDerivative
(
GridFunction
*
displace
)
=
0
;
//! Return the global basis
const
Basis
&
basis
()
{
return
*
basis_
;}
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment