Langtangen held a position as Simula Fellow with , Norway. In addition to his position as Director of the , he held several leading roles within the field of Scientific Computing in his time at the lab. The scientific computing activities at Simula have been awarded the top grade, Excellent, in all international evaluations 2001-2015. In parallel with his work at Simula Research Laboratory, Langtangen held a professorship at the University of Oslo, being on 80% leave since the establishment of Simula in 2001. He joined the Department of Mathematics in 1991, but after being promoted to full Professor in Mechanics at the Department of Mathematics in 1998, he moved to a professorship in Computer Science in 1999. In addition to his roles at the University of Oslo and Simula Research Laboratory, Langtangen worked at the Department of Scientific Computing at Uppsala University in an adjunct position from 1999 to 2002. Prior to that, he held full-time and part-time positions as research scientist with SINTEF from 1991 to 1997. Langtangen worked with the company Numerical Objects from 1997 to 2003; this company commercialized the Diffpack software, mainly developed by Langtangen and Are Magnus Bruaset. Langtangen’s formal education was from the Department of Mathematics, University of Oslo. He held a MSc degree from 1985 and PhD degree from 1989, both within the field of Mechanics.
Research and teaching
Langtangen's research was interdisciplinary and revolved around applied mathematics and scientific computing with an emphasis on continuum mechanical modeling, stochastic methods and scientific software design, with applications to biomedicine and geoscience in particular. His last research is focused on cerebrospinal fluid flow in the brain and spine as well as methods for uncertainty quantification. Langtangen was involved in the newly established at the University of Oslo. He was also involved with developing and distributing scientific software to make research results more widely accessible and help accelerate research elsewhere. For over three decades he was active with teaching and supervision. He was particularly involved in reforming science education through developing innovative courses and textbooks in the world-leading at the University of Oslo. For this work he received the Olav Thon Foundation prize for Excellence in Teaching in 2016. Together with colleagues in the Computing in Science Education project he also received awards from NOKUT and the University of Oslo for his educational contributions. Langtangen was a member of the Norwegian Academy of Science and Letters and the European Academy of Sciences. On October 10, 2016, Hans Petter Langtangen passed away after a long battle with cancer.
Authorship
Langtangen’s early research focused on numerical methods, in particular finite element methods and preconditioning for incompressible viscous flow and flow through porous media. During the early and mid 1990s, Langtangen pioneered and developed Diffpack, a general C++ software library for the finite element solution of partial differential equations. Diffpack was one of the first object-oriented libraries of its kind. Langtangen was the author of three highly cited, best-selling textbooks on the subject of scientific computing and numerical methods: Computational partial differential equations – numerical methods and Diffpack programming; Python scripting for computational science; and A primer on scientific programming with Python. Langtangen also promoted the use of Python for scientific computing through numerous journal papers and conference talks. Langtangen was the editor of the Scientific Computing field in . He has served on the editorial boards of many scientific journals, including SIAM Journal on Scientific Computing, Advances in Water Resources, BIT Numerical Mathematics, International Journal of Computational Science and Engineering and Journal of Computational Science.