14 #if !defined(KRATOS_VARIABLE_REDISTRIBUTION_UTILITY_H_INCLUDED )
15 #define KRATOS_VARIABLE_REDISTRIBUTION_UTILITY_H_INCLUDED
98 static void ConvertDistributedValuesToPoint(
113 static void ConvertDistributedValuesToPoint(
129 static void ConvertDistributedValuesToPoint(
145 static void ConvertDistributedValuesToPoint(
160 static void ConvertDistributedValuesToPoint(
176 static void ConvertDistributedValuesToPoint(
194 static void DistributePointValues(
199 unsigned int MaximumIterations);
213 static void DistributePointValues(
219 unsigned int MaximumIterations);
233 static void DistributePointValues(
239 unsigned int MaximumIterations);
258 unsigned int MaximumIterations);
278 unsigned int MaximumIterations);
299 unsigned int MaximumIterations);
311 static void ConvertDistributedValuesToPointNonHistorical(
327 static void ConvertDistributedValuesToPointNonHistorical(
343 static void ConvertDistributedValuesToPointNonHistorical(
359 static void ConvertDistributedValuesToPointNonHistorical(
377 static void DistributePointValuesNonHistorical(
383 unsigned int MaximumIterations);
397 static void DistributePointValuesNonHistorical(
403 unsigned int MaximumIterations);
423 unsigned int MaximumIterations);
444 unsigned int MaximumIterations);
494 template< const
bool TIsHistorical,
class TContainerType,
class TValueType >
495 static void CallSpecializedConvertDistributedValuesToPoint(
497 TContainerType& rEntitiesContainer,
514 template< const
bool TIsHistorical,
class TContainerType,
class TValueType >
515 static void CallSpecializedDistributePointValues(
517 TContainerType& rEntitiesContainer,
521 unsigned int MaximumIterations);
536 template< const
bool TIsHistorical,
class TContainerType, GeometryData::KratosGeometryFamily TFamily,
unsigned int TPo
intNumber,
class TValueType >
537 static void SpecializedConvertDistributedValuesToPoint(
539 TContainerType& rEntitiesContainer,
555 template< const
bool TIsHistorical,
class TValueType >
556 static void DummySpecializedConvertDistributedValuesToPoint(
575 template< const
bool TIsHistorical,
class TContainerType, GeometryData::KratosGeometryFamily TFamily,
unsigned int TPo
intNumber,
class TValueType >
576 static void SpecializedDistributePointValues(
578 TContainerType& rEntitiesContainer,
582 unsigned int MaximumIterations);
597 template< const
bool TIsHistorical,
class TValueType >
598 static void DummySpecializedDistributePointValues(
602 unsigned int MaximumIterations);
611 template<
class TContainerType>
612 static void ComputeNodalSizes(
614 TContainerType& rEntitiesContainer);
623 template< GeometryData::KratosGeometryFamily TFamily,
unsigned int TNumNodes >
638 template< const
bool TIsHistorical,
class TContainerType,
unsigned int TNumNodes,
class TValueType >
639 static void UpdateDistributionRHS(
641 TContainerType& rEntitiesContainer,
656 template<
class TValueType >
657 static void DummyUpdateDistributionRHS(
670 template< const
bool TIsHistorical,
class TValueType >
671 static double SolveDistributionIteration(
686 template<
class TValueType >
687 static double DummySolveDistributionIteration(
698 template<
class TValueType >
709 template<
class TValueType >
710 static double AddToNorm(TValueType NodalValue,
double NodalSize);
720 template<
class TContainerType >
721 static std::size_t NumberOfLocalEntities(
723 const TContainerType& rEntitiesContainer);
734 template< const
bool TIsHistorical,
class TDataType >
735 static TDataType& AuxiliaryGet(
748 template< const
bool TIsHistorical,
class TDataType >
749 static void AuxiliarySet(
751 const TDataType& rData,
PeriodicInterfaceProcess & operator=(const PeriodicInterfaceProcess &)=delete
Definition: amatrix_interface.h:41
This class aims to manage meshes for multi-physics simulations.
Definition: model_part.h:77
This class defines the node.
Definition: node.h:65
A sorted associative container similar to an STL set, but uses a vector to store pointers to its data...
Definition: pointer_vector_set.h:72
Helper utility to transform between point-wise nodal variables and distributed values.
Definition: variable_redistribution_utility.h:64
static void DistributePointValuesNonHistorical(ModelPart &rModelPart, ModelPart::ConditionsContainerType &rConditions, const Variable< array_1d< double, 3 >> &rPointVariable, const Variable< array_1d< double, 3 >> &rDistributedVariable, double Tolerance, unsigned int MaximumIterations)
Tranform a set of concentrated nodal values to a variable distributed over the conditions of rModelPa...
static void DistributePointValues(ModelPart &rModelPart, ModelPart::ElementsContainerType &rElements, const Variable< array_1d< double, 3 >> &rPointVariable, const Variable< array_1d< double, 3 >> &rDistributedVariable, double Tolerance, unsigned int MaximumIterations)
Tranform a set of concentrated nodal values to a variable distributed over the conditions of rModelPa...
static void DistributePointValues(ModelPart &rModelPart, ModelPart::ConditionsContainerType &rConditions, const Variable< array_1d< double, 3 >> &rPointVariable, const Variable< array_1d< double, 3 >> &rDistributedVariable, double Tolerance, unsigned int MaximumIterations)
Tranform a set of concentrated nodal values to a variable distributed over the conditions of rModelPa...
static void DistributePointValues(ModelPart &rModelPart, const Variable< array_1d< double, 3 >> &rPointVariable, const Variable< array_1d< double, 3 >> &rDistributedVariable, double Tolerance, unsigned int MaximumIterations)
Tranform a set of concentrated nodal values to a variable distributed over the conditions of rModelPa...
KRATOS_CLASS_POINTER_DEFINITION(VariableRedistributionUtility)
Pointer definition of VariableRedistributionUtility.
Node NodeType
Definition: variable_redistribution_utility.h:69
static void DistributePointValuesNonHistorical(ModelPart &rModelPart, ModelPart::ElementsContainerType &rElements, const Variable< array_1d< double, 3 >> &rPointVariable, const Variable< array_1d< double, 3 >> &rDistributedVariable, double Tolerance, unsigned int MaximumIterations)
Tranform a set of concentrated nodal values to a variable distributed over the conditions of rModelPa...
REF: G. R. Cowper, GAUSSIAN QUADRATURE FORMULAS FOR TRIANGLES.
Definition: mesh_condition.cpp:21