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.
Public Member Functions | List of all members
Kratos::AssignScalarVariableToEntitiesProcess< 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_variable_to_entities_process.h>

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

Public Member Functions

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)
 
Life Cycle
 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...
 
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 AssignScalarVariableToEntitiesProcess 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 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
 
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
 
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...
 

Protected Member Functions

Protected Operators
 AssignScalarVariableToEntitiesProcess (AssignScalarVariableToEntitiesProcess const &rOther)
 Copy constructor. More...
 
 AssignScalarVariableToEntitiesProcess (AssignScalarVariableToEntitiesProcess const &rOther)
 Copy constructor. More...
 
Protected Operations
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 static Member Variables
std::string mvariable_name
 
EntityType mEntity
 
AssignmentType mAssignment
 

Type Definitions

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...
 
 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...
 

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
 
- 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::AssignScalarVariableToEntitiesProcess< TEntity >

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

This function assigns a value to a variable belonging to all of the entities in a given mesh.

This function assigns a value to a variable belonging to all of the nodes in a given mesh

Can be used to any entities

Template Parameters
TEntityThe entity type
Author
Josep Maria Carbonell
Vicente Mataix Ferrandiz

Member Typedef Documentation

◆ EntityContainerType

The container of the entities.

◆ NodeType

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

Node type definition.

Member Enumeration Documentation

◆ AssignmentType [1/2]

Enumerator
DIRECT 
ADDITION 
SUBTRACTION 
MULTIPLICATION 
DIVISION 
DIRECT 
ADDITION 
SUBTRACTION 
MULTIPLICATION 
DIVISION 

◆ AssignmentType [2/2]

Enumerator
DIRECT 
ADDITION 
SUBTRACTION 
MULTIPLICATION 
DIVISION 
DIRECT 
ADDITION 
SUBTRACTION 
MULTIPLICATION 
DIVISION 

◆ EntityType [1/2]

template<class TEntity >
enum Kratos::AssignScalarVariableToEntitiesProcess::EntityType
strong
Enumerator
NODES 
CONDITIONS 
ELEMENTS 
NODES 
CONDITIONS 
ELEMENTS 

◆ EntityType [2/2]

template<class TEntity >
enum Kratos::AssignScalarVariableToEntitiesProcess::EntityType
strong
Enumerator
NODES 
CONDITIONS 
ELEMENTS 
NODES 
CONDITIONS 
ELEMENTS 

Constructor & Destructor Documentation

◆ AssignScalarVariableToEntitiesProcess() [1/7]

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

Default constructor.

Parameters
rModelPartThe model part to be set
rParametersThe configuration parameters

◆ ~AssignScalarVariableToEntitiesProcess() [1/3]

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

Destructor.

◆ AssignScalarVariableToEntitiesProcess() [2/7]

template<class TEntity >
Kratos::AssignScalarVariableToEntitiesProcess< TEntity >::AssignScalarVariableToEntitiesProcess ( ModelPart rModelPart)
inline

◆ AssignScalarVariableToEntitiesProcess() [3/7]

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

◆ ~AssignScalarVariableToEntitiesProcess() [2/3]

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

Destructor.

◆ AssignScalarVariableToEntitiesProcess() [4/7]

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

Copy constructor.

◆ AssignScalarVariableToEntitiesProcess() [5/7]

template<class TEntity >
Kratos::AssignScalarVariableToEntitiesProcess< TEntity >::AssignScalarVariableToEntitiesProcess ( ModelPart rModelPart)
inline

◆ AssignScalarVariableToEntitiesProcess() [6/7]

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

◆ ~AssignScalarVariableToEntitiesProcess() [3/3]

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

Destructor.

◆ AssignScalarVariableToEntitiesProcess() [7/7]

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

Copy constructor.

Member Function Documentation

◆ AddAssignValue() [1/4]

template<class TEntity >
template<class TVarType , class TDataType >
void Kratos::AssignScalarVariableToEntitiesProcess< TEntity >::AddAssignValue ( ModelPart::NodeType rNode,
const TVarType &  rVariable,
const TDataType &  value 
)
inlineprotected

◆ AddAssignValue() [2/4]

template<class TEntity >
template<class TVarType , class TDataType >
void Kratos::AssignScalarVariableToEntitiesProcess< TEntity >::AddAssignValue ( ModelPart::NodeType rNode,
const TVarType &  rVariable,
const TDataType &  value 
)
inlineprotected

◆ AddAssignValue() [3/4]

template<class TEntity >
template<class TEntityType , class TVarType , class TDataType >
void Kratos::AssignScalarVariableToEntitiesProcess< TEntity >::AddAssignValue ( TEntityType &  rEntity,
const TVarType &  rVariable,
const TDataType &  value 
)
inlineprotected

◆ AddAssignValue() [4/4]

template<class TEntity >
template<class TEntityType , class TVarType , class TDataType >
void Kratos::AssignScalarVariableToEntitiesProcess< TEntity >::AddAssignValue ( TEntityType &  rEntity,
const TVarType &  rVariable,
const TDataType &  value 
)
inlineprotected

◆ AssignValueToConditions()

void Kratos::AssignScalarVariableToEntitiesProcess::AssignValueToConditions< Variable< bool >, bool > ( const Variable< bool > &  rVariable,
const bool  value 
)

◆ AssignValueToElements()

void Kratos::AssignScalarVariableToEntitiesProcess::AssignValueToElements< Variable< bool >, bool > ( const Variable< bool > &  rVariable,
const bool  value 
)

◆ AssignValueToNodes()

void Kratos::AssignScalarVariableToEntitiesProcess::AssignValueToNodes< Variable< bool >, bool > ( const Variable< bool > &  rVariable,
const bool  value 
)

◆ DirectAssignValue() [1/4]

template<class TEntity >
template<class TVarType , class TDataType >
void Kratos::AssignScalarVariableToEntitiesProcess< TEntity >::DirectAssignValue ( ModelPart::NodeType rNode,
const TVarType &  rVariable,
const TDataType &  value 
)
inlineprotected

◆ DirectAssignValue() [2/4]

template<class TEntity >
template<class TVarType , class TDataType >
void Kratos::AssignScalarVariableToEntitiesProcess< TEntity >::DirectAssignValue ( ModelPart::NodeType rNode,
const TVarType &  rVariable,
const TDataType &  value 
)
inlineprotected

◆ DirectAssignValue() [3/4]

template<class TEntity >
template<class TEntityType , class TVarType , class TDataType >
void Kratos::AssignScalarVariableToEntitiesProcess< TEntity >::DirectAssignValue ( TEntityType &  rEntity,
const TVarType &  rVariable,
const TDataType &  value 
)
inlineprotected

◆ DirectAssignValue() [4/4]

template<class TEntity >
template<class TEntityType , class TVarType , class TDataType >
void Kratos::AssignScalarVariableToEntitiesProcess< TEntity >::DirectAssignValue ( TEntityType &  rEntity,
const TVarType &  rVariable,
const TDataType &  value 
)
inlineprotected

◆ DivideAssignValue() [1/8]

template<class TEntity >
template<class TVarType , class TDataType >
void Kratos::AssignScalarVariableToEntitiesProcess< TEntity >::DivideAssignValue ( ModelPart::NodeType rNode,
const TVarType &  rVariable,
const TDataType &  value 
)
inlineprotected

◆ DivideAssignValue() [2/8]

template<class TEntity >
template<class TVarType , class TDataType >
void Kratos::AssignScalarVariableToEntitiesProcess< TEntity >::DivideAssignValue ( ModelPart::NodeType rNode,
const TVarType &  rVariable,
const TDataType &  value 
)
inlineprotected

◆ DivideAssignValue() [3/8]

template<class TEntity >
template<class TEntityType , class TVarType , class TDataType >
void Kratos::AssignScalarVariableToEntitiesProcess< TEntity >::DivideAssignValue ( TEntityType &  rEntity,
const TVarType &  rVariable,
const TDataType &  value 
)
inlineprotected

◆ DivideAssignValue() [4/8]

template<class TEntity >
template<class TEntityType , class TVarType , class TDataType >
void Kratos::AssignScalarVariableToEntitiesProcess< TEntity >::DivideAssignValue ( TEntityType &  rEntity,
const TVarType &  rVariable,
const TDataType &  value 
)
inlineprotected

◆ DivideAssignValue() [5/8]

template<class TEntity >
template<class TEntityType >
void Kratos::AssignScalarVariableToEntitiesProcess< TEntity >::DivideAssignValue ( TEntityType &  rEntity,
const Variable< array_1d< double, 3 >> &  rVariable,
const array_1d< double, 3 > &  value 
)
inlineprotected

◆ DivideAssignValue() [6/8]

template<class TEntity >
template<class TEntityType >
void Kratos::AssignScalarVariableToEntitiesProcess< TEntity >::DivideAssignValue ( TEntityType &  rEntity,
const Variable< array_1d< double, 3 >> &  rVariable,
const array_1d< double, 3 > &  value 
)
inlineprotected

◆ DivideAssignValue() [7/8]

template<class TEntity >
template<class TEntityType >
void Kratos::AssignScalarVariableToEntitiesProcess< TEntity >::DivideAssignValue ( TEntityType &  rEntity,
const Variable< Vector > &  rVariable,
const Vector value 
)
inlineprotected

◆ DivideAssignValue() [8/8]

template<class TEntity >
template<class TEntityType >
void Kratos::AssignScalarVariableToEntitiesProcess< TEntity >::DivideAssignValue ( TEntityType &  rEntity,
const Variable< Vector > &  rVariable,
const Vector value 
)
inlineprotected

◆ Execute() [1/3]

template<class TEntity >
void Kratos::AssignScalarVariableToEntitiesProcess< TEntity >::Execute ( )
overridevirtual

◆ Execute() [2/3]

template<class TEntity >
void Kratos::AssignScalarVariableToEntitiesProcess< TEntity >::Execute ( )
overridevirtual

Execute method is used to execute the AssignScalarVariableToEntitiesProcess algorithms.

Reimplemented from Kratos::Process.

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

◆ Execute() [3/3]

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

◆ ExecuteAfterOutputStep() [1/2]

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

◆ ExecuteAfterOutputStep() [2/2]

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

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

Reimplemented from Kratos::Process.

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

◆ ExecuteBeforeOutputStep() [1/2]

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

◆ ExecuteBeforeOutputStep() [2/2]

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

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

Reimplemented from Kratos::Process.

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

◆ ExecuteBeforeSolutionLoop() [1/2]

template<class TEntity >
void Kratos::AssignScalarVariableToEntitiesProcess< 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::AssignVectorVariableToConditionsProcess, Kratos::AssignVectorFieldToEntitiesProcess, Kratos::AssignScalarFieldToEntitiesProcess< TEntity >, Kratos::AssignVectorVariableToConditionsProcess, and Kratos::AssignVectorFieldToEntitiesProcess.

◆ ExecuteBeforeSolutionLoop() [2/2]

template<class TEntity >
void Kratos::AssignScalarVariableToEntitiesProcess< 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::AssignVectorVariableToConditionsProcess, and Kratos::AssignVectorFieldToEntitiesProcess.

◆ ExecuteFinalize() [1/2]

template<class TEntity >
void Kratos::AssignScalarVariableToEntitiesProcess< TEntity >::ExecuteFinalize ( )
overridevirtual

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::AssignVectorVariableToConditionsProcess, Kratos::AssignVectorFieldToEntitiesProcess, Kratos::AssignScalarFieldToEntitiesProcess< TEntity >, Kratos::AssignVectorVariableToConditionsProcess, and Kratos::AssignVectorFieldToEntitiesProcess.

◆ ExecuteFinalize() [2/2]

template<class TEntity >
void Kratos::AssignScalarVariableToEntitiesProcess< TEntity >::ExecuteFinalize ( )
overridevirtual

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::AssignVectorVariableToConditionsProcess, and Kratos::AssignVectorFieldToEntitiesProcess.

◆ ExecuteFinalizeSolutionStep() [1/2]

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

◆ ExecuteFinalizeSolutionStep() [2/2]

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

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

Reimplemented from Kratos::Process.

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

◆ ExecuteInitialize() [1/2]

template<class TEntity >
void Kratos::AssignScalarVariableToEntitiesProcess< 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::AssignVectorVariableToConditionsProcess, Kratos::AssignVectorFieldToEntitiesProcess, Kratos::AssignScalarFieldToEntitiesProcess< TEntity >, Kratos::AssignVectorVariableToConditionsProcess, and Kratos::AssignVectorFieldToEntitiesProcess.

◆ ExecuteInitialize() [2/2]

template<class TEntity >
void Kratos::AssignScalarVariableToEntitiesProcess< 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::AssignVectorVariableToConditionsProcess, and Kratos::AssignVectorFieldToEntitiesProcess.

◆ ExecuteInitializeSolutionStep() [1/3]

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

◆ ExecuteInitializeSolutionStep() [2/3]

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

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

Reimplemented from Kratos::Process.

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

◆ ExecuteInitializeSolutionStep() [3/3]

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

◆ GetAssignmentMethod() [1/2]

template<class TEntity >
template<class TMethodPointerType >
TMethodPointerType Kratos::AssignScalarVariableToEntitiesProcess< TEntity >::GetAssignmentMethod ( )
inlineprotected

◆ GetAssignmentMethod() [2/2]

template<class TEntity >
template<class TMethodPointerType >
TMethodPointerType Kratos::AssignScalarVariableToEntitiesProcess< TEntity >::GetAssignmentMethod ( )
inlineprotected

◆ GetDefaultParameters()

template<class TEntity >
const Parameters Kratos::AssignScalarVariableToEntitiesProcess< 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::AssignScalarVariableToEntitiesProcess< TEntity >::Info ( ) const
inlineoverridevirtual

◆ Info() [2/3]

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

Turn back information as a string.

Reimplemented from Kratos::Process.

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

◆ Info() [3/3]

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

◆ KRATOS_CLASS_POINTER_DEFINITION() [1/3]

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

Pointer definition of AssignScalarVariableToEntitiesProcess.

◆ KRATOS_CLASS_POINTER_DEFINITION() [2/3]

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

Pointer definition of AssignScalarVariableToEntitiesProcess.

◆ KRATOS_CLASS_POINTER_DEFINITION() [3/3]

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

Pointer definition of AssignScalarVariableToEntitiesProcess.

◆ MultiplyAssignValue() [1/8]

template<class TEntity >
template<class TVarType , class TDataType >
void Kratos::AssignScalarVariableToEntitiesProcess< TEntity >::MultiplyAssignValue ( ModelPart::NodeType rNode,
const TVarType &  rVariable,
const TDataType &  value 
)
inlineprotected

◆ MultiplyAssignValue() [2/8]

template<class TEntity >
template<class TVarType , class TDataType >
void Kratos::AssignScalarVariableToEntitiesProcess< TEntity >::MultiplyAssignValue ( ModelPart::NodeType rNode,
const TVarType &  rVariable,
const TDataType &  value 
)
inlineprotected

◆ MultiplyAssignValue() [3/8]

template<class TEntity >
template<class TEntityType , class TVarType , class TDataType >
void Kratos::AssignScalarVariableToEntitiesProcess< TEntity >::MultiplyAssignValue ( TEntityType &  rEntity,
const TVarType &  rVariable,
const TDataType  value 
)
inlineprotected

◆ MultiplyAssignValue() [4/8]

template<class TEntity >
template<class TEntityType , class TVarType , class TDataType >
void Kratos::AssignScalarVariableToEntitiesProcess< TEntity >::MultiplyAssignValue ( TEntityType &  rEntity,
const TVarType &  rVariable,
const TDataType  value 
)
inlineprotected

◆ MultiplyAssignValue() [5/8]

template<class TEntity >
template<class TEntityType >
void Kratos::AssignScalarVariableToEntitiesProcess< TEntity >::MultiplyAssignValue ( TEntityType &  rEntity,
const Variable< array_1d< double, 3 >> &  rVariable,
const array_1d< double, 3 > &  value 
)
inlineprotected

◆ MultiplyAssignValue() [6/8]

template<class TEntity >
template<class TEntityType >
void Kratos::AssignScalarVariableToEntitiesProcess< TEntity >::MultiplyAssignValue ( TEntityType &  rEntity,
const Variable< array_1d< double, 3 >> &  rVariable,
const array_1d< double, 3 > &  value 
)
inlineprotected

◆ MultiplyAssignValue() [7/8]

template<class TEntity >
template<class TEntityType >
void Kratos::AssignScalarVariableToEntitiesProcess< TEntity >::MultiplyAssignValue ( TEntityType &  rEntity,
const Variable< Vector > &  rVariable,
const Vector value 
)
inlineprotected

◆ MultiplyAssignValue() [8/8]

template<class TEntity >
template<class TEntityType >
void Kratos::AssignScalarVariableToEntitiesProcess< TEntity >::MultiplyAssignValue ( TEntityType &  rEntity,
const Variable< Vector > &  rVariable,
const Vector value 
)
inlineprotected

◆ operator()() [1/3]

template<class TEntity >
void Kratos::AssignScalarVariableToEntitiesProcess< 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::AssignScalarVariableToEntitiesProcess< 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::AssignScalarVariableToEntitiesProcess< 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::AssignScalarVariableToEntitiesProcess< TEntity >::PrintData ( std::ostream &  rOStream) const
inlineoverridevirtual

◆ PrintData() [2/3]

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

◆ PrintData() [3/3]

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

◆ PrintInfo() [1/3]

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

◆ PrintInfo() [2/3]

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

Print information about this object.

Reimplemented from Kratos::Process.

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

◆ PrintInfo() [3/3]

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

◆ SetAssignmentType() [1/2]

template<class TEntity >
void Kratos::AssignScalarVariableToEntitiesProcess< TEntity >::SetAssignmentType ( std::string  method,
AssignmentType rAssignment 
)
inlineprotected

◆ SetAssignmentType() [2/2]

template<class TEntity >
void Kratos::AssignScalarVariableToEntitiesProcess< TEntity >::SetAssignmentType ( std::string  method,
AssignmentType rAssignment 
)
inlineprotected

◆ SubtractAssignValue() [1/4]

template<class TEntity >
template<class TVarType , class TDataType >
void Kratos::AssignScalarVariableToEntitiesProcess< TEntity >::SubtractAssignValue ( ModelPart::NodeType rNode,
const TVarType &  rVariable,
const TDataType &  value 
)
inlineprotected

◆ SubtractAssignValue() [2/4]

template<class TEntity >
template<class TVarType , class TDataType >
void Kratos::AssignScalarVariableToEntitiesProcess< TEntity >::SubtractAssignValue ( ModelPart::NodeType rNode,
const TVarType &  rVariable,
const TDataType &  value 
)
inlineprotected

◆ SubtractAssignValue() [3/4]

template<class TEntity >
template<class TEntityType , class TVarType , class TDataType >
void Kratos::AssignScalarVariableToEntitiesProcess< TEntity >::SubtractAssignValue ( TEntityType &  rEntity,
const TVarType &  rVariable,
const TDataType &  value 
)
inlineprotected

◆ SubtractAssignValue() [4/4]

template<class TEntity >
template<class TEntityType , class TVarType , class TDataType >
void Kratos::AssignScalarVariableToEntitiesProcess< TEntity >::SubtractAssignValue ( TEntityType &  rEntity,
const TVarType &  rVariable,
const TDataType &  value 
)
inlineprotected

Member Data Documentation

◆ mAssignment

template<class TEntity >
AssignmentType Kratos::AssignScalarVariableToEntitiesProcess< TEntity >::mAssignment
protected

◆ mEntity

template<class TEntity >
EntityType Kratos::AssignScalarVariableToEntitiesProcess< TEntity >::mEntity
protected

◆ mvariable_name

template<class TEntity >
std::string Kratos::AssignScalarVariableToEntitiesProcess< TEntity >::mvariable_name
protected

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