From cdb82615d0e4b154357c24b9ddbed6e3c89d728c Mon Sep 17 00:00:00 2001 From: Thomas Fischer <thomas.fischer@ufz.de> Date: Fri, 11 Oct 2013 07:49:29 +0200 Subject: [PATCH] Removed commented OGS-5 code form ProcessInfo.{cpp,h}. --- OGS/ProcessInfo.cpp | 21 +++++---------------- OGS/ProcessInfo.h | 20 +------------------- 2 files changed, 6 insertions(+), 35 deletions(-) diff --git a/OGS/ProcessInfo.cpp b/OGS/ProcessInfo.cpp index 7efe074647d..212a00fa64e 100644 --- a/OGS/ProcessInfo.cpp +++ b/OGS/ProcessInfo.cpp @@ -12,15 +12,14 @@ * */ -//#include "rf_pcs.h" #include <ProcessInfo.h> ProcessInfo::ProcessInfo() : - _pcs_type (FiniteElement::INVALID_PROCESS), _pcs_pv (FiniteElement::INVALID_PV)//, _pcs (NULL) + _pcs_type (FiniteElement::INVALID_PROCESS), _pcs_pv (FiniteElement::INVALID_PV) {} -ProcessInfo::ProcessInfo (FiniteElement::ProcessType pcs_type, FiniteElement::PrimaryVariable pcs_pv/*, CRFProcess* pcs*/) : - _pcs_type (pcs_type), _pcs_pv (pcs_pv)//, _pcs (pcs) +ProcessInfo::ProcessInfo (FiniteElement::ProcessType pcs_type, FiniteElement::PrimaryVariable pcs_pv) : + _pcs_type (pcs_type), _pcs_pv (pcs_pv) {} void ProcessInfo::setProcessType (FiniteElement::ProcessType pcs_type) @@ -32,12 +31,7 @@ void ProcessInfo::setProcessPrimaryVariable (FiniteElement::PrimaryVariable pcs_ { _pcs_pv = pcs_pv; } -/* -void ProcessInfo::setProcess (CRFProcess* pcs) -{ - _pcs = pcs; -} -*/ + FiniteElement::ProcessType ProcessInfo::getProcessType () const { return _pcs_type; @@ -47,11 +41,6 @@ FiniteElement::PrimaryVariable ProcessInfo::getProcessPrimaryVariable () const { return _pcs_pv; } -/* -CRFProcess* ProcessInfo::getProcess () const -{ - return _pcs; -} -*/ + ProcessInfo::~ProcessInfo() {} diff --git a/OGS/ProcessInfo.h b/OGS/ProcessInfo.h index ffa21278ba8..f1a6be4ca04 100644 --- a/OGS/ProcessInfo.h +++ b/OGS/ProcessInfo.h @@ -17,7 +17,6 @@ // FEM #include "FEMEnums.h" -//class CRFProcess; /** * \brief Class ProcessInfo stores the process type, @@ -57,12 +56,6 @@ public: */ void setProcessPrimaryVariable (FiniteElement::PrimaryVariable pcs_pv); - /** - * Sets the value for the pointer to an object of class CRFProcess. - * @param pcs the pointer to an object of class CRFProcess - */ - //void setProcess (CRFProcess* pcs); - /** * Get the process type. * @return the process type @@ -75,12 +68,6 @@ public: */ FiniteElement::PrimaryVariable getProcessPrimaryVariable () const; - /** - * Get a pointer to an object of type CRFProcess. - * @return a pointer to an object of type CRFProcess - */ - //CRFProcess* getProcess () const; - virtual ~ProcessInfo(); protected: @@ -92,10 +79,5 @@ protected: * the primary variable of the process, see enum PrimaryVariable for valid values */ FiniteElement::PrimaryVariable _pcs_pv; - - /** - * pointer to the object of class CRFProcess - */ - //CRFProcess* _pcs; }; -#endif /* PROCESSINFO_H_ */ +#endif /* PROCESSINFO_H_ */ -- GitLab