16 #if !defined(KRATOS_ELIMINATE_ISOLATED_NODES_PROCESS_INCLUDED )
17 #define KRATOS_ELIMINATE_ISOLATED_NODES_PROCESS_INCLUDED
112 temp_nodes_container.
reserve(mr_model_part.
Nodes().size());
114 temp_nodes_container.
swap(mr_model_part.
Nodes());
118 if( i_node->GetValue(NEIGHBOUR_NODES).size() != 0 )
119 (mr_model_part.
Nodes()).push_back(*(i_node.base()));
141 std::string
Info()
const override
143 return "EliminateIsolatedNodesProcess";
149 rOStream <<
"EliminateIsolatedNodesProcess";
268 rOStream << std::endl;
Short class definition.
Definition: eliminate_isolated_nodes_process.h:67
void PrintInfo(std::ostream &rOStream) const override
Print information about this object.
Definition: eliminate_isolated_nodes_process.h:147
void operator()()
Definition: eliminate_isolated_nodes_process.h:97
void PrintData(std::ostream &rOStream) const override
Print object's data.
Definition: eliminate_isolated_nodes_process.h:153
KRATOS_CLASS_POINTER_DEFINITION(EliminateIsolatedNodesProcess)
Pointer definition of EliminateIsolatedNodesProcess.
~EliminateIsolatedNodesProcess() override
Destructor.
Definition: eliminate_isolated_nodes_process.h:88
void Execute() override
Execute method is used to execute the Process algorithms.
Definition: eliminate_isolated_nodes_process.h:107
std::string Info() const override
Turn back information as a string.
Definition: eliminate_isolated_nodes_process.h:141
EliminateIsolatedNodesProcess(ModelPart &model_part)
Default constructor.
Definition: eliminate_isolated_nodes_process.h:80
This class aims to manage meshes for multi-physics simulations.
Definition: model_part.h:77
NodesContainerType & Nodes(IndexType ThisIndex=0)
Definition: model_part.h:507
PointerVector is a container like stl vector but using a vector to store pointers to its data.
Definition: pointer_vector.h:72
A sorted associative container similar to an STL set, but uses a vector to store pointers to its data...
Definition: pointer_vector_set.h:72
boost::indirect_iterator< typename TContainerType::iterator > iterator
Definition: pointer_vector_set.h:95
void swap(PointerVectorSet &rOther)
Swaps the contents of this PointerVectorSet with another.
Definition: pointer_vector_set.h:532
iterator begin()
Returns an iterator pointing to the beginning of the container.
Definition: pointer_vector_set.h:278
void reserve(int reservedsize)
Reserves memory for a specified number of elements.
Definition: pointer_vector_set.h:733
iterator end()
Returns an iterator pointing to the end of the container.
Definition: pointer_vector_set.h:314
The base class for all processes in Kratos.
Definition: process.h:49
#define KRATOS_CATCH(MoreInfo)
Definition: define.h:110
#define KRATOS_TRY
Definition: define.h:109
REF: G. R. Cowper, GAUSSIAN QUADRATURE FORMULAS FOR TRIANGLES.
Definition: mesh_condition.cpp:21
std::istream & operator>>(std::istream &rIStream, LinearMasterSlaveConstraint &rThis)
input stream function
std::ostream & operator<<(std::ostream &rOStream, const LinearMasterSlaveConstraint &rThis)
output stream function
Definition: linear_master_slave_constraint.h:432
model_part
Definition: face_heat.py:14