Главная
Study mode:
on
1
Introduction
2
Context
3
Outline
4
Eigen grammar
5
Total matches function
6
Defining a functor
7
Integrating Eigen matrices
8
Eigen types
9
Eigen
10
Solution
11
Identification
12
Transformation
13
How does it work
14
The stork result expression
15
Evaluating the stork result expression
16
Why the first argument
17
Declaring the result type
18
Declaring the product value type
19
Wrapping up the expression
20
Testing the expression
21
Recap
22
Adding userdefined terminals
23
Reminder of photo expressions
24
Userdefined functions
25
Userdefined terminals
26
Evaluate userup
27
Compute result type
28
Dispatch function
29
Creating a functor
30
Testing the functor
31
Effect
32
Userdefined operations
33
Testing example
34
A bit of a hack
35
Required changes
36
Onetoone mapping
Description:
Explore the intricacies of building finite-element matrix expressions using Boost Proto and the Eigen library in this comprehensive CppNow conference talk. Dive into a step-by-step Boost.Proto tutorial that addresses two key challenges: integrating an external expression template library (Eigen) with Boost.Proto and incorporating user-defined functions into a domain-specific language. Begin with a calculator-like example program to grasp fundamental concepts before delving into real-world applications within the Coolfluid 3 code. Learn to create an Eigen grammar, implement total matches functions, define functors, and integrate Eigen matrices. Discover techniques for handling Eigen types, solution identification, and transformation processes. Understand the intricacies of stork result expressions, including evaluation methods and result type declarations. Explore the addition of user-defined terminals, functions, and operations, complete with practical testing examples. Gain insights into compute result types, dispatch functions, and functor creation. By the end of this talk, acquire the knowledge to leverage Boost Proto and Eigen for building powerful finite-element matrix expressions in your own projects. Read more

Building Finite-Element Matrix Expressions with Boost Proto and the Eigen Library

CppNow
Add to list
0:00 / 0:00