File: d_cap.h

package info (click to toggle)
acs 021-2.3
  • links: PTS
  • area: main
  • in suites: slink
  • size: 2,196 kB
  • ctags: 2,629
  • sloc: cpp: 15,013; makefile: 166
file content (24 lines) | stat: -rw-r--r-- 760 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
/*$Id: d_cap.h,v 11.22 96/02/18 11:45:31 al Exp $ -*- C++ -*-
 $ Capacitance (c) component
 */
#include "e_storag.h"
#ifndef D_CAP_H
#define D_CAP_H
/*--------------------------------------------------------------------------*/
class DEV_CAPACITANCE : public STORAGE {
public:
	DEV_CAPACITANCE(){devclass=ONEPORT;}
	DEV_CAPACITANCE(CONST DEV_CAPACITANCE& p):STORAGE(p){}
	CARD*	clone()CONST{return new DEV_CAPACITANCE(*this);}
	void	expand();
	bool	dotr();
	void	trload(){trload_passive();}
	void	trunload(){trunload_passive();}
	void	doac();
	double	tr_review();
private:
	void	integrate();
};
/*--------------------------------------------------------------------------*/
/*--------------------------------------------------------------------------*/
#endif