powerflow/powerflow.h

Go to the documentation of this file.
00001 // $Id: powerflow.h,v 1.16 2008/02/13 23:59:01 d3p988 Exp $
00002 
00003 #ifndef _POWERFLOW_H
00004 #define _POWERFLOW_H
00005 
00006 #include "gridlabd.h"
00007 
00008 #ifdef _POWERFLOW_CPP
00009 #define GLOBAL
00010 #define INIT(A) = (A)
00011 #else
00012 #define GLOBAL extern
00013 #define INIT(A)
00014 #endif
00015 
00016 #ifdef _DEBUG
00017 void print_matrix(complex mat[3][3]);
00018 #endif
00019 
00020 #define GETOBJECT(obj) ((OBJECT *) obj - 1)
00021 #define IMPORT_CLASS(name) extern CLASS *name##_class
00022 
00023 #include "powerflow_object.h"
00024 
00025 #endif // _POWERFLOW_H
00026 

GridLAB-DTM Version 1.0
An open-source project initiated by the US Department of Energy