NeoFOAM
WIP Prototype of a modern OpenFOAM core
Loading...
Searching...
No Matches
Namespaces | Typedefs | Functions
executor.hpp File Reference
#include <string>
#include <variant>
#include "NeoFOAM/core/executor/serialExecutor.hpp"
#include "NeoFOAM/core/executor/GPUExecutor.hpp"
#include "NeoFOAM/core/executor/CPUExecutor.hpp"
#include "NeoFOAM/core/error.hpp"

Go to the source code of this file.

Namespaces

namespace  NeoFOAM
 

Typedefs

using NeoFOAM::Executor = std::variant< SerialExecutor, CPUExecutor, GPUExecutor >
 

Functions

bool NeoFOAM::operator== (const Executor &lhs, const Executor &rhs)
 Checks if two executors are equal, i.e. they are of the same type.
 
bool NeoFOAM::operator!= (const Executor &lhs, const Executor &rhs)
 Checks if two executors are not equal, i.e. they are not of the same type.