PSCF v1.5.0

Backend identifier class for the C++ serial CPU backend. More...

#include <CPT.h>

Static Public Member Functions

static void init ()
 Initialize backend.
static void setThreadCount (int nThread)
 Set the number of threads.

Static Public Attributes

static const BackendId id = BackendId::Cpp
 Identifier for computational backend.

Detailed Description

Backend identifier class for the C++ serial CPU backend.

Definition at line 31 of file CPT.h.

Member Function Documentation

◆ init()

void Pscf::CPT::init ( )
static

Initialize backend.

Definition at line 18 of file CPT.cpp.

◆ setThreadCount()

void Pscf::CPT::setThreadCount ( int nThread)
static

Set the number of threads.

Parameters
nThreadnumber of threads

Definition at line 24 of file CPT.cpp.

Member Data Documentation

◆ id

const BackendId Pscf::CPT::id = BackendId::Cpp
static

Identifier for computational backend.

Definition at line 46 of file CPT.h.


The documentation for this class was generated from the following files: