Default.h file
Default assembly strategy selection based on compilation configuration.
This file provides compile-time selection of assembly strategies based on the execution context and available parallelization support. When OpenMP is available and enabled (RODIN_USE_OPENMP), parallel assembly is used by default; otherwise, sequential assembly is selected.
The Default class acts as a policy selector that maps execution contexts to appropriate assembly implementations without requiring explicit user specification.
Namespaces
- namespace Rodin
- The Rodin library for Shape and Topology Optimization.
- namespace Rodin::Assembly
- Module for performing the assembly of linear algebra objects from variational expressions.
Classes
-
template<>class Rodin::Assembly::Default<Context::Local>
- Default assembly strategy for local context without OpenMP.
-
template<>class Rodin::Assembly::Default<Context::Local, Context::Local>
- Default assembly strategy for mixed local contexts without OpenMP.