|
|
| AssignScalarFieldToEntitiesProcess (ModelPart &rModelPart, Parameters rParameters) |
| The default constructor. More...
|
|
| ~AssignScalarFieldToEntitiesProcess () override |
| Destructor. More...
|
|
| AssignScalarFieldToEntitiesProcess (ModelPart &rModelPart, pybind11::object &pPyObject, const std::string &pPyMethodName, const bool SpatialFieldFunction, Parameters rParameters) |
|
| AssignScalarFieldToEntitiesProcess (ModelPart &rModelPart, pybind11::object &pPyObject, const std::string &pPyMethodName, const bool SpatialFieldFunction) |
|
| ~AssignScalarFieldToEntitiesProcess () override |
| Destructor. More...
|
|
| AssignScalarFieldToEntitiesProcess (ModelPart &rModelPart, pybind11::object &pPyObject, const std::string &pPyMethodName, const bool SpatialFieldFunction, Parameters rParameters) |
|
| AssignScalarFieldToEntitiesProcess (ModelPart &rModelPart, pybind11::object &pPyObject, const std::string &pPyMethodName, const bool SpatialFieldFunction) |
|
| ~AssignScalarFieldToEntitiesProcess () override |
| Destructor. More...
|
|
|
void | operator() () |
| This operator is provided to call the process as a function and simply calls the Execute method. More...
|
|
void | operator() () |
| This operator is provided to call the process as a function and simply calls the Execute method. More...
|
|
void | operator() () |
| This operator is provided to call the process as a function and simply calls the Execute method. More...
|
|
|
void | Execute () override |
| Execute method is used to execute the AssignScalarFieldToEntitiesProcess algorithms. More...
|
|
void | ExecuteInitializeSolutionStep () override |
| This function will be executed at every time step BEFORE performing the solve phase. More...
|
|
const Parameters | GetDefaultParameters () const override |
| This method provides the defaults parameters to avoid conflicts between the different constructors. More...
|
|
void | Execute () override |
| Execute method is used to execute the AssignScalarFieldToEntitiesProcess algorithms. More...
|
|
void | ExecuteInitialize () override |
|
void | ExecuteBeforeSolutionLoop () override |
|
void | ExecuteInitializeSolutionStep () override |
| this function will be executed at every time step BEFORE performing the solve phase More...
|
|
void | ExecuteFinalizeSolutionStep () override |
| this function will be executed at every time step AFTER performing the solve phase More...
|
|
void | ExecuteBeforeOutputStep () override |
| this function will be executed at every time step BEFORE writing the output More...
|
|
void | ExecuteAfterOutputStep () override |
| this function will be executed at every time step AFTER writing the output More...
|
|
void | ExecuteFinalize () override |
|
void | Execute () override |
| Execute method is used to execute the AssignScalarFieldToEntitiesProcess algorithms. More...
|
|
void | ExecuteInitialize () override |
|
void | ExecuteBeforeSolutionLoop () override |
|
void | ExecuteInitializeSolutionStep () override |
| this function will be executed at every time step BEFORE performing the solve phase More...
|
|
void | ExecuteFinalizeSolutionStep () override |
| this function will be executed at every time step AFTER performing the solve phase More...
|
|
void | ExecuteBeforeOutputStep () override |
| this function will be executed at every time step BEFORE writing the output More...
|
|
void | ExecuteAfterOutputStep () override |
| this function will be executed at every time step AFTER writing the output More...
|
|
void | ExecuteFinalize () override |
|
|
std::string | Info () const override |
| Turn back information as a string. More...
|
|
void | PrintInfo (std::ostream &rOStream) const override |
| Print information about this object. More...
|
|
void | PrintData (std::ostream &rOStream) const override |
| Print object's data. More...
|
|
std::string | Info () const override |
| Turn back information as a string. More...
|
|
void | PrintInfo (std::ostream &rOStream) const override |
| Print information about this object. More...
|
|
void | PrintData (std::ostream &rOStream) const override |
| Print object's data. More...
|
|
std::string | Info () const override |
| Turn back information as a string. More...
|
|
void | PrintInfo (std::ostream &rOStream) const override |
| Print information about this object. More...
|
|
void | PrintData (std::ostream &rOStream) const override |
| Print object's data. More...
|
|
| KRATOS_CLASS_POINTER_DEFINITION (Process) |
| Pointer definition of Process. More...
|
|
| Process () |
| Default constructor. More...
|
|
| Process (const Flags options) |
|
| ~Process () override |
| Destructor. More...
|
|
void | operator() () |
| This operator is provided to call the process as a function and simply calls the Execute method. More...
|
|
virtual Process::Pointer | Create (Model &rModel, Parameters ThisParameters) |
| This method creates an pointer of the process. More...
|
|
virtual int | Check () |
| This function is designed for being called after ExecuteInitialize ONCE to verify that the input is correct. More...
|
|
virtual void | Clear () |
| This method clears the assignation of the conditions. More...
|
|
Flags & | operator= (Flags const &rOther) |
| Assignment operator. More...
|
|
| operator bool () const |
|
Flags | operator~ () const |
|
bool | operator! () const |
|
void | AssignFlags (Flags const &rOther) |
|
void | Set (const Flags ThisFlag) |
|
void | Set (const Flags ThisFlag, bool Value) |
|
void | Reset (const Flags ThisFlag) |
|
void | Flip (const Flags ThisFlag) |
|
void | SetPosition (IndexType Position, bool Value=true) |
|
bool | GetPosition (IndexType Position) const |
|
void | FlipPosition (IndexType Position) |
|
void | ClearPosition (IndexType Position) |
|
void | Clear () |
|
Flags | AsFalse () const |
|
bool | Is (Flags const &rOther) const |
|
bool | IsDefined (Flags const &rOther) const |
|
bool | IsNot (Flags const &rOther) const |
|
bool | IsNotDefined (Flags const &rOther) const |
|
| KRATOS_CLASS_POINTER_DEFINITION (Flags) |
| Pointer definition of Flags. More...
|
|
const Flags & | operator|= (const Flags &Other) |
|
const Flags & | operator&= (const Flags &Other) |
|
| Flags () |
| Default constructor. More...
|
|
| Flags (Flags const &rOther) |
| Copy constructor. More...
|
|
virtual | ~Flags () |
| Destructor. More...
|
|
template<> |
void | AssignValueToNodes (const Variable< bool > &rVariable, const bool value) |
|
template<> |
void | AssignValueToConditions (const Variable< bool > &rVariable, const bool value) |
|
template<> |
void | AssignValueToElements (const Variable< bool > &rVariable, const bool value) |
|
| AssignScalarVariableToEntitiesProcess (ModelPart &rModelPart, Parameters rParameters) |
| Default constructor. More...
|
|
| ~AssignScalarVariableToEntitiesProcess () override |
| Destructor. More...
|
|
| AssignScalarVariableToEntitiesProcess (ModelPart &rModelPart) |
|
| AssignScalarVariableToEntitiesProcess (ModelPart &rModelPart, Parameters rParameters) |
|
| ~AssignScalarVariableToEntitiesProcess () override |
| Destructor. More...
|
|
| AssignScalarVariableToEntitiesProcess (ModelPart &rModelPart) |
|
| AssignScalarVariableToEntitiesProcess (ModelPart &rModelPart, Parameters rParameters) |
|
| ~AssignScalarVariableToEntitiesProcess () override |
| Destructor. More...
|
|
void | operator() () |
| This operator is provided to call the process as a function and simply calls the Execute method. More...
|
|
void | operator() () |
| This operator is provided to call the process as a function and simply calls the Execute method. More...
|
|
void | operator() () |
| This operator is provided to call the process as a function and simply calls the Execute method. More...
|
|
const Parameters | GetDefaultParameters () const override |
| This method provides the defaults parameters to avoid conflicts between the different constructors. More...
|
|
void | Execute () override |
| Execute method is used to execute the AssignScalarVariableToEntitiesProcess algorithms. More...
|
|
void | ExecuteInitialize () override |
|
void | ExecuteBeforeSolutionLoop () override |
|
void | ExecuteInitializeSolutionStep () override |
| this function will be executed at every time step BEFORE performing the solve phase More...
|
|
void | ExecuteFinalizeSolutionStep () override |
| this function will be executed at every time step AFTER performing the solve phase More...
|
|
void | ExecuteBeforeOutputStep () override |
| this function will be executed at every time step BEFORE writing the output More...
|
|
void | ExecuteAfterOutputStep () override |
| this function will be executed at every time step AFTER writing the output More...
|
|
void | ExecuteFinalize () override |
|
std::string | Info () const override |
| Turn back information as a string. More...
|
|
void | PrintInfo (std::ostream &rOStream) const override |
| Print information about this object. More...
|
|
void | PrintData (std::ostream &rOStream) const override |
| Print object's data. More...
|
|
| KRATOS_CLASS_POINTER_DEFINITION (AssignScalarVariableToEntitiesProcess) |
| Pointer definition of AssignScalarVariableToEntitiesProcess. More...
|
|
| KRATOS_CLASS_POINTER_DEFINITION (AssignScalarVariableToEntitiesProcess) |
| Pointer definition of AssignScalarVariableToEntitiesProcess. More...
|
|
| KRATOS_CLASS_POINTER_DEFINITION (AssignScalarVariableToEntitiesProcess) |
| Pointer definition of AssignScalarVariableToEntitiesProcess. More...
|
|
|
|
| AssignScalarFieldToEntitiesProcess (AssignScalarFieldToEntitiesProcess const &rOther) |
| Copy constructor. More...
|
|
| AssignScalarFieldToEntitiesProcess (AssignScalarFieldToEntitiesProcess const &rOther) |
| Copy constructor. More...
|
|
|
void | LocalAxesTransform (const double &rX_global, const double &rY_global, const double &rZ_global, double &rx_local, double &ry_local, double &rz_local) |
|
void | CallFunction (const Node::Pointer &pNode, const double &time, double &rValue) |
|
void | CallFunction (const Condition::Pointer &pCondition, const double &time, Vector &rValue) |
|
void | CallFunction (const Element::Pointer &pElement, const double &time, Vector &rValue) |
|
template<class TVarType > |
void | AssignValueToNodes (TVarType &rVariable, const double &rTime) |
|
template<class TVarType > |
void | AssignValueToConditions (TVarType &rVariable, const double &rTime) |
|
template<class TVarType , class TDataType > |
void | AssignValueToConditions (TVarType &rVariable, const TDataType Value) |
|
template<class TVarType > |
void | AssignValueToElements (TVarType &rVariable, const double &rTime) |
|
void | LocalAxesTransform (const double &rX_global, const double &rY_global, const double &rZ_global, double &rx_local, double &ry_local, double &rz_local) |
|
void | CallFunction (const Node::Pointer &pNode, const double &time, double &rValue) |
|
void | CallFunction (const Condition::Pointer &pCondition, const double &time, Vector &rValue) |
|
void | CallFunction (const Element::Pointer &pElement, const double &time, Vector &rValue) |
|
template<class TVarType > |
void | AssignValueToNodes (TVarType &rVariable, const double &rTime) |
|
template<class TVarType > |
void | AssignValueToConditions (TVarType &rVariable, const double &rTime) |
|
template<class TVarType , class TDataType > |
void | AssignValueToConditions (TVarType &rVariable, const TDataType Value) |
|
template<class TVarType > |
void | AssignValueToElements (TVarType &rVariable, const double &rTime) |
|
| AssignScalarVariableToEntitiesProcess (AssignScalarVariableToEntitiesProcess const &rOther) |
| Copy constructor. More...
|
|
| AssignScalarVariableToEntitiesProcess (AssignScalarVariableToEntitiesProcess const &rOther) |
| Copy constructor. More...
|
|
void | SetAssignmentType (std::string method, AssignmentType &rAssignment) |
|
template<class TVarType , class TDataType > |
void | DirectAssignValue (ModelPart::NodeType &rNode, const TVarType &rVariable, const TDataType &value) |
|
template<class TVarType , class TDataType > |
void | AddAssignValue (ModelPart::NodeType &rNode, const TVarType &rVariable, const TDataType &value) |
|
template<class TVarType , class TDataType > |
void | SubtractAssignValue (ModelPart::NodeType &rNode, const TVarType &rVariable, const TDataType &value) |
|
template<class TVarType , class TDataType > |
void | MultiplyAssignValue (ModelPart::NodeType &rNode, const TVarType &rVariable, const TDataType &value) |
|
template<class TVarType , class TDataType > |
void | DivideAssignValue (ModelPart::NodeType &rNode, const TVarType &rVariable, const TDataType &value) |
|
template<class TEntityType , class TVarType , class TDataType > |
void | DirectAssignValue (TEntityType &rEntity, const TVarType &rVariable, const TDataType &value) |
|
template<class TEntityType , class TVarType , class TDataType > |
void | AddAssignValue (TEntityType &rEntity, const TVarType &rVariable, const TDataType &value) |
|
template<class TEntityType , class TVarType , class TDataType > |
void | SubtractAssignValue (TEntityType &rEntity, const TVarType &rVariable, const TDataType &value) |
|
template<class TEntityType , class TVarType , class TDataType > |
void | MultiplyAssignValue (TEntityType &rEntity, const TVarType &rVariable, const TDataType value) |
|
template<class TEntityType , class TVarType , class TDataType > |
void | DivideAssignValue (TEntityType &rEntity, const TVarType &rVariable, const TDataType &value) |
|
template<class TEntityType > |
void | MultiplyAssignValue (TEntityType &rEntity, const Variable< Vector > &rVariable, const Vector &value) |
|
template<class TEntityType > |
void | DivideAssignValue (TEntityType &rEntity, const Variable< Vector > &rVariable, const Vector &value) |
|
template<class TEntityType > |
void | MultiplyAssignValue (TEntityType &rEntity, const Variable< array_1d< double, 3 >> &rVariable, const array_1d< double, 3 > &value) |
|
template<class TEntityType > |
void | DivideAssignValue (TEntityType &rEntity, const Variable< array_1d< double, 3 >> &rVariable, const array_1d< double, 3 > &value) |
|
template<class TMethodPointerType > |
TMethodPointerType | GetAssignmentMethod () |
|
void | SetAssignmentType (std::string method, AssignmentType &rAssignment) |
|
template<class TVarType , class TDataType > |
void | DirectAssignValue (ModelPart::NodeType &rNode, const TVarType &rVariable, const TDataType &value) |
|
template<class TVarType , class TDataType > |
void | AddAssignValue (ModelPart::NodeType &rNode, const TVarType &rVariable, const TDataType &value) |
|
template<class TVarType , class TDataType > |
void | SubtractAssignValue (ModelPart::NodeType &rNode, const TVarType &rVariable, const TDataType &value) |
|
template<class TVarType , class TDataType > |
void | MultiplyAssignValue (ModelPart::NodeType &rNode, const TVarType &rVariable, const TDataType &value) |
|
template<class TVarType , class TDataType > |
void | DivideAssignValue (ModelPart::NodeType &rNode, const TVarType &rVariable, const TDataType &value) |
|
template<class TEntityType , class TVarType , class TDataType > |
void | DirectAssignValue (TEntityType &rEntity, const TVarType &rVariable, const TDataType &value) |
|
template<class TEntityType , class TVarType , class TDataType > |
void | AddAssignValue (TEntityType &rEntity, const TVarType &rVariable, const TDataType &value) |
|
template<class TEntityType , class TVarType , class TDataType > |
void | SubtractAssignValue (TEntityType &rEntity, const TVarType &rVariable, const TDataType &value) |
|
template<class TEntityType , class TVarType , class TDataType > |
void | MultiplyAssignValue (TEntityType &rEntity, const TVarType &rVariable, const TDataType value) |
|
template<class TEntityType , class TVarType , class TDataType > |
void | DivideAssignValue (TEntityType &rEntity, const TVarType &rVariable, const TDataType &value) |
|
template<class TEntityType > |
void | MultiplyAssignValue (TEntityType &rEntity, const Variable< Vector > &rVariable, const Vector &value) |
|
template<class TEntityType > |
void | DivideAssignValue (TEntityType &rEntity, const Variable< Vector > &rVariable, const Vector &value) |
|
template<class TEntityType > |
void | MultiplyAssignValue (TEntityType &rEntity, const Variable< array_1d< double, 3 >> &rVariable, const array_1d< double, 3 > &value) |
|
template<class TEntityType > |
void | DivideAssignValue (TEntityType &rEntity, const Variable< array_1d< double, 3 >> &rVariable, const array_1d< double, 3 > &value) |
|
template<class TMethodPointerType > |
TMethodPointerType | GetAssignmentMethod () |
|
template<class TEntity>
class Kratos::AssignScalarFieldToEntitiesProcess< TEntity >
The base class for assigning a value to scalar variables or array_1d components processes in Kratos.
This process is used in order to assign a function to a entity.
This function assigns a value to a variable belonging to all of the nodes in a given mesh
This function assigns a value depending on a function to a variable in all of the conditions in a given mesh. The behaviour is the following:
- Option 1 - Variable<double>: It is evaluated in the center of the entities
- Option 2 - array_1d_component_type: The same as Variable evaluated in the center of the element
- Option 3 - Variable< Vector > : The vector has to have a size equal to the number of nodes, and its values are computed per each entry of the vector using the coordinates of the nodes which occupies the same position in the geometry
- Author
- Riccardo Rossi
-
Josep Maria Carbonell
-
Vicente Mataix Ferrandiz