AQUAgpusph 5.0.4
Loading...
Searching...
No Matches
CalcServer.hpp File Reference

The calculation main entry point. (See Aqua::CalcServer::CalcServer for details) More...

#include <vector>
#include <deque>
#include <map>
#include <string>
#include <iterator>
#include <chrono>
#include "aquagpusph/sphPrerequisites.hpp"
#include "aquagpusph/ProblemSetup.hpp"
#include "aquagpusph/TimeManager.hpp"
#include "aquagpusph/Variable.hpp"
#include "Tool.hpp"
Include dependency graph for CalcServer.hpp:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Data Structures

class  Aqua::CalcServer::user_interruption
 Exception raised when the user manually interrupts the simulation. More...
struct  Aqua::CalcServer::_ProfilingSample
 Profiling sample. More...
struct  Aqua::CalcServer::_ProfilingSnapshot
 Profiling snapshot. More...
class  Aqua::CalcServer::ProfilingInfo
 A FIFO list of profiling snapshots. More...
class  Aqua::CalcServer::CalcServer
 Entity that perform the main work of the simulation. More...

Namespaces

namespace  Aqua
 Main AQUAgpusph namespace.
namespace  Aqua::CalcServer
 Calculation server name space.

Macros

#define N_PROFILING_SNAPSHOTS   2
#define CHECK_OCL_OR_THROW(err_code, msg)

Typedefs

typedef InputOutput::ProblemSetup::sphSettings::debug_opts Aqua::CalcServer::debug_opts
typedef struct Aqua::CalcServer::_ProfilingSample Aqua::CalcServer::ProfilingSample
 Profiling sample.
typedef struct Aqua::CalcServer::_ProfilingSnapshot Aqua::CalcServer::ProfilingSnapshot
 Profiling snapshot.

Detailed Description

The calculation main entry point. (See Aqua::CalcServer::CalcServer for details)

Macro Definition Documentation

◆ CHECK_OCL_OR_THROW

#define CHECK_OCL_OR_THROW ( err_code,
msg )
Value:
if (err_code != CL_SUCCESS) { \
LOG(L_ERROR, std::string(msg) + "\n"); \
Aqua::InputOutput::Logger::singleton()->printOpenCLError(err_code); \
throw std::runtime_error("OpenCL error"); \
}

◆ N_PROFILING_SNAPSHOTS

#define N_PROFILING_SNAPSHOTS   2