Xyce  6.1
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
N_DEV_LTRA.C File Reference
#include <Xyce_config.h>
#include <N_UTL_Misc.h>
#include <N_DEV_DeviceOptions.h>
#include <N_DEV_DeviceState.h>
#include <N_DEV_ExternData.h>
#include <N_DEV_LTRA.h>
#include <N_DEV_LTRA_Faddeeva.h>
#include <N_DEV_MatrixLoadData.h>
#include <N_DEV_Message.h>
#include <N_DEV_SolverState.h>
#include <N_ERH_ErrorMgr.h>
#include <N_LAS_Matrix.h>
#include <N_LAS_Vector.h>
#include <N_UTL_BreakPoint.h>
#include <N_UTL_Functors.h>
Include dependency graph for N_DEV_LTRA.C:

Go to the source code of this file.

Namespaces

namespace  Xyce
 Root namespace for the Xyce project.
 
namespace  Xyce::Device
 Circuit Device Definitions.
 
namespace  Xyce::Device::LTRA
 

Macros

#define CHECK(a, b, c)
 
#define SECONDDERIV(i, a, b, c)
 

Functions

void Xyce::Device::LTRA::registerDevice ()
 

Macro Definition Documentation

#define CHECK (   a,
  b,
 
)
Value:
(Xycemax(Xycemax(a,b),c)-Xycemin(Xycemin(a,b),c) >= \
fabs(50.0*(getDeviceOptions().reltol/3.0*(a+b+c) + \
getDeviceOptions().abstol)))
#define SECONDDERIV (   i,
  a,
  b,
 
)
Value:
(oof = (i==getSolverState().ltraTimeIndex?getSolverState().currTime: \
(getSolverState().ltraTimePoints[i])), \
(( c - b )/(oof-(getSolverState().ltraTimePoints[i-1])) - \
( b - a )/((getSolverState().ltraTimePoints[i-1])- \
(getSolverState().ltraTimePoints[i-2])))/(oof - \
(getSolverState().ltraTimePoints[i-2])))

Definition at line 2618 of file N_DEV_LTRA.C.