ang_cos_set Subroutine

private subroutine ang_cos_set(params, k)

Setter for angular cosine interaction.

   U(theta) = k*(1 - cos theta),
   where theta is the complementary angle between bonds i & (i+1).

User-set parameters:

params(1) = k

Arguments

Type IntentOptional AttributesName
real(kind=rp), intent(inout), dimension(:):: params
real(kind=rp), intent(in), optional :: k

Contents

None