MeshKit  1.0
cylinder.cpp
Go to the documentation of this file.
00001 /*********************************************
00002 Dec,09
00003 Reactor Geometry Generator
00004 Argonne National Laboratory
00005 
00006 Pin Cylinder class definition.
00007 *********************************************/
00008 #include "meshkit/cylinder.hpp"
00009 
00010 CCylinder::CCylinder ()
00011 // ---------------------------------------------------------------------------
00012 // Function: default constructor
00013 // Input:    none
00014 // Output:   none
00015 // ---------------------------------------------------------------------------
00016 {
00017   m_dVXYPos.SetSize(2);
00018   m_dVZPos.SetSize(2);
00019 
00020 }
00021 
00022 CCylinder::CCylinder (const CCylinder& NO)
00023 // ---------------------------------------------------------------------------
00024 // Function: copy constructor
00025 // Input:    none
00026 // Output:   none
00027 // ---------------------------------------------------------------------------
00028 {
00029 
00030 }
00031 
00032 CCylinder::~CCylinder ()
00033 // ---------------------------------------------------------------------------
00034 // Function: destructor
00035 // Input:    none
00036 // Output:   none
00037 // ---------------------------------------------------------------------------
00038 {
00039 }
00040 
00041 void CCylinder::SetSizes(int nRadii)
00042 // ---------------------------------------------------------------------------
00043 // Function: sets the first line of pin input
00044 // Input:    volume id of the pin, alias and total no. of lines in the pin input
00045 // Output:   none
00046 // ---------------------------------------------------------------------------
00047 {
00048   m_nRadii = nRadii;
00049   m_szVMat.SetSize(nRadii);
00050   m_dVRadii.SetSize(nRadii);
00051 }
00052 
00053 void CCylinder::SetRadii(CVector<double> dVRadii)
00054 // ---------------------------------------------------------------------------
00055 // Function: sets the first line of pin input
00056 // Input:    volume id of the pin, alias and total no. of lines in the pin input
00057 // Output:   none
00058 // ---------------------------------------------------------------------------
00059 {
00060   m_dVRadii = dVRadii;
00061 }
00062 
00063 void CCylinder::SetPos(CVector<double> dVXYPos)
00064 // ---------------------------------------------------------------------------
00065 // Function: sets the first line of pin input
00066 // Input:    volume id of the pin, alias and total no. of lines in the pin input
00067 // Output:   none
00068 // ---------------------------------------------------------------------------
00069 {
00070   m_dVXYPos = dVXYPos;
00071 }
00072 
00073 
00074 void CCylinder::SetZPos(CVector<double> dVZPos)
00075 // ---------------------------------------------------------------------------
00076 // Function: sets the first line of pin input
00077 // Input:    volume id of the pin, alias and total no. of lines in the pin input
00078 // Output:   none
00079 // ---------------------------------------------------------------------------
00080 {
00081   m_dVZPos = dVZPos;
00082 }
00083 
00084 void CCylinder::SetMat(CVector<std::string> szVMat)
00085 // ---------------------------------------------------------------------------
00086 // Function: sets the first line of pin input
00087 // Input:    volume id of the pin, alias and total no. of lines in the pin input
00088 // Output:   none
00089 // ---------------------------------------------------------------------------
00090 {
00091   m_szVMat = szVMat;
00092 }
00093 
00094 void CCylinder::GetSizes(int &nRadii)
00095 // ---------------------------------------------------------------------------
00096 // Function: sets the first line of pin input
00097 // Input:    volume id of the pin, alias and total no. of lines in the pin input
00098 // Output:   none
00099 // ---------------------------------------------------------------------------
00100 {
00101   nRadii = m_nRadii;
00102 }
00103 
00104 void CCylinder::GetRadii(CVector<double> &dVRadii)
00105 // ---------------------------------------------------------------------------
00106 // Function: sets the first line of pin input
00107 // Input:    volume id of the pin, alias and total no. of lines in the pin input
00108 // Output:   none
00109 // ---------------------------------------------------------------------------
00110 {
00111   dVRadii = m_dVRadii;
00112 }
00113 
00114 void CCylinder::GetMat(CVector<std::string> &szVMat)
00115 // ---------------------------------------------------------------------------
00116 // Function: sets the first line of pin input
00117 // Input:    volume id of the pin, alias and total no. of lines in the pin input
00118 // Output:   none
00119 // ---------------------------------------------------------------------------
00120 {
00121   szVMat = m_szVMat;
00122 }
00123 
00124 void CCylinder::GetPos(CVector<double> &dVCoor)
00125 // ---------------------------------------------------------------------------
00126 // Function: sets the first line of pin input
00127 // Input:    volume id of the pin, alias and total no. of lines in the pin input
00128 // Output:   none
00129 // ---------------------------------------------------------------------------
00130 {
00131   dVCoor = m_dVXYPos;
00132 }
00133 
00134 void CCylinder::GetZPos(CVector<double> &dVZPos)
00135 // ---------------------------------------------------------------------------
00136 // Function: sets the first line of pin input
00137 // Input:    volume id of the pin, alias and total no. of lines in the pin input
00138 // Output:   none
00139 // ---------------------------------------------------------------------------
00140 {
00141   dVZPos = m_dVZPos;
00142 }
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines