next up previous contents index
Next: Subroutine Graphene_Elastic Up: Module elasticity_module Previous: Uses   Contents   Index

Interface calc_elastic_constants


\begin{boxedminipage}{\textwidth}
\begin{verbatim}call calc_elastic_constant...
...s_str, &
c,c0,relax_initial,return_relaxed])\end{verbatim}
\end{boxedminipage}

this -- type(MetaPotential), intent(inout)

at -- type(Atoms), intent(inout)

Atoms object for which to compute $C_{ij}$

fd -- real(dp), intent(in), optional

Finite strain to apply. Default $10^{-3}$.

args_str -- character(len=*), intent(in), optional

Optional args_str to pass to minim

c -- real(dp), intent(out), optional, dimension(6,6)

Elastic constants (with relaxation)

c0 -- real(dp), intent(out), optional, dimension(6,6)

Elastic constants (without relaxation)

relax_initial -- logical, optional

Should the initial cell be relaxed?

return_relaxed -- logical, optional

If true, overwrite at with relaxed positions and lattice (default false)

Graphene_Elastic subroutine

gabor 2009-06-30