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.
List of all members
Kratos::AssignScalarFieldToEntitiesProcess< TEntity > Class Template Reference

The base class for assigning a value to scalar variables or array_1d components processes in Kratos. More...

#include <assign_scalar_field_to_entities_process.h>

Inheritance diagram for Kratos::AssignScalarFieldToEntitiesProcess< TEntity >:
Collaboration diagram for Kratos::AssignScalarFieldToEntitiesProcess< TEntity >:

Public Member Functions

Life Cycle
 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...
 
Operators
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...
 
Operations
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
 
Input and output
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...
 
- Public Member Functions inherited from Kratos::Process
 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...
 
- Public Member Functions inherited from Kratos::Flags
Flagsoperator= (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 Flagsoperator|= (const Flags &Other)
 
const Flagsoperator&= (const Flags &Other)
 
 Flags ()
 Default constructor. More...
 
 Flags (Flags const &rOther)
 Copy constructor. More...
 
virtual ~Flags ()
 Destructor. More...
 
- Public Member Functions inherited from Kratos::AssignScalarVariableToEntitiesProcess< TEntity >
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...
 

Protected Member Functions

Protected Operators
 AssignScalarFieldToEntitiesProcess (AssignScalarFieldToEntitiesProcess const &rOther)
 Copy constructor. More...
 
 AssignScalarFieldToEntitiesProcess (AssignScalarFieldToEntitiesProcess const &rOther)
 Copy constructor. More...
 
Protected Operations
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)
 
- Protected Member Functions inherited from Kratos::AssignScalarVariableToEntitiesProcess< TEntity >
 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 ()
 

Protected Attributes

Protected member Variables
pybind11::object mPyObject
 
std::string mPyMethodName
 
Vector mLocalOrigin
 
Matrix mTransformationMatrix
 
bool mIsSpatialField
 
bool mHasLocalOrigin
 
bool mHasLocalAxes
 
- Protected Attributes inherited from Kratos::AssignScalarVariableToEntitiesProcess< TEntity >
std::string mvariable_name
 
EntityType mEntity
 
AssignmentType mAssignment
 

Type Definitions

typedef Node NodeType
 The definitionof the node. More...
 
typedef Geometry< NodeTypeGeometryType
 The definitionof the geometry. More...
 
typedef std::size_t IndexType
 The IndexType definition. More...
 
typedef std::size_t SizeType
 The sizeType definition. More...
 
typedef PointerVectorSet< TEntity, IndexedObjectEntityContainerType
 The container of the entities. More...
 
typedef AssignScalarVariableToEntitiesProcess BaseType
 
typedef AssignScalarVariableToEntitiesProcess BaseType
 
 KRATOS_CLASS_POINTER_DEFINITION (AssignScalarFieldToEntitiesProcess)
 Pointer definition of AssignScalarFieldToEntitiesProcess. More...
 
 KRATOS_CLASS_POINTER_DEFINITION (AssignScalarFieldToEntitiesProcess)
 Pointer definition of AssignScalarFieldToEntitiesProcess. More...
 
 KRATOS_CLASS_POINTER_DEFINITION (AssignScalarFieldToEntitiesProcess)
 Pointer definition of AssignScalarFieldToEntitiesProcess. More...
 

Additional Inherited Members

- Public Types inherited from Kratos::Flags
enum  FlagsList {
  Flag0 = BlockType(1) , Flag1 = BlockType(1) << 1 , Flag2 = BlockType(1) << 2 , Flag3 = BlockType(1) << 3 ,
  Flag4 = BlockType(1) << 4 , Flag5 = BlockType(1) << 5 , Flag6 = BlockType(1) << 6 , Flag7 = BlockType(1) << 7 ,
  Flag8 = BlockType(1) << 8 , Flag9 = BlockType(1) << 9 , Flag10 = BlockType(1) << 10 , Flag11 = BlockType(1) << 11 ,
  Flag12 = BlockType(1) << 12 , Flag13 = BlockType(1) << 13 , Flag14 = BlockType(1) << 14 , Flag15 = BlockType(1) << 15 ,
  Flag16 = BlockType(1) << 16 , Flag17 = BlockType(1) << 17 , Flag18 = BlockType(1) << 18 , Flag19 = BlockType(1) << 19 ,
  Flag20 = BlockType(1) << 20 , Flag21 = BlockType(1) << 21 , Flag22 = BlockType(1) << 22 , Flag23 = BlockType(1) << 23 ,
  Flag24 = BlockType(1) << 24 , Flag25 = BlockType(1) << 25 , Flag26 = BlockType(1) << 26 , Flag27 = BlockType(1) << 27 ,
  Flag28 = BlockType(1) << 28 , Flag29 = BlockType(1) << 29 , Flag30 = BlockType(1) << 30
}
 
typedef int64_t BlockType
 
typedef int64_t FlagType
 
typedef std::size_t IndexType
 
- Public Types inherited from Kratos::AssignScalarVariableToEntitiesProcess< TEntity >
enum class  EntityType {
  NODES , CONDITIONS , ELEMENTS , NODES ,
  CONDITIONS , ELEMENTS
}
 
enum class  AssignmentType {
  DIRECT , ADDITION , SUBTRACTION , MULTIPLICATION ,
  DIVISION , DIRECT , ADDITION , SUBTRACTION ,
  MULTIPLICATION , DIVISION
}
 
enum class  EntityType {
  NODES , CONDITIONS , ELEMENTS , NODES ,
  CONDITIONS , ELEMENTS
}
 
enum class  AssignmentType {
  DIRECT , ADDITION , SUBTRACTION , MULTIPLICATION ,
  DIVISION , DIRECT , ADDITION , SUBTRACTION ,
  MULTIPLICATION , DIVISION
}
 
typedef Node NodeType
 Node type definition. More...
 
typedef PointerVectorSet< TEntity, IndexedObjectEntityContainerType
 The container of the entities. More...
 
- Static Public Member Functions inherited from Kratos::Flags
static const Flags AllDefined ()
 
static const Flags AllTrue ()
 
static Flags Create (IndexType ThisPosition, bool Value=true)
 

Detailed Description

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:

Member Typedef Documentation

◆ BaseType [1/2]

◆ BaseType [2/2]

◆ EntityContainerType

template<class TEntity >
typedef PointerVectorSet<TEntity, IndexedObject> Kratos::AssignScalarFieldToEntitiesProcess< TEntity >::EntityContainerType

The container of the entities.

◆ GeometryType

template<class TEntity >
typedef Geometry<NodeType> Kratos::AssignScalarFieldToEntitiesProcess< TEntity >::GeometryType

The definitionof the geometry.

◆ IndexType

template<class TEntity >
typedef std::size_t Kratos::AssignScalarFieldToEntitiesProcess< TEntity >::IndexType

The IndexType definition.

◆ NodeType

template<class TEntity >
typedef Node Kratos::AssignScalarFieldToEntitiesProcess< TEntity >::NodeType

The definitionof the node.

◆ SizeType

template<class TEntity >
typedef std::size_t Kratos::AssignScalarFieldToEntitiesProcess< TEntity >::SizeType

The sizeType definition.

Constructor & Destructor Documentation

◆ AssignScalarFieldToEntitiesProcess() [1/7]

template<class TEntity >
Kratos::AssignScalarFieldToEntitiesProcess< TEntity >::AssignScalarFieldToEntitiesProcess ( ModelPart rModelPart,
Parameters  rParameters 
)

The default constructor.

Parameters
rModelPartThe model part where the scalar field will be applied
rParametersThe configuration parameters

◆ ~AssignScalarFieldToEntitiesProcess() [1/3]

template<class TEntity >
Kratos::AssignScalarFieldToEntitiesProcess< TEntity >::~AssignScalarFieldToEntitiesProcess ( )
inlineoverride

Destructor.

◆ AssignScalarFieldToEntitiesProcess() [2/7]

template<class TEntity >
Kratos::AssignScalarFieldToEntitiesProcess< TEntity >::AssignScalarFieldToEntitiesProcess ( ModelPart rModelPart,
pybind11::object &  pPyObject,
const std::string &  pPyMethodName,
const bool  SpatialFieldFunction,
Parameters  rParameters 
)
inline

◆ AssignScalarFieldToEntitiesProcess() [3/7]

template<class TEntity >
Kratos::AssignScalarFieldToEntitiesProcess< TEntity >::AssignScalarFieldToEntitiesProcess ( ModelPart rModelPart,
pybind11::object &  pPyObject,
const std::string &  pPyMethodName,
const bool  SpatialFieldFunction 
)
inline

◆ ~AssignScalarFieldToEntitiesProcess() [2/3]

template<class TEntity >
Kratos::AssignScalarFieldToEntitiesProcess< TEntity >::~AssignScalarFieldToEntitiesProcess ( )
inlineoverride

Destructor.

◆ AssignScalarFieldToEntitiesProcess() [4/7]

template<class TEntity >
Kratos::AssignScalarFieldToEntitiesProcess< TEntity >::AssignScalarFieldToEntitiesProcess ( AssignScalarFieldToEntitiesProcess< TEntity > const &  rOther)
protected

Copy constructor.

◆ AssignScalarFieldToEntitiesProcess() [5/7]

template<class TEntity >
Kratos::AssignScalarFieldToEntitiesProcess< TEntity >::AssignScalarFieldToEntitiesProcess ( ModelPart rModelPart,
pybind11::object &  pPyObject,
const std::string &  pPyMethodName,
const bool  SpatialFieldFunction,
Parameters  rParameters 
)
inline

◆ AssignScalarFieldToEntitiesProcess() [6/7]

template<class TEntity >
Kratos::AssignScalarFieldToEntitiesProcess< TEntity >::AssignScalarFieldToEntitiesProcess ( ModelPart rModelPart,
pybind11::object &  pPyObject,
const std::string &  pPyMethodName,
const bool  SpatialFieldFunction 
)
inline

◆ ~AssignScalarFieldToEntitiesProcess() [3/3]

template<class TEntity >
Kratos::AssignScalarFieldToEntitiesProcess< TEntity >::~AssignScalarFieldToEntitiesProcess ( )
inlineoverride

Destructor.

◆ AssignScalarFieldToEntitiesProcess() [7/7]

template<class TEntity >
Kratos::AssignScalarFieldToEntitiesProcess< TEntity >::AssignScalarFieldToEntitiesProcess ( AssignScalarFieldToEntitiesProcess< TEntity > const &  rOther)
protected

Copy constructor.

Member Function Documentation

◆ AssignValueToConditions() [1/4]

template<class TEntity >
template<class TVarType >
void Kratos::AssignScalarFieldToEntitiesProcess< TEntity >::AssignValueToConditions ( TVarType &  rVariable,
const double rTime 
)
inlineprotected

◆ AssignValueToConditions() [2/4]

template<class TEntity >
template<class TVarType >
void Kratos::AssignScalarFieldToEntitiesProcess< TEntity >::AssignValueToConditions ( TVarType &  rVariable,
const double rTime 
)
inlineprotected

◆ AssignValueToConditions() [3/4]

template<class TEntity >
template<class TVarType , class TDataType >
void Kratos::AssignScalarFieldToEntitiesProcess< TEntity >::AssignValueToConditions ( TVarType &  rVariable,
const TDataType  Value 
)
inlineprotected

◆ AssignValueToConditions() [4/4]

template<class TEntity >
template<class TVarType , class TDataType >
void Kratos::AssignScalarFieldToEntitiesProcess< TEntity >::AssignValueToConditions ( TVarType &  rVariable,
const TDataType  Value 
)
inlineprotected

◆ AssignValueToElements() [1/2]

template<class TEntity >
template<class TVarType >
void Kratos::AssignScalarFieldToEntitiesProcess< TEntity >::AssignValueToElements ( TVarType &  rVariable,
const double rTime 
)
inlineprotected

◆ AssignValueToElements() [2/2]

template<class TEntity >
template<class TVarType >
void Kratos::AssignScalarFieldToEntitiesProcess< TEntity >::AssignValueToElements ( TVarType &  rVariable,
const double rTime 
)
inlineprotected

◆ AssignValueToNodes() [1/2]

template<class TEntity >
template<class TVarType >
void Kratos::AssignScalarFieldToEntitiesProcess< TEntity >::AssignValueToNodes ( TVarType &  rVariable,
const double rTime 
)
inlineprotected

◆ AssignValueToNodes() [2/2]

template<class TEntity >
template<class TVarType >
void Kratos::AssignScalarFieldToEntitiesProcess< TEntity >::AssignValueToNodes ( TVarType &  rVariable,
const double rTime 
)
inlineprotected

◆ CallFunction() [1/6]

template<class TEntity >
void Kratos::AssignScalarFieldToEntitiesProcess< TEntity >::CallFunction ( const Condition::Pointer &  pCondition,
const double time,
Vector rValue 
)
inlineprotected

◆ CallFunction() [2/6]

template<class TEntity >
void Kratos::AssignScalarFieldToEntitiesProcess< TEntity >::CallFunction ( const Condition::Pointer &  pCondition,
const double time,
Vector rValue 
)
inlineprotected

◆ CallFunction() [3/6]

template<class TEntity >
void Kratos::AssignScalarFieldToEntitiesProcess< TEntity >::CallFunction ( const Element::Pointer &  pElement,
const double time,
Vector rValue 
)
inlineprotected

◆ CallFunction() [4/6]

template<class TEntity >
void Kratos::AssignScalarFieldToEntitiesProcess< TEntity >::CallFunction ( const Element::Pointer &  pElement,
const double time,
Vector rValue 
)
inlineprotected

◆ CallFunction() [5/6]

template<class TEntity >
void Kratos::AssignScalarFieldToEntitiesProcess< TEntity >::CallFunction ( const Node::Pointer &  pNode,
const double time,
double rValue 
)
inlineprotected

◆ CallFunction() [6/6]

template<class TEntity >
void Kratos::AssignScalarFieldToEntitiesProcess< TEntity >::CallFunction ( const Node::Pointer &  pNode,
const double time,
double rValue 
)
inlineprotected

◆ Execute() [1/3]

template<class TEntity >
void Kratos::AssignScalarFieldToEntitiesProcess< TEntity >::Execute ( )
inlineoverridevirtual

◆ Execute() [2/3]

template<class TEntity >
void Kratos::AssignScalarFieldToEntitiesProcess< TEntity >::Execute ( )
inlineoverridevirtual

Execute method is used to execute the AssignScalarFieldToEntitiesProcess algorithms.

Reimplemented from Kratos::AssignScalarVariableToEntitiesProcess< TEntity >.

Reimplemented in Kratos::AssignVectorFieldToEntitiesProcess.

◆ Execute() [3/3]

template<class TEntity >
void Kratos::AssignScalarFieldToEntitiesProcess< TEntity >::Execute
overridevirtual

Execute method is used to execute the AssignScalarFieldToEntitiesProcess algorithms.

Reimplemented from Kratos::Process.

Reimplemented in Kratos::AssignVectorFieldToEntitiesProcess, and Kratos::AssignVectorFieldToEntitiesProcess.

◆ ExecuteAfterOutputStep() [1/2]

template<class TEntity >
void Kratos::AssignScalarFieldToEntitiesProcess< TEntity >::ExecuteAfterOutputStep ( )
inlineoverridevirtual

this function will be executed at every time step AFTER writing the output

Reimplemented from Kratos::Process.

Reimplemented in Kratos::AssignVectorFieldToEntitiesProcess, and Kratos::AssignVectorFieldToEntitiesProcess.

◆ ExecuteAfterOutputStep() [2/2]

template<class TEntity >
void Kratos::AssignScalarFieldToEntitiesProcess< TEntity >::ExecuteAfterOutputStep ( )
inlineoverridevirtual

this function will be executed at every time step AFTER writing the output

Reimplemented from Kratos::Process.

Reimplemented in Kratos::AssignVectorFieldToEntitiesProcess.

◆ ExecuteBeforeOutputStep() [1/2]

template<class TEntity >
void Kratos::AssignScalarFieldToEntitiesProcess< TEntity >::ExecuteBeforeOutputStep ( )
inlineoverridevirtual

this function will be executed at every time step BEFORE writing the output

Reimplemented from Kratos::Process.

Reimplemented in Kratos::AssignVectorFieldToEntitiesProcess, and Kratos::AssignVectorFieldToEntitiesProcess.

◆ ExecuteBeforeOutputStep() [2/2]

template<class TEntity >
void Kratos::AssignScalarFieldToEntitiesProcess< TEntity >::ExecuteBeforeOutputStep ( )
inlineoverridevirtual

this function will be executed at every time step BEFORE writing the output

Reimplemented from Kratos::Process.

Reimplemented in Kratos::AssignVectorFieldToEntitiesProcess.

◆ ExecuteBeforeSolutionLoop() [1/2]

template<class TEntity >
void Kratos::AssignScalarFieldToEntitiesProcess< TEntity >::ExecuteBeforeSolutionLoop ( )
inlineoverridevirtual

this function is designed for being execute once before the solution loop but after all of the solvers where built

Reimplemented from Kratos::Process.

Reimplemented in Kratos::AssignVectorFieldToEntitiesProcess, and Kratos::AssignVectorFieldToEntitiesProcess.

◆ ExecuteBeforeSolutionLoop() [2/2]

template<class TEntity >
void Kratos::AssignScalarFieldToEntitiesProcess< TEntity >::ExecuteBeforeSolutionLoop ( )
inlineoverridevirtual

this function is designed for being execute once before the solution loop but after all of the solvers where built

Reimplemented from Kratos::Process.

Reimplemented in Kratos::AssignVectorFieldToEntitiesProcess.

◆ ExecuteFinalize() [1/2]

template<class TEntity >
void Kratos::AssignScalarFieldToEntitiesProcess< TEntity >::ExecuteFinalize ( )
inlineoverridevirtual

this function is designed for being called at the end of the computations right after reading the model and the groups

Reimplemented from Kratos::Process.

Reimplemented in Kratos::AssignVectorFieldToEntitiesProcess, and Kratos::AssignVectorFieldToEntitiesProcess.

◆ ExecuteFinalize() [2/2]

template<class TEntity >
void Kratos::AssignScalarFieldToEntitiesProcess< TEntity >::ExecuteFinalize ( )
inlineoverridevirtual

this function is designed for being called at the end of the computations right after reading the model and the groups

Reimplemented from Kratos::Process.

Reimplemented in Kratos::AssignVectorFieldToEntitiesProcess.

◆ ExecuteFinalizeSolutionStep() [1/2]

template<class TEntity >
void Kratos::AssignScalarFieldToEntitiesProcess< TEntity >::ExecuteFinalizeSolutionStep ( )
inlineoverridevirtual

this function will be executed at every time step AFTER performing the solve phase

Reimplemented from Kratos::Process.

Reimplemented in Kratos::AssignVectorFieldToEntitiesProcess, and Kratos::AssignVectorFieldToEntitiesProcess.

◆ ExecuteFinalizeSolutionStep() [2/2]

template<class TEntity >
void Kratos::AssignScalarFieldToEntitiesProcess< TEntity >::ExecuteFinalizeSolutionStep ( )
inlineoverridevirtual

this function will be executed at every time step AFTER performing the solve phase

Reimplemented from Kratos::Process.

Reimplemented in Kratos::AssignVectorFieldToEntitiesProcess.

◆ ExecuteInitialize() [1/2]

template<class TEntity >
void Kratos::AssignScalarFieldToEntitiesProcess< TEntity >::ExecuteInitialize ( )
inlineoverridevirtual

this function is designed for being called at the beginning of the computations right after reading the model and the groups

Reimplemented from Kratos::Process.

Reimplemented in Kratos::AssignVectorFieldToEntitiesProcess, and Kratos::AssignVectorFieldToEntitiesProcess.

◆ ExecuteInitialize() [2/2]

template<class TEntity >
void Kratos::AssignScalarFieldToEntitiesProcess< TEntity >::ExecuteInitialize ( )
inlineoverridevirtual

this function is designed for being called at the beginning of the computations right after reading the model and the groups

Reimplemented from Kratos::Process.

Reimplemented in Kratos::AssignVectorFieldToEntitiesProcess.

◆ ExecuteInitializeSolutionStep() [1/3]

template<class TEntity >
void Kratos::AssignScalarFieldToEntitiesProcess< TEntity >::ExecuteInitializeSolutionStep ( )
inlineoverridevirtual

this function will be executed at every time step BEFORE performing the solve phase

Reimplemented from Kratos::AssignScalarVariableToEntitiesProcess< TEntity >.

Reimplemented in Kratos::AssignVectorFieldToEntitiesProcess, and Kratos::AssignVectorFieldToEntitiesProcess.

◆ ExecuteInitializeSolutionStep() [2/3]

template<class TEntity >
void Kratos::AssignScalarFieldToEntitiesProcess< TEntity >::ExecuteInitializeSolutionStep ( )
inlineoverridevirtual

this function will be executed at every time step BEFORE performing the solve phase

Reimplemented from Kratos::AssignScalarVariableToEntitiesProcess< TEntity >.

Reimplemented in Kratos::AssignVectorFieldToEntitiesProcess.

◆ ExecuteInitializeSolutionStep() [3/3]

template<class TEntity >
void Kratos::AssignScalarFieldToEntitiesProcess< TEntity >::ExecuteInitializeSolutionStep ( )
inlineoverridevirtual

This function will be executed at every time step BEFORE performing the solve phase.

Reimplemented from Kratos::Process.

Reimplemented in Kratos::AssignVectorFieldToEntitiesProcess, and Kratos::AssignVectorFieldToEntitiesProcess.

◆ GetDefaultParameters()

template<class TEntity >
const Parameters Kratos::AssignScalarFieldToEntitiesProcess< TEntity >::GetDefaultParameters
overridevirtual

This method provides the defaults parameters to avoid conflicts between the different constructors.

Reimplemented from Kratos::Process.

◆ Info() [1/3]

template<class TEntity >
std::string Kratos::AssignScalarFieldToEntitiesProcess< TEntity >::Info ( ) const
inlineoverridevirtual

◆ Info() [2/3]

template<class TEntity >
std::string Kratos::AssignScalarFieldToEntitiesProcess< TEntity >::Info ( ) const
inlineoverridevirtual

Turn back information as a string.

Reimplemented from Kratos::AssignScalarVariableToEntitiesProcess< TEntity >.

Reimplemented in Kratos::AssignVectorFieldToEntitiesProcess.

◆ Info() [3/3]

template<class TEntity >
std::string Kratos::AssignScalarFieldToEntitiesProcess< TEntity >::Info ( ) const
inlineoverridevirtual

Turn back information as a string.

Reimplemented from Kratos::Flags.

Reimplemented in Kratos::AssignVectorFieldToEntitiesProcess, and Kratos::AssignVectorFieldToEntitiesProcess.

◆ KRATOS_CLASS_POINTER_DEFINITION() [1/3]

template<class TEntity >
Kratos::AssignScalarFieldToEntitiesProcess< TEntity >::KRATOS_CLASS_POINTER_DEFINITION ( AssignScalarFieldToEntitiesProcess< TEntity >  )

Pointer definition of AssignScalarFieldToEntitiesProcess.

◆ KRATOS_CLASS_POINTER_DEFINITION() [2/3]

template<class TEntity >
Kratos::AssignScalarFieldToEntitiesProcess< TEntity >::KRATOS_CLASS_POINTER_DEFINITION ( AssignScalarFieldToEntitiesProcess< TEntity >  )

Pointer definition of AssignScalarFieldToEntitiesProcess.

◆ KRATOS_CLASS_POINTER_DEFINITION() [3/3]

template<class TEntity >
Kratos::AssignScalarFieldToEntitiesProcess< TEntity >::KRATOS_CLASS_POINTER_DEFINITION ( AssignScalarFieldToEntitiesProcess< TEntity >  )

Pointer definition of AssignScalarFieldToEntitiesProcess.

◆ LocalAxesTransform() [1/2]

template<class TEntity >
void Kratos::AssignScalarFieldToEntitiesProcess< TEntity >::LocalAxesTransform ( const double rX_global,
const double rY_global,
const double rZ_global,
double rx_local,
double ry_local,
double rz_local 
)
inlineprotected

◆ LocalAxesTransform() [2/2]

template<class TEntity >
void Kratos::AssignScalarFieldToEntitiesProcess< TEntity >::LocalAxesTransform ( const double rX_global,
const double rY_global,
const double rZ_global,
double rx_local,
double ry_local,
double rz_local 
)
inlineprotected

◆ operator()() [1/3]

template<class TEntity >
void Kratos::AssignScalarFieldToEntitiesProcess< TEntity >::operator() ( )
inline

This operator is provided to call the process as a function and simply calls the Execute method.

◆ operator()() [2/3]

template<class TEntity >
void Kratos::AssignScalarFieldToEntitiesProcess< TEntity >::operator() ( )
inline

This operator is provided to call the process as a function and simply calls the Execute method.

◆ operator()() [3/3]

template<class TEntity >
void Kratos::AssignScalarFieldToEntitiesProcess< TEntity >::operator() ( )
inline

This operator is provided to call the process as a function and simply calls the Execute method.

◆ PrintData() [1/3]

template<class TEntity >
void Kratos::AssignScalarFieldToEntitiesProcess< TEntity >::PrintData ( std::ostream &  rOStream) const
inlineoverridevirtual

◆ PrintData() [2/3]

template<class TEntity >
void Kratos::AssignScalarFieldToEntitiesProcess< TEntity >::PrintData ( std::ostream &  rOStream) const
inlineoverridevirtual

◆ PrintData() [3/3]

template<class TEntity >
void Kratos::AssignScalarFieldToEntitiesProcess< TEntity >::PrintData ( std::ostream &  rOStream) const
inlineoverridevirtual

Print object's data.

Reimplemented from Kratos::Flags.

Reimplemented in Kratos::AssignVectorFieldToEntitiesProcess, and Kratos::AssignVectorFieldToEntitiesProcess.

◆ PrintInfo() [1/3]

template<class TEntity >
void Kratos::AssignScalarFieldToEntitiesProcess< TEntity >::PrintInfo ( std::ostream &  rOStream) const
inlineoverridevirtual

◆ PrintInfo() [2/3]

template<class TEntity >
void Kratos::AssignScalarFieldToEntitiesProcess< TEntity >::PrintInfo ( std::ostream &  rOStream) const
inlineoverridevirtual

Print information about this object.

Reimplemented from Kratos::AssignScalarVariableToEntitiesProcess< TEntity >.

Reimplemented in Kratos::AssignVectorFieldToEntitiesProcess.

◆ PrintInfo() [3/3]

template<class TEntity >
void Kratos::AssignScalarFieldToEntitiesProcess< TEntity >::PrintInfo ( std::ostream &  rOStream) const
inlineoverridevirtual

Print information about this object.

Reimplemented from Kratos::Flags.

Reimplemented in Kratos::AssignVectorFieldToEntitiesProcess, and Kratos::AssignVectorFieldToEntitiesProcess.

Member Data Documentation

◆ mHasLocalAxes

template<class TEntity >
bool Kratos::AssignScalarFieldToEntitiesProcess< TEntity >::mHasLocalAxes
protected

◆ mHasLocalOrigin

template<class TEntity >
bool Kratos::AssignScalarFieldToEntitiesProcess< TEntity >::mHasLocalOrigin
protected

◆ mIsSpatialField

template<class TEntity >
bool Kratos::AssignScalarFieldToEntitiesProcess< TEntity >::mIsSpatialField
protected

◆ mLocalOrigin

template<class TEntity >
Vector Kratos::AssignScalarFieldToEntitiesProcess< TEntity >::mLocalOrigin
protected

◆ mPyMethodName

template<class TEntity >
std::string Kratos::AssignScalarFieldToEntitiesProcess< TEntity >::mPyMethodName
protected

◆ mPyObject

template<class TEntity >
pybind11::object Kratos::AssignScalarFieldToEntitiesProcess< TEntity >::mPyObject
protected

◆ mTransformationMatrix

template<class TEntity >
Matrix Kratos::AssignScalarFieldToEntitiesProcess< TEntity >::mTransformationMatrix
protected

The documentation for this class was generated from the following files: