Class Central is learner-supported. When you buy through links on our site, we may earn an affiliate commission.

YouTube

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

CppNow via YouTube

Overview

Save Big on Coursera Plus. 7,000+ courses at $160 off. Limited Time Only!
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.

Syllabus

Introduction
Context
Outline
Eigen grammar
Total matches function
Defining a functor
Integrating Eigen matrices
Eigen types
Eigen
Solution
Identification
Transformation
How does it work
The stork result expression
Evaluating the stork result expression
Why the first argument
Declaring the result type
Declaring the product value type
Wrapping up the expression
Testing the expression
Recap
Adding userdefined terminals
Reminder of photo expressions
Userdefined functions
Userdefined terminals
Evaluate userup
Compute result type
Dispatch function
Creating a functor
Testing the functor
Effect
Userdefined operations
Testing example
A bit of a hack
Required changes
Onetoone mapping

Taught by

CppNow

Reviews

Start your review of Building Finite-Element Matrix Expressions with Boost Proto and the Eigen Library

Never Stop Learning.

Get personalized course recommendations, track subjects and courses with reminders, and more.

Someone learning on their laptop while sitting on the floor.