User profile: lastchance

User info
User name:lastchance
Location:Manchester, England
Bio:University lecturer in engineering

Teaching: fluid dynamics, mechanics, CFD, numerical methods.

Research: computational fluid dynamics (CFD), renewable energy (marine and wind), aerodynamics, heat transfer, hydraulic engineering.

I have a first degree in Maths and a PhD in Mechanical Engineering. I do a lot of mathematical modelling in the physical sciences.

I program mainly in Fortran at work, but I enjoy improving my C++ in this forum.
Statistical data
Number of posts:6240
Latest posts:

How to modify numbers in file "C"
If you don't know how many items there are in a line then you could use the more general [code]#incl...

How to modify numbers in file "C"
[code]#include <iostream> #include <sstream> #include <fstream> using namespace std; istringstream ...

Assignment operator bottlenecking simulation
Why are you trying to make entire copies of a "grid" every time? It's going to be costly shunting co...

Checking for 2D Array Rotations + Reflections
Your test for case 3 is wrong. Your test for case 5 is disastrous. Your model answer for the secon...

Declaring a probability distribution within a class
Thank-you, @coder777