Chi-Tech
nl_keigen_acc_solver.cc File Reference

Go to the source code of this file.

Namespaces

namespace  lbs
 
namespace  lbs::acceleration
 

Macros

#define CheckContext(x)
 
#define GetNLKDiffContextPtr(x)
 

Macro Definition Documentation

◆ CheckContext

#define CheckContext (   x)
Value:
if (not x) \
throw std::runtime_error(std::string(__PRETTY_FUNCTION__) + \
": context casting failure")

Definition at line 14 of file nl_keigen_acc_solver.cc.

◆ GetNLKDiffContextPtr

#define GetNLKDiffContextPtr (   x)
Value:
std::dynamic_pointer_cast<NLKEigenDiffContext>(x); \
CheckContext(x)

Definition at line 18 of file nl_keigen_acc_solver.cc.