def __init__(self): IrNode.__init__(self) self.additive = 0 self.multiplicative = False self.affine = False self.ddtTopNode = False self.onDdtPath = False self.VARSFX = '__'
def __init__(self, name='', terminalList=[]): IrNode.__init__(self) self.terminalList = [] # list of terminals (strings) self.nodeList = [] # list of nodes (strings) self.internalNodeList = [ ] # list of nodes that are not terminals (strings) self.branchList = [] # list of branches (strings) self.refLabel = '' # label of the reference node (string) self.refNode = None # MsNode object self.network = None # MsNetwork Object self.varMap = AttrDict() self.parmMap = AttrDict() self.parmNameArr = [] # note that contrary to vars and parms, # funcs are not ModSpec objects. self.funcMap = AttrDict() self.nodeMap = AttrDict() self.branchMap = AttrDict() self.disciplineMap = AttrDict() self.network = MsNetwork() self.connectedToModule = True # number of terminals self.nTerminal = 0 # number of Nodes self.nNode = 0 self.nFeQe = 0 # number of internal equations (includes implicit equations) self.nFiQi = 0 self.nExpOut = 0 self.nIntUnk = 0 self.nInput = 0 self.nOtherIo = 0 self.derivLevel = 0 self.expOutPotentialVec = [] # MsPotential self.expOutFlowVec = [] # MsTerminalFlow self.intUnkPotentialVec = [] # MsPotential self.intUnkFlowVec = [] # MsFlow self.otherIoPotentialVec = [] # MsPotential self.otherIoFlowVec = [] # MsFlow self.intUnkPfVec = [] # MsPotential self.expOutPfVec = [] # MsPotential self.otherIoPfVec = [] # MsPotential self.implicitContribVec = [] # IrNodeContribution self.nImplicitContrib = 0 self.expOutList = [] self.intUnkList = [] self.analogNode = None # IrNodeAnalog # internal equation index (includes internal nodes, # otherIO equations and implicit equations). self.intEqnIdx = 0 self.intEqnNameList = [] self.nodeCollapseTree = None self.fullModel = None # MsModel self.nodeCollapseVarStr = '' self.nodeCollapseParmStr = '' self.name = name self.setTerminalList(terminalList)
def __init__(self): IrNode.__init__(self)
def __init__(self, indentLevel=0): IrNode.__init__(self) self.indentLevel = indentLevel
def __init__(self): """ IRNODEDERIVATIVEBLOCK """ IrNode.__init__(self)
def __init__(self, branchObj): IrNode.__init__(self) self.branch = branchObj # MsBranch object
def __init__(self, modelObj=None): IrNode.__init__(self) self.modelObj = modelObj self.printMode = ''