13 #if !defined(KRATOS_DIVIDE_GEOMETRY)
14 #define KRATOS_DIVIDE_GEOMETRY
84 std::string
Info()
const override;
87 void PrintInfo(std::ostream& rOStream)
const override;
90 void PrintData(std::ostream& rOStream)
const override;
120 void save(
Serializer& rSerializer)
const override {
159 rOStream << std::endl;
165 template<
class TPo
intType>
210 std::vector<IndexedPointGeometryPointerType> GetPositiveSubdivisions()
const;
217 std::vector<IndexedPointGeometryPointerType> GetNegativeSubdivisions()
const;
224 std::vector<IndexedPointGeometryPointerType> GetPositiveInterfaces()
const;
231 std::vector<IndexedPointGeometryPointerType> GetNegativeInterfaces()
const;
238 std::vector<unsigned int> GetPositiveInterfacesParentIds()
const;
245 std::vector<unsigned int> GetNegativeInterfacesParentIds()
const;
256 virtual std::string
Info()
const;
259 virtual void PrintInfo(std::ostream& rOStream)
const;
262 virtual void PrintData(std::ostream& rOStream)
const;
290 Vector GetNodalDistances()
const;
314 std::vector < IndexedPointGeometryPointerType > &rExteriorFacesVector,
315 std::vector < unsigned int > &rExteriorFacesParentSubdivisionsIdsVector,
316 const std::vector < IndexedPointGeometryPointerType > &rSubdivisionsContainer)
318 KRATOS_ERROR <<
"Accessing base class \'GenerateExteriorFaces\' method."<< std::endl;
330 std::vector < IndexedPointGeometryPointerType > &rExteriorFacesVector,
331 std::vector < unsigned int > &rExteriorFacesParentSubdivisionsIdsVector,
332 const std::vector < IndexedPointGeometryPointerType > &rSubdivisionsContainer,
333 const unsigned int FatherFaceId)
335 KRATOS_ERROR <<
"Accessing base class \'GenerateExteriorFaces\' method."<< std::endl;
391 const Vector& mrNodalDistances;
422 : mrInputGeometry(rOther.mrInputGeometry) , mrNodalDistances(rOther.mrNodalDistances) {};
PeriodicInterfaceProcess & operator=(const PeriodicInterfaceProcess &)=delete
std::string Info() const override
Turn back information as a string.
Definition: periodic_interface_process.hpp:93
Definition: divide_geometry.h:167
virtual const std::vector< int > & GetEdgeIdsJ() const =0
int mDivisionsNumber
Definition: divide_geometry.h:187
virtual void GenerateExteriorFaces(std::vector< IndexedPointGeometryPointerType > &rExteriorFacesVector, std::vector< unsigned int > &rExteriorFacesParentSubdivisionsIdsVector, const std::vector< IndexedPointGeometryPointerType > &rSubdivisionsContainer)
Definition: divide_geometry.h:313
virtual void GenerateExteriorFaces(std::vector< IndexedPointGeometryPointerType > &rExteriorFacesVector, std::vector< unsigned int > &rExteriorFacesParentSubdivisionsIdsVector, const std::vector< IndexedPointGeometryPointerType > &rSubdivisionsContainer, const unsigned int FatherFaceId)
Definition: divide_geometry.h:329
std::vector< IndexedPointGeometryPointerType > mPositiveInterfaces
Definition: divide_geometry.h:350
PointerVectorSet< IndexedPointType, IndexedObject > IndexedPointsContainerType
Definition: divide_geometry.h:182
std::vector< IndexedPointGeometryPointerType > mNegativeSubdivisions
Definition: divide_geometry.h:349
std::vector< IndexedPointGeometryPointerType > mPositiveSubdivisions
Definition: divide_geometry.h:348
Geometry< TPointType > GeometryType
Definition: divide_geometry.h:177
virtual void GenerateIntersectionsSkin()=0
IndexedPointsContainerType mAuxPointsContainer
Definition: divide_geometry.h:189
std::vector< unsigned int > mNegativeInterfacesParentIds
Definition: divide_geometry.h:353
IndexedPoint IndexedPointType
Definition: divide_geometry.h:178
int mSplitEdgesNumber
Definition: divide_geometry.h:186
bool mIsSplit
Definition: divide_geometry.h:184
std::vector< unsigned int > mPositiveInterfacesParentIds
Definition: divide_geometry.h:352
std::vector< IndexedPointGeometryPointerType > mNegativeInterfaces
Definition: divide_geometry.h:351
virtual void GenerateDivision()=0
virtual std::vector< int > & GetSplitEdges()=0
virtual const std::vector< int > & GetEdgeIdsI() const =0
IndexedPoint::Pointer IndexedPointPointerType
Definition: divide_geometry.h:179
KRATOS_CLASS_POINTER_DEFINITION(DivideGeometry)
Pointer definition of DivideGeometry.
Geometry< IndexedPoint >::Pointer IndexedPointGeometryPointerType
Definition: divide_geometry.h:181
Geometry< IndexedPoint > IndexedPointGeometryType
Definition: divide_geometry.h:180
Geometry base class.
Definition: geometry.h:71
This object defines an indexed object.
Definition: indexed_object.h:54
Definition: divide_geometry.h:46
void PrintInfo(std::ostream &rOStream) const override
Print information about this object.
Definition: divide_geometry.cpp:45
void PrintData(std::ostream &rOStream) const override
Print object's data.
Definition: divide_geometry.cpp:51
KRATOS_CLASS_POINTER_DEFINITION(IndexedPoint)
Pointer definition of IndexedPoint.
Point class.
Definition: point.h:59
The serialization consists in storing the state of an object into a storage format like data file or ...
Definition: serializer.h:123
#define KRATOS_SERIALIZE_SAVE_BASE_CLASS(Serializer, BaseType)
Definition: define.h:812
#define KRATOS_SERIALIZE_LOAD_BASE_CLASS(Serializer, BaseType)
Definition: define.h:815
#define KRATOS_ERROR
Definition: exception.h:161
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
def load(f)
Definition: ode_solve.py:307