G+Smo  24.08.0
Geometry + Simulation Modules
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Tutorial 03: Simulation

In this tutorial, you will learn to use the Expression-assembler of G+Smo, see gsExprAssembler. This powerful tool can be used to assemble a system of equations, given the expressions of a weak formulation.

Relevant source files

The files relevant for using the gsExprAssembler are the following:

From those classes the top three (gsExprAssembler, gsExprEvaluator and gsAssemblerOptions) are the ones that are actually called in your code, wheres the other ones are used under the hood.

Furthermore, for any boundary value problem boundary conditions are to be defined. This happens with the gsBoundaryConditions class.

Example 1: The Poisson Equation

See poisson2_example.cpp

Example 2: The Kirchhoff-Love shell

See kirchhoff-Love_example.cpp