PH3110 BSc projects / PTD

Introduction

This TWiki topic collects some information that is relevant to the numerical simulation projects for PH3110 that are supervised by PTD.

Program structure / Flowchart

When developing a new computer program, it is essential to plan the main structure of the program before starting to actually write any code. Good code is modular and well documented. One key tool to help plan the structure of a computer program is to prepare a flowchart for the whole program, highlighting the main tasks/algorithms that the code will perform and the order they will be performed in. Separate additional flowcharts can also be used to provide further detail on certain parts of the code (eg if they are quite complex, and need a flowchart in their own right).

The following web pages introduce the basic ideas and conventions behind computer program flowcharts, with examples:

-- Pedro Teixeira Dias - 14 Jan 2021

Comments


Physics WebpagesRHUL WebpagesCampus Connect • Royal Holloway, University of London, Egham, Surrey TW20 0EX; Tel/Fax +44 (0)1784 434455/437520

Topic revision: r1 - 14 Jan 2021 - PedroTeixeiraDias

 
This site is powered by the TWiki collaboration platform Powered by PerlCopyright © 2008-2021 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
Ideas, requests, problems regarding RHUL Physics Department TWiki? Send feedback