# Efficient C++ implementation of custom FEM kernel with Eigen

- Institution: CERN
- Department: Inverted CSC
- Speaker: Mikhail Sizov
- Year: 2019
- Language: English
- Subjects: Computer science
- Source: [CERN](https://videos.cern.ch/record/3006165)
- Licence: [CERN](http://copyright.web.cern.ch)
- Who can watch: Tweens profiles and older (sources give no ratings; placed by Invisible Network from the source's own words)

We will start from examples of problems solved by finite element method - equilibrium magnetic fields, structural deflection calculations. Then we will talk about foundation of FEM method key concepts such as stiffness matrix and impact of high matrix dimensions and sparse characteristic to ways data can be calculated more efficiently.

To implement kernel we will introduce Eigen, a C++ linear algebra library that eliminates intermediate temporary objects by utilizing expression templates technique and generates efficient high-level math code with most of complexity taken from you..

0:00:00 Slide 1

0:00:27 Slide 2

0:01:13 Slide 3

0:01:26 Slide 4

0:02:53 Slide 5

0:03:51 Slide 6

0:04:00 Slide 7

0:04:35 Slide 8

0:05:56 Slide 9

0:06:11 Slide 10

0:06:47 Slide 11

0:07:55 Slide 12

0:08:14 Slide 13

0:08:57 Slide 14

0:09:54 Slide 15

0:10:20 Slide 16

0:11:23 Slide 17

0:12:34 Slide 18

0:13:32 Slide 19

0:13:37 Slide 20

0:13:44 Slide 21

0:14:32 Slide 22

0:14:43 Slide 23

0:14:53 Slide 24

0:15:34 Slide 25

0:15:39 Slide 26

0:16:29 Slide 27

0:17:34 Slide 28

0:18:49 Slide 29

0:19:07 Slide 30

0:19:12 Slide 31

0:19:45 Slide 32

0:20:14 Slide 33

0:21:32 Slide 34

0:22:03 Slide 35

0:22:54 Slide 36

0:23:24 Slide 37

0:25:12 Slide 38

0:26:09 Slide 39

0:28:07 Slide 40

0:28:59 Slide 41

0:30:03 Slide 42

0:30:25 Slide 43

0:30:58 Slide 44

0:33:26 Slide 45

0:33:30 Slide 46

0:35:07 Slide 47

## Lectures

1. [Efficient C++ implementation of custom FEM kernel with Eigen](https://invisiblenetwork.ai/learn/cern/3006165/a032f93fab01), 37 min (CERN's player)
