6 #include "includes/global_variables.h"
7 #include "includes/model_part.h"
8 #include "includes/kratos_export_api.h"
32 template <Globals::DataLocation TLocation>
45 template <
class TVariable>
46 bool HasValue(
const TVariable& rVariable)
const
50 [&rVariable](
auto Proxy){
51 return Proxy.HasValue(rVariable);
58 template <
class TVariable>
59 typename TVariable::Type
GetValue(
const TVariable& rVariable)
const
63 [&rVariable](
auto Proxy){
64 return Proxy.GetValue(rVariable);
71 template <
class TVariable>
72 typename TVariable::Type&
GetValue(
const TVariable& rVariable)
76 [&rVariable](
auto Proxy){
77 return Proxy.GetValue(rVariable);
84 template <
class TVariable>
85 void SetValue(
const TVariable& rVariable,
const typename TVariable::Type& rValue)
const
89 [&rVariable, &rValue](
auto Proxy){
90 return Proxy.SetValue(rVariable, rValue);
Runtime version of EntityProxy.
Definition: DynamicEntityProxy.hpp:28
void SetValue(const TVariable &rVariable, const typename TVariable::Type &rValue) const
Definition: DynamicEntityProxy.hpp:85
DynamicEntityProxy(Globals::DataLocation Location, ProcessInfo &rProcessInfo)
TVariable::Type GetValue(const TVariable &rVariable) const
Definition: DynamicEntityProxy.hpp:59
DynamicEntityProxy(Globals::DataLocation Location, Element &rElement)
TVariable::Type & GetValue(const TVariable &rVariable)
Definition: DynamicEntityProxy.hpp:72
DynamicEntityProxy() noexcept=default
bool HasValue(const TVariable &rVariable) const
Definition: DynamicEntityProxy.hpp:46
DynamicEntityProxy(Globals::DataLocation Location, Node &rNode)
DynamicEntityProxy(Globals::DataLocation Location, Condition &rCondition)
DynamicEntityProxy(Globals::DataLocation Location, ModelPart &rModelPart)
Wrapper class providing a uniform interface for historical/non-historical Node, Element,...
Definition: EntityProxy.hpp:48
Definition: MPIUtils.hpp:9