oaMutualInductor.h

Go to the documentation of this file.
00001 // *****************************************************************************
00002 // *****************************************************************************
00003 // oaMutualInductor.h
00004 //
00005 // This file contains the definition of the oaMutualInductor class, which
00006 // represents the mutual inductance between two inductor devices. The two
00007 // inductors may be within the same parasitic network or within the parasitic
00008 // networks for two different nets.
00009 //
00010 // *****************************************************************************
00011 // Except as specified in the OpenAccess terms of use of Cadence or Silicon
00012 // Integration Initiative, this material may not be copied, modified,
00013 // re-published, uploaded, executed, or distributed in any way, in any medium,
00014 // in whole or in part, without prior written permission from Cadence.
00015 //
00016 //                Copyright 2002-2005 Cadence Design Systems, Inc.
00017 //                           All Rights Reserved.
00018 //
00019 //  $Author: icftcm $
00020 //  $Revision: #1 $
00021 //  $Date: 2010/08/09 $
00022 //  $State: Exp $
00023 // *****************************************************************************
00024 // *****************************************************************************
00025 
00026 
00027 
00028 #if !defined(oaMutualInductor_P)
00029 #define oaMutualInductor_P
00030 
00031 
00032 
00033 // *****************************************************************************
00034 // Nested includes
00035 // *****************************************************************************
00036 #include "oaInductor.h"
00037 
00038 
00039 
00040 // *****************************************************************************
00041 // Declare and define types in the OpenAccess namespace.
00042 // *****************************************************************************
00043 BEGIN_OA_NAMESPACE
00044 
00045 
00046 
00047 // *****************************************************************************
00048 // oaMutualInductor
00049 // *****************************************************************************
00050 class OA_DESIGN_DLL_API oaMutualInductor : public oaDevice {
00051 public:
00052     static oaMutualInductor *create(oaInductor  *fromInductor,
00053                                     oaInductor  *toInductor);
00054     static oaMutualInductor *create(oaInductor  *fromInductor,
00055                                     oaInductor  *toInductor,
00056                                     oaUInt4     id);
00057     static oaMutualInductor *create(oaInductor      *fromInductor,
00058                                     oaDesignObject  *otherNet,
00059                                     oaUInt4         otherInductorId,
00060                                     oaUInt4         id);
00061 
00062     oaBoolean               isLocal() const;
00063 
00064     void                    setValue(const oaAnalysisPoint  *ap,
00065                                      oaFloat                value);
00066     oaFloat                 getValue(const oaAnalysisPoint *ap) const;
00067 
00068     oaInductor              *getInductor(oaEndpointType endpoint) const;
00069     oaInductor              *getOtherInductor(oaInductor *inductor) const;
00070     void                    getOtherInductor(oaDesignObject *&otherNet,
00071                                              oaUInt4        &otherInductorId) const;
00072 };
00073 
00074 
00075 
00076 // *****************************************************************************
00077 // Design Traits.
00078 // *****************************************************************************
00079 template<>
00080 class oaTraits<oaMutualInductor> {
00081 public:
00082     typedef oaDeviceModTypeEnum modTypeType;
00083     typedef oaDevice            parentType;
00084     enum {dtIndex = oacDeviceDataType};
00085     enum {dataTypeEnumVal = oacDeviceDataType};
00086     enum {dbType = oacDesignDBType};
00087     enum {domain = oacNoDomain};
00088     enum {isMultiDomain = false};
00089     enum {isConcrete = true};
00090     enum {objectTypeEnumVal = oacMutualInductorType};
00091 };
00092 
00093 
00094 
00095 END_OA_NAMESPACE
00096 
00097 #endif

Return to top of page