81 class KRATOS_API(KRATOS_CORE)
StlIO
157 void WriteModelPart(
const ModelPart& rThisModelPart)
override;
172 std::string
Info()
const override;
175 void PrintInfo(std::ostream& rOStream)
const override;
178 void PrintData(std::ostream& rOStream)
const override;
282 void ReadKeyword(
const std::string& Keyword);
290 template<
class TContainerType>
291 void WriteEntityBlock(
const TContainerType& rThisEntities);
307 template<
class TContainerType>
308 void WriteEntityBlockMPI(
309 const TContainerType& rThisEntities,
319 void WriteGeometryBlockMPI(
331 template<
class TStreamType>
344 bool IsValidGeometry(
390 rOStream << std::endl;
PeriodicInterfaceProcess & operator=(const PeriodicInterfaceProcess &)=delete
std::string Info() const override
Turn back information as a string.
Definition: periodic_interface_process.hpp:93
Serial (do-nothing) version of a wrapper class for MPI communication.
Definition: data_communicator.h:318
Geometry< NodeType >::PointsArrayType NodesArrayType
definition of nodes container type, redefined from GeometryType
Definition: element.h:86
Geometry base class.
Definition: geometry.h:71
IO provides different implementation of input output procedures which can be used to read and write w...
Definition: io.h:58
This class aims to manage meshes for multi-physics simulations.
Definition: model_part.h:77
GeometryContainerType::GeometriesMapType GeometriesMapType
Geometry Hash Map Container. Stores with hash of Ids to corresponding geometries.
Definition: model_part.h:246
This class provides to Kratos a data structure for I/O based on the standard of JSON.
Definition: kratos_parameters.h:59
Point class.
Definition: point.h:59
PointerVector is a container like stl vector but using a vector to store pointers to its data.
Definition: pointer_vector.h:72
This class reads from STL file format and creates triangular elements in given model_part.
Definition: stl_io.h:83
KRATOS_CLASS_POINTER_DEFINITION(StlIO)
Pointer definition of StlIO.
virtual ~StlIO()
Destructor.
Definition: stl_io.h:129
std::size_t IndexType
The index type definition.
Definition: stl_io.h:95
void PrintInfo(std::ostream &rOStream) const override
Print information about this object.
Definition: stl_io.cpp:345
void PrintData(std::ostream &rOStream) const override
Print object's data.
Definition: stl_io.cpp:350
Parameters mParameters
Definition: stl_io.h:193
string path
Definition: DEM_run_all_benchmarks_analysis.py:10
REF: G. R. Cowper, GAUSSIAN QUADRATURE FORMULAS FOR TRIANGLES.
Definition: mesh_condition.cpp:21
std::shared_ptr< T > shared_ptr
Definition: smart_pointers.h:27
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 ReadModelPart(model_part, inputfile)
Definition: read_modelpart_from_json.py:3