Commit 8e4eb83a authored by Philipp Fensch's avatar Philipp Fensch Committed by Niklas Eiling
Browse files

Refactoring for sparse solver

parent 66576de9
......@@ -7,11 +7,6 @@
#define CUDA_ERROR_HANDLER(func) {cudaError_t error; if((error = func) != cudaSuccess) std::cerr << cudaGetErrorString(error) << std::endl; }
/**
* TODO:
* -Proper error-handling
*/
namespace DPsim {
template <typename VarType>
class MnaSolverGpu : public MnaSolver<VarType>{
......
......@@ -55,7 +55,7 @@ endif()
if(WITH_CUDA)
list(APPEND DPSIM_SOURCES
MNASolverGpu.cpp
MNASolverGpuDense.cpp
)
list(APPEND DPSIM_INCLUDE_DIRS ${CUDA_INCLUDE_DIRS} ${CMAKE_CUDA_TOOLKIT_INCLUDE_DIRECTORIES})
......
#include <dpsim/MNASolverGpu.h>
#include <dpsim/MNASolverGpuDense.h>
#include <dpsim/SequentialScheduler.h>
using namespace DPsim;
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment