From 32c4429675988ec388d7e6a2a9b0243334b98593 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Vicente=20Mataix=20Ferr=C3=A1ndiz?= Date: Thu, 7 Sep 2023 14:36:05 +0200 Subject: [PATCH] [Core] Remove unused process --- kratos/processes/build_elemental_process.h | 272 --------------------- 1 file changed, 272 deletions(-) delete mode 100644 kratos/processes/build_elemental_process.h diff --git a/kratos/processes/build_elemental_process.h b/kratos/processes/build_elemental_process.h deleted file mode 100644 index 6d1d07a187f5..000000000000 --- a/kratos/processes/build_elemental_process.h +++ /dev/null @@ -1,272 +0,0 @@ -// | / | -// ' / __| _` | __| _ \ __| -// . \ | ( | | ( |\__ ` -// _|\_\_| \__,_|\__|\___/ ____/ -// Multi-Physics -// -// License: BSD License -// Kratos default license: kratos/license.txt -// -// Main authors: Pooyan Dadvand -// Riccardo Rossi -// - - -#if !defined(KRATOS_BUILD_ELEMENTAL_PROCESS_H_INCLUDED ) -#define KRATOS_BUILD_ELEMENTAL_PROCESS_H_INCLUDED - - - -// System includes -#include -#include - - -// External includes - - -// Project includes -#include "includes/define.h" -#include "processes/process.h" -#include "containers/pointer_vector_set.h" - - -namespace Kratos -{ - -///@name Kratos Globals -///@{ - -///@} -///@name Type Definitions -///@{ - -///@} -///@name Enum's -///@{ - -///@} -///@name Functions -///@{ - -///@} -///@name Kratos Classes -///@{ - -/// Short class definition. -/** Detail class definition. -*/ -template -class BuildElementalProcess : public Process -{ -public: - ///@name Type Definitions - ///@{ - - /// Pointer definition of BuildElementalProcess - KRATOS_CLASS_POINTER_DEFINITION(BuildElementalProcess); - - typedef Element ElementType; - - typedef PointerVectorSet ElementsContainerType; - - ///@} - ///@name Life Cycle - ///@{ - - /// Constructor. - BuildElementalProcess(ElementsContainerType& rElements, TEquationSystemType & rEquationSystem, ProcessInfo& rProcessInfo) - : mElements(rElements), mEquationSystem(rEquationSystem), mProcessInfo(rProcessInfo) {} - - /// Destructor. - virtual ~BuildElementalProcess() {} - - - ///@} - ///@name Operators - ///@{ - - - ///@} - ///@name Operations - ///@{ - - virtual void Execute() - { - ElementType::VectorType rhs = ZeroVector(3); - - for(IO::ElementsContainerType::iterator i_element = mElements.begin() ; i_element != mElements.end() ; i_element++) - { - ElementType::MatrixType stiffness_matrix = ZeroMatrix(3,3); - - Element::EquationIdVectorType ids(3,0); - - i_element->EquationIdVector(ids, mProcessInfo); - - i_element->CalculateLocalSystem(stiffness_matrix, rhs, mProcessInfo); - - mEquationSystem.Assemble(stiffness_matrix, rhs, ids); - } - } - - - ///@} - ///@name Access - ///@{ - - - ///@} - ///@name Inquiry - ///@{ - - - ///@} - ///@name Input and output - ///@{ - - /// Turn back information as a string. - virtual std::string Info() const - { - return "BuildElementalProcess"; - } - - /// Print information about this object. - virtual void PrintInfo(std::ostream& rOStream) const - { - rOStream << "BuildElementalProcess"; - } - - /// Print object's data. - virtual void PrintData(std::ostream& rOStream) const - { - } - - - ///@} - ///@name Friends - ///@{ - - - ///@} - -protected: - ///@name Protected static Member Variables - ///@{ - - - ///@} - ///@name Protected member Variables - ///@{ - - ElementsContainerType& mElements; - TEquationSystemType& mEquationSystem; - ProcessInfo& mProcessInfo; - - ///@} - ///@name Protected Operators - ///@{ - - - ///@} - ///@name Protected Operations - ///@{ - - - ///@} - ///@name Protected Access - ///@{ - - - ///@} - ///@name Protected Inquiry - ///@{ - - - ///@} - ///@name Protected LifeCycle - ///@{ - - - ///@} - -private: - ///@name Static Member Variables - ///@{ - - - ///@} - ///@name Member Variables - ///@{ - - - ///@} - ///@name Private Operators - ///@{ - - - ///@} - ///@name Private Operations - ///@{ - - - ///@} - ///@name Private Access - ///@{ - - - ///@} - ///@name Private Inquiry - ///@{ - - - ///@} - ///@name Un accessible methods - ///@{ - - /// Assignment operator. - BuildElementalProcess& operator=(BuildElementalProcess const& rOther); - - /// Copy constructor. - BuildElementalProcess(BuildElementalProcess const& rOther); - - - ///@} - -}; // Class BuildElementalProcess - -///@} - -///@name Type Definitions -///@{ - - -///@} -///@name Input and output -///@{ - - -/// input stream function - -template -inline std::istream& operator >> (std::istream& rIStream, - BuildElementalProcess& rThis); - -/// output stream function -template -inline std::ostream& operator << (std::ostream& rOStream, - const BuildElementalProcess& rThis) -{ - rThis.PrintInfo(rOStream); - rOStream << std::endl; - rThis.PrintData(rOStream); - - return rOStream; -} -///@} - - -} // namespace Kratos. - -#endif // KRATOS_BUILD_ELEMENTAL_PROCESS_H_INCLUDED defined - -