User Tools

Site Tools


dev:printkey

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Next revision
Previous revision
dev:printkey [2013/10/04 09:29] – created oschuettdev:printkey [2020/08/21 10:15] (current) – external edit 127.0.0.1
Line 11: Line 11:
 <code Fortran> <code Fortran>
  USE cp_output_handling,              ONLY: cp_print_key_section_create  USE cp_output_handling,              ONLY: cp_print_key_section_create
- ....+ !...
  CALL section_create(subsection,name="print",&  CALL section_create(subsection,name="print",&
       description="Controls the printing properties during an MD run",&       description="Controls the printing properties during an MD run",&
Line 21: Line 21:
  CALL section_add_subsection(subsection,print_key,error=error)  CALL section_add_subsection(subsection,print_key,error=error)
  CALL section_release(print_key,error=error)  CALL section_release(print_key,error=error)
- ...+ !...
 </code> </code>
  
-====== Using a Prinkey for output ======+====== Using a Printkey for output ======
  
 <code Fortran> <code Fortran>
  USE cp_output_handling,              ONLY: cp_print_key_finished_output,&  USE cp_output_handling,              ONLY: cp_print_key_finished_output,&
                                             cp_print_key_unit_nr                                             cp_print_key_unit_nr
- ...+ !...
  TYPE(cp_logger_type), POINTER :: logger  TYPE(cp_logger_type), POINTER :: logger
  INTEGER                       :: traj_unit  INTEGER                       :: traj_unit
- ...+ !...
  logger => cp_error_get_logger(error)  logger => cp_error_get_logger(error)
  traj_unit = cp_print_key_unit_nr(logger,root_section,"MOTION%PRINT%TRAJECTORY",error=error)  traj_unit = cp_print_key_unit_nr(logger,root_section,"MOTION%PRINT%TRAJECTORY",error=error)
dev/printkey.1380878964.txt.gz · Last modified: 2020/08/21 10:14 (external edit)