KratosMultiphysics
KRATOS Multiphysics (Kratos) is a framework for building parallel, multi-disciplinary simulation software, aiming at modularity, extensibility, and high performance. Kratos is written in C++, and counts with an extensive Python interface.
|
Copy the properties from one model part to another. More...
#include <copy_properties_modeler.h>
Public Member Functions | |
Pointer Definition | |
KRATOS_CLASS_POINTER_DEFINITION (CopyPropertiesModeler) | |
Life Cycle | |
CopyPropertiesModeler () | |
Default constructor. More... | |
CopyPropertiesModeler (Model &rModel, Parameters ModelerParameters) | |
Constructor with Model and Parameters. More... | |
CopyPropertiesModeler (ModelPart &rOriginModelPart, ModelPart &rDestinationModelPart) | |
Constructor with origin and destination model parts. More... | |
CopyPropertiesModeler (CopyPropertiesModeler const &rOther)=delete | |
Copy constructor. More... | |
~CopyPropertiesModeler () override=default | |
Destructor. More... | |
Operators | |
CopyPropertiesModeler & | operator= (CopyPropertiesModeler const &rOther)=delete |
Assignment operator. More... | |
Stages | |
void | SetupModelPart () override |
Create a copy of the properties from the origin ModelPart to the destination ModelPart. More... | |
Input and output | |
std::string | Info () const override |
Turn back information as a string. More... | |
Public Member Functions inherited from Kratos::Modeler | |
Modeler (Parameters ModelerParameters=Parameters()) | |
Default constructor. More... | |
Modeler (Model &rModel, Parameters ModelerParameters=Parameters()) | |
Constructor with Model. More... | |
virtual | ~Modeler ()=default |
Destructor. More... | |
virtual void | SetupGeometryModel () |
Import or generate geometry models from external input. More... | |
virtual void | PrepareGeometryModel () |
Prepare or update the geometry model_part. More... | |
virtual void | GenerateModelPart (ModelPart &rOriginModelPart, ModelPart &rDestinationModelPart, Element const &rReferenceElement, Condition const &rReferenceBoundaryCondition) |
virtual void | GenerateMesh (ModelPart &ThisModelPart, Element const &rReferenceElement, Condition const &rReferenceBoundaryCondition) |
virtual void | GenerateNodes (ModelPart &ThisModelPart) |
virtual void | PrintInfo (std::ostream &rOStream) const |
Print information about this object. More... | |
virtual void | PrintData (std::ostream &rOStream) const |
Print object's data. More... | |
KRATOS_CLASS_POINTER_DEFINITION (Modeler) | |
Pointer definition of Modeler. More... | |
Operations | |
Modeler::Pointer | Create (Model &rModel, const Parameters ModelParameters) const override |
Creates the Modeler Pointer and returns a pointer to a new CopyPropertiesModeler. More... | |
const Parameters | GetDefaultParameters () const override |
Get the Default Parameters object. More... | |
Additional Inherited Members | |
Public Types inherited from Kratos::Modeler | |
typedef std::size_t | SizeType |
typedef std::size_t | IndexType |
Protected Attributes inherited from Kratos::Modeler | |
Parameters | mParameters |
SizeType | mEchoLevel |
Copy the properties from one model part to another.
The properties of the elements and conditions of the destination model part are replaced by the copies.
|
inline |
Default constructor.
Kratos::CopyPropertiesModeler::CopyPropertiesModeler | ( | Model & | rModel, |
Parameters | ModelerParameters | ||
) |
Constructor with Model and Parameters.
rModel | Reference of the Model |
ModelerParameters | Parameters of the Modeler |
|
delete |
Copy constructor.
|
overridedefault |
Destructor.
|
overridevirtual |
Creates the Modeler Pointer and returns a pointer to a new CopyPropertiesModeler.
rModel | Reference of the Model |
ModelerParameters | Parameters of the discretization |
Reimplemented from Kratos::Modeler.
|
overridevirtual |
|
inlineoverridevirtual |
Turn back information as a string.
Reimplemented from Kratos::Modeler.
Kratos::CopyPropertiesModeler::KRATOS_CLASS_POINTER_DEFINITION | ( | CopyPropertiesModeler | ) |
|
delete |
Assignment operator.
|
overridevirtual |
Create a copy of the properties from the origin ModelPart to the destination ModelPart.
Reimplemented from Kratos::Modeler.