update_coordinates Subroutine

public subroutine update_coordinates(sys_obj, new_c)

Uses

  • proc~~update_coordinates~~UsesGraph proc~update_coordinates update_coordinates module~mod_link_atom mod_link_atom proc~update_coordinates->module~mod_link_atom module~mod_memory mod_memory proc~update_coordinates->module~mod_memory module~mod_link_atom->module~mod_memory module~mod_topology mod_topology module~mod_link_atom->module~mod_topology module~mod_io mod_io module~mod_link_atom->module~mod_io module~mod_constants mod_constants module~mod_link_atom->module~mod_constants module~mod_nonbonded mod_nonbonded module~mod_link_atom->module~mod_nonbonded module~mod_bonded mod_bonded module~mod_link_atom->module~mod_bonded module~mod_utils mod_utils module~mod_link_atom->module~mod_utils module~mod_memory->module~mod_io module~mod_memory->module~mod_constants iso_c_binding iso_c_binding module~mod_memory->iso_c_binding module~mod_topology->module~mod_memory module~mod_adjacency_mat mod_adjacency_mat module~mod_topology->module~mod_adjacency_mat module~mod_io->module~mod_constants module~mod_constants->iso_c_binding module~mod_nonbonded->module~mod_memory module~mod_nonbonded->module~mod_topology module~mod_nonbonded->module~mod_constants module~mod_nonbonded->module~mod_adjacency_mat module~mod_neighbor_list mod_neighbor_list module~mod_nonbonded->module~mod_neighbor_list module~mod_bonded->module~mod_memory module~mod_bonded->module~mod_topology module~mod_bonded->module~mod_io module~mod_utils->module~mod_memory module~mod_utils->module~mod_constants module~mod_adjacency_mat->module~mod_memory module~mod_neighbor_list->module~mod_memory module~mod_neighbor_list->module~mod_io module~mod_neighbor_list->module~mod_adjacency_mat

Interface to change the coordinates of the system (eg. during a MD or a geometry optimization). This function clears all the relevant, flags and update the needed quantities. All those operations are needed for a correct functionality of the program therefore coordinates should never be updated without passing from this interface.

Arguments

Type IntentOptional Attributes Name
type(ommp_system), intent(inout), target :: sys_obj

System data structure

real(kind=rp), intent(in), dimension(3,sys_obj%top%mm_atoms) :: new_c

New coordinates to be updated


Calls

proc~~update_coordinates~~CallsGraph proc~update_coordinates update_coordinates interface~mfree mfree proc~update_coordinates->interface~mfree proc~link_atom_update_merged_topology link_atom_update_merged_topology proc~update_coordinates->proc~link_atom_update_merged_topology proc~rotate_multipoles rotate_multipoles proc~update_coordinates->proc~rotate_multipoles proc~r_free1 r_free1 interface~mfree->proc~r_free1 proc~r_free3 r_free3 interface~mfree->proc~r_free3 proc~i_free2 i_free2 interface~mfree->proc~i_free2 proc~i_free1 i_free1 interface~mfree->proc~i_free1 proc~r_free2 r_free2 interface~mfree->proc~r_free2 proc~i_free3 i_free3 interface~mfree->proc~i_free3 proc~l_free1 l_free1 interface~mfree->proc~l_free1 proc~l_free2 l_free2 interface~mfree->proc~l_free2 proc~rotation_matrix rotation_matrix proc~rotate_multipoles->proc~rotation_matrix proc~chk_free chk_free proc~r_free1->proc~chk_free proc~r_free3->proc~chk_free proc~i_free2->proc~chk_free proc~i_free1->proc~chk_free proc~r_free2->proc~chk_free proc~i_free3->proc~chk_free proc~l_free1->proc~chk_free proc~l_free2->proc~chk_free proc~fatal_error fatal_error proc~rotation_matrix->proc~fatal_error proc~chk_free->proc~fatal_error proc~ommp_message ommp_message proc~fatal_error->proc~ommp_message proc~close_output close_output proc~fatal_error->proc~close_output proc~close_output->proc~ommp_message

Called by

proc~~update_coordinates~~CalledByGraph proc~update_coordinates update_coordinates proc~c_ommp_update_coordinates C_ommp_update_coordinates proc~c_ommp_update_coordinates->proc~update_coordinates proc~numerical_geomgrad numerical_geomgrad proc~numerical_geomgrad->proc~update_coordinates proc~update_coordinates_qmmm update_coordinates_qmmm proc~update_coordinates_qmmm->proc~update_coordinates proc~num_grd_print num_grd_print proc~num_grd_print->proc~numerical_geomgrad proc~numerical_geomgrad_qmmm numerical_geomgrad_qmmm proc~numerical_geomgrad_qmmm->proc~update_coordinates_qmmm program~test_si_geomgrad_num test_SI_geomgrad_num program~test_si_geomgrad_num->proc~num_grd_print

Contents