feat(SpectralSolver): Spectral Solver now works in a limited fashion
Major work on spectral solver, can now evolve up to about a year. At that point we likely need to impliment repartitioning logic to stabalize the network or some other scheme based on the jacobian structure
This commit is contained in:
9
src/include/gridfire/utils/macros.h
Normal file
9
src/include/gridfire/utils/macros.h
Normal file
@@ -0,0 +1,9 @@
|
||||
#pragma once
|
||||
|
||||
|
||||
#if defined(GF_USE_OPENMP)
|
||||
#define GF_OMP_PRAGMA(x) _Pragma(#x)
|
||||
#define GF_OMP(omp_args, _) GF_OMP_PRAGMA(omp omp_args)
|
||||
#else
|
||||
#define GF_OMP(_,fallback_args) fallback_args
|
||||
#endif
|
||||
Reference in New Issue
Block a user