Python essentials
ΒΆ
Python topics:
Basic elements of Python
Sources
Getting started
Variables, arithmetic and modules
Lists and indices
Functions
Sources
What is a function?
Anatomy of a function
Calling functions
Introduction to NumPy
Introducing NumPy
Useful functions
for
loops
Sources
Basics of
for
loops
Conditional statements
Sources
Basics of conditional statements
IntroGM
Navigation
Contents:
Python essentials
Finite differences method introduction
Finite differences formulation of the heat conduction problem
Spatially varying physical parameters
Testing your code and benchmarking
Advection
Finite difference method, part II
Heat conduction with advection
Heat conduction in 2D
Stokes and continuity equations in 2D
Putting it together
Related Topics
Documentation overview
Previous:
Introduction to lithospheric geodynamic modelling
Next:
Basic elements of Python
Quick search