Yair Shapira
Published: 2006
Total Pages: 500
Get eBook
This comprehensive book introduces the C and C++ programming languages and shows how to use them in the numerical solution of partial differential equations (PDEs). It leads the reader through the entire solution process, from the original PDE, through the discretization stage, to the numerical solution of the resulting algebraic system. The well-debugged and tested code segments implement the numerical methods efficiently and transparently. Basic and advanced numerical methods are introduced and implemented easily and efficiently in a unified object-oriented approach. The high level of abstraction available in C++ is particularly useful in the implementation of complex mathematical objects, such as unstructured mesh, sparse matrix, and multigrid hierarchy, often used in numerical modeling. This book introduces a unified approach for the implementation of these objects. Solving PDEs in C++ contains all the required background in programming, PDEs, and numerical methods; only an elementary background in linear algebra and calculus is required. For the more advanced reader, there is also material on stability analysis and weak formulation. The final parts of the book demonstrate the object-oriented approach in advanced applications. Audience: researchers, engineers, and advanced students. It can be used as a textbook in courses in C++ with applications, C++ in engineering, numerical analysis, and numerical PDEs at the advanced undergraduate and graduate levels. Because it is self-contained, the book is also suitable for self-study by researchers and students in applied and computational science and engineering.