Dune Core Modules (2.9.0)

SIMD Abstraction Implementation for standard types


file  standard.hh
 SIMD abstractions for the standard built-in types.

Detailed Description

This implements the vectorization interface for scalar types. It applies to any type that does not have a specialized interface implementation.

As an application developer, there is nothing special you need to do to get support for standard types in the vectorization abstraction. If the dune classes you are using provide support for vectorization, they will include <dune/common/simd/simd.hh>, which will pull in the abstraction for standard types automatically. You simply need to make sure that the types themselves are supported:

  • for built-in types there is nothing you need to do,
  • for std::complex, you need to #include <complex>
  • etc.
Creative Commons License   |  Legal Statements / Impressum  |  generated with Hugo v0.80.0 (Mar 19, 23:30, 2023)