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::Node Class Reference

This class defines the node. More...

#include <node.h>

Inheritance diagram for Kratos::Node:
Collaboration diagram for Kratos::Node:

Public Member Functions

Life Cycle
 Node ()
 Default constructor. More...
 
 Node (IndexType NewId)
 
 Node (IndexType NewId, double const &NewX)
 1d constructor. More...
 
 Node (IndexType NewId, double const &NewX, double const &NewY)
 2d constructor. More...
 
 Node (IndexType NewId, double const &NewX, double const &NewY, double const &NewZ)
 3d constructor. More...
 
 Node (IndexType NewId, PointType const &rThisPoint)
 Point constructor. More...
 
 Node (Node const &rOtherNode)=delete
 
template<class TVectorType >
 Node (IndexType NewId, vector_expression< TVectorType > const &rOtherCoordinates)
 
 Node (IndexType NewId, std::vector< double > const &rOtherCoordinates)
 
 Node (IndexType NewId, double const &NewX, double const &NewY, double const &NewZ, VariablesList::Pointer pVariablesList, BlockType const *ThisData, SizeType NewQueueSize=1)
 3d with variables list and data constructor. More...
 
Node::Pointer Clone ()
 
 ~Node () override
 Destructor. More...
 
unsigned int use_count () const noexcept
 
IndexType Id () const
 
IndexType GetId () const
 
void SetId (IndexType NewId)
 
LockObjectGetLock ()
 
void SetLock ()
 
void UnSetLock ()
 
Operators
Nodeoperator= (const Node &rOther)
 Assignment operator. More...
 
bool operator== (const Node &rOther)
 
template<class TVariableType >
TVariableType::Type & operator() (const TVariableType &rThisVariable, IndexType SolutionStepIndex)
 
template<class TVariableType >
TVariableType::Type & operator() (const TVariableType &rThisVariable)
 
template<class TDataType >
TDataType & operator[] (const Variable< TDataType > &rThisVariable)
 
template<class TDataType >
const TDataType & operator[] (const Variable< TDataType > &rThisVariable) const
 
doubleoperator[] (IndexType ThisIndex)
 
double operator[] (IndexType ThisIndex) const
 
Nodal Data
void CreateSolutionStepData ()
 
void CloneSolutionStepData ()
 
void OverwriteSolutionStepData (IndexType SourceSolutionStepIndex, IndexType DestinationSourceSolutionStepIndex)
 
void ClearSolutionStepsData ()
 
void SetSolutionStepVariablesList (VariablesList::Pointer pVariablesList)
 
VariablesListDataValueContainerSolutionStepData ()
 
const VariablesListDataValueContainerSolutionStepData () const
 
DataValueContainerData ()
 
DataValueContainerGetData ()
 
const DataValueContainerGetData () const
 
template<class TVariableType >
TVariableType::Type & GetSolutionStepValue (const TVariableType &rThisVariable)
 
template<class TVariableType >
TVariableType::Type const & GetSolutionStepValue (const TVariableType &rThisVariable) const
 
template<class TVariableType >
TVariableType::Type & GetSolutionStepValue (const TVariableType &rThisVariable, IndexType SolutionStepIndex)
 
template<class TVariableType >
TVariableType::Type const & GetSolutionStepValue (const TVariableType &rThisVariable, IndexType SolutionStepIndex) const
 
bool SolutionStepsDataHas (const VariableData &rThisVariable) const
 
template<class TVariableType >
TVariableType::Type & FastGetSolutionStepValue (const TVariableType &rThisVariable)
 
template<class TVariableType >
const TVariableType::Type & FastGetSolutionStepValue (const TVariableType &rThisVariable) const
 
template<class TVariableType >
TVariableType::Type & FastGetSolutionStepValue (const TVariableType &rThisVariable, IndexType SolutionStepIndex)
 
template<class TVariableType >
const TVariableType::Type & FastGetSolutionStepValue (const TVariableType &rThisVariable, IndexType SolutionStepIndex) const
 
template<class TVariableType >
TVariableType::Type & FastGetSolutionStepValue (const TVariableType &rThisVariable, IndexType SolutionStepIndex, IndexType ThisPosition)
 
template<class TVariableType >
TVariableType::Type & FastGetCurrentSolutionStepValue (const TVariableType &rThisVariable, IndexType ThisPosition)
 
template<class TVariableType >
TVariableType::Type & GetValue (const TVariableType &rThisVariable)
 
template<class TVariableType >
TVariableType::Type const & GetValue (const TVariableType &rThisVariable) const
 
template<class TVariableType >
TVariableType::Type & GetValue (const TVariableType &rThisVariable, IndexType SolutionStepIndex)
 
template<class TVariableType >
TVariableType::Type const & GetValue (const TVariableType &rThisVariable, IndexType SolutionStepIndex) const
 
template<class TVariableType >
void SetValue (const TVariableType &rThisVariable, typename TVariableType::Type const &rValue)
 
template<class TDataType >
bool Has (const Variable< TDataType > &rThisVariable) const
 
Operations
template<class TVariableType >
void Fix (const TVariableType &rDofVariable)
 
template<class TVariableType >
void Free (const TVariableType &rDofVariable)
 
IndexType GetBufferSize () const
 
void SetBufferSize (IndexType NewBufferSize)
 
Access
const PointTypeGetInitialPosition () const
 
PointTypeGetInitialPosition ()
 
doubleX0 ()
 
doubleY0 ()
 
doubleZ0 ()
 
double X0 () const
 
double Y0 () const
 
double Z0 () const
 
void SetInitialPosition (const PointType &NewInitialPosition)
 
void SetInitialPosition (double X, double Y, double Z)
 
VariablesList::Pointer pGetVariablesList ()
 
const VariablesList::Pointer pGetVariablesList () const
 
Dofs
template<class TVariableType >
unsigned int GetDofPosition (TVariableType const &rDofVariable) const
 Get DoF position with a given position. More...
 
template<class TVariableType >
const DofTypeGetDof (TVariableType const &rDofVariable, int pos) const
 Get dof with a given position. If not found it is search. More...
 
template<class TVariableType >
const DofTypeGetDof (TVariableType const &rDofVariable) const
 Get DoF for a given variable. More...
 
DofsContainerTypeGetDofs ()
 
const DofsContainerTypeGetDofs () const
 
template<class TVariableType >
DofType::Pointer pGetDof (TVariableType const &rDofVariable) const
 Get DoF counted pointer for a given variable. More...
 
template<class TVariableType >
DofType::Pointer pGetDof (TVariableType const &rDofVariable, int Position) const
 Get DoF counted pointer with a given position. If not found it is search. More...
 
template<class TVariableType >
DofType::Pointer pAddDof (TVariableType const &rDofVariable)
 
DofType::Pointer pAddDof (DofType const &SourceDof)
 
template<class TVariableType , class TReactionType >
DofType::Pointer pAddDof (TVariableType const &rDofVariable, TReactionType const &rDofReaction)
 
template<class TVariableType >
DofTypeAddDof (TVariableType const &rDofVariable)
 
template<class TVariableType , class TReactionType >
DofTypeAddDof (TVariableType const &rDofVariable, TReactionType const &rDofReaction)
 
Inquiry
bool HasDofFor (const VariableData &rDofVariable) const
 
bool IsFixed (const VariableData &rDofVariable) const
 
bool IsActive () const
 Checks if the GeometricalObject is active. More...
 
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...
 
- Public Member Functions inherited from Kratos::Point
 Point ()
 Default constructor. More...
 
 Point (double NewX, double NewY=0, double NewZ=0)
 3d constructor. More...
 
 Point (Point const &rOtherPoint)
 
 Point (CoordinatesArrayType const &rOtherCoordinates)
 
template<class TVectorType >
 Point (vector_expression< TVectorType > const &rOtherCoordinates)
 
 Point (std::vector< double > const &rOtherCoordinates)
 
virtual ~Point ()
 Destructor. More...
 
Pointoperator= (const Point &rOther)
 Assignment operator. More...
 
bool operator== (const Point &rOther) const
 
double SquaredDistance (const Point &rOtherPoint) const
 This method computes the distance between this point and another one (squared) More...
 
double Distance (const Point &rOtherPoint) const
 This method computes the distance between this point and another one. More...
 
 KRATOS_CLASS_POINTER_DEFINITION (Point)
 Pointer definition of Point. More...
 
double X () const
 
double Y () const
 
double Z () const
 
doubleX ()
 
doubleY ()
 
doubleZ ()
 
CoordinatesArrayType const & Coordinates () const
 
CoordinatesArrayTypeCoordinates ()
 
- Public Member Functions inherited from Kratos::array_1d< double, 3 >
BOOST_UBLAS_INLINE array_1d ()
 Default constructor. More...
 
BOOST_UBLAS_INLINE array_1d (size_type array_size)
 
BOOST_UBLAS_INLINE array_1d (size_type array_size, value_type v)
 
BOOST_UBLAS_INLINE array_1d (const std::initializer_list< value_type > &rInitList)
 
BOOST_UBLAS_INLINE array_1d (size_type array_size, const array_type &rdata)
 
BOOST_UBLAS_INLINE array_1d (const array_1d &v)
 
BOOST_UBLAS_INLINE array_1d (const boost::numeric::ublas::vector_expression< AE > &ae)
 
BOOST_UBLAS_INLINE const_reference operator() (size_type i) const
 
BOOST_UBLAS_INLINE reference operator() (size_type i)
 
BOOST_UBLAS_INLINE const_reference operator[] (size_type i) const
 
BOOST_UBLAS_INLINE reference operator[] (size_type i)
 
BOOST_UBLAS_INLINE array_1doperator= (const array_1d &v)
 
BOOST_UBLAS_INLINE array_1doperator= (const boost::numeric::ublas::vector_expression< AE > &ae)
 
BOOST_UBLAS_INLINE array_1doperator+= (const boost::numeric::ublas::vector_expression< AE > &ae)
 
BOOST_UBLAS_INLINE array_1doperator-= (const boost::numeric::ublas::vector_expression< AE > &ae)
 
BOOST_UBLAS_INLINE array_1doperator/= (const AT &at)
 
BOOST_UBLAS_INLINE bool operator== (const array_1d &v) const
 Compares whether this array_1d is equal to the given array_1d. More...
 
 KRATOS_CLASS_POINTER_DEFINITION (array_1d)
 Pointer definition of array_1d. More...
 
BOOST_UBLAS_INLINE const_iterator find (size_type i) const
 
BOOST_UBLAS_INLINE iterator find (size_type i)
 
BOOST_UBLAS_INLINE size_type size () const
 
BOOST_UBLAS_INLINE array_1dminus_assign (const boost::numeric::ublas::vector_expression< AE > &ae)
 
BOOST_UBLAS_INLINE const array_typedata () const
 
BOOST_UBLAS_INLINE array_typedata ()
 
BOOST_UBLAS_INLINE const_iterator begin () const
 
BOOST_UBLAS_INLINE iterator begin ()
 
BOOST_UBLAS_INLINE const_iterator end () const
 
BOOST_UBLAS_INLINE iterator end ()
 
BOOST_UBLAS_INLINE const_reverse_iterator rbegin () const
 
BOOST_UBLAS_INLINE reverse_iterator rbegin ()
 
BOOST_UBLAS_INLINE const_reverse_iterator rend () const
 
BOOST_UBLAS_INLINE reverse_iterator rend ()
 
BOOST_UBLAS_INLINE void resize (size_type array_size, bool preserve=true)
 
BOOST_UBLAS_INLINE array_1dassign_temporary (array_1d &v)
 
BOOST_UBLAS_INLINE array_1doperator*= (const AT &at)
 
BOOST_UBLAS_INLINE array_1dplus_assign (const boost::numeric::ublas::vector_expression< AE > &ae)
 
BOOST_UBLAS_INLINE array_1dassign (const boost::numeric::ublas::vector_expression< AE > &ae)
 
BOOST_UBLAS_INLINE void swap (array_1d &v)
 
BOOST_UBLAS_INLINE reference insert_element (size_type i, const_reference t)
 
BOOST_UBLAS_INLINE void erase_element (size_type i)
 
BOOST_UBLAS_INLINE void clear ()
 
- 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...
 

Type Definitions

using NodeType = Node
 Node definition. More...
 
using BaseType = Point
 Base type. More...
 
using PointType = Point
 Point type. More...
 
using DofType = Dof< double >
 Dof type. More...
 
using IndexType = std::size_t
 The index type. More...
 
using SizeType = std::size_t
 The size type. More...
 
using DofsContainerType = std::vector< std::unique_ptr< Dof< double > >>
 The DoF container type definition. More...
 
using SolutionStepsNodalDataContainerType = VariablesListDataValueContainer
 The solution step data container type. More...
 
using BlockType = VariablesListDataValueContainer::BlockType
 The block type. More...
 
 KRATOS_CLASS_INTRUSIVE_POINTER_DEFINITION (Node)
 Pointer definition of Node. More...
 

Private Operators

void intrusive_ptr_add_ref (const NodeType *x)
 
void intrusive_ptr_release (const NodeType *x)
 

Serialization

class Serializer
 

Additional Inherited Members

- Public Types inherited from Kratos::Point
typedef array_1d< double, mDimension > BaseType
 
typedef BaseType CoordinatesArrayType
 
typedef std::size_t SizeType
 
typedef std::size_t IndexType
 
- Public Types inherited from Kratos::array_1d< double, 3 >
typedef std::size_t size_type
 
typedef std::ptrdiff_t difference_type
 
typedef double value_type
 
typedef boost::numeric::ublas::type_traits< double >::const_reference const_reference
 
typedef double & reference
 
typedef std::array< double, N > array_type
 
typedef double * pointer
 
typedef array_1d< double, N > self_type
 
typedef const boost::numeric::ublas::vector_reference< const self_typeconst_closure_type
 
typedef boost::numeric::ublas::vector_reference< self_typeclosure_type
 
typedef self_type vector_temporary_type
 
typedef boost::numeric::ublas::dense_tag storage_category
 
typedef boost::numeric::ublas::reverse_iterator_base< const_iterator > const_reverse_iterator
 
typedef boost::numeric::ublas::reverse_iterator_base< iterator > reverse_iterator
 
- 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::Point
static constexpr IndexType Dimension ()
 
- 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

This class defines the node.

The node class from Kratos is defined in this class

Member Typedef Documentation

◆ BaseType

Base type.

◆ BlockType

The block type.

◆ DofsContainerType

using Kratos::Node::DofsContainerType = std::vector<std::unique_ptr<Dof<double> >>

The DoF container type definition.

◆ DofType

Dof type.

◆ IndexType

using Kratos::Node::IndexType = std::size_t

The index type.

◆ NodeType

Node definition.

◆ PointType

Point type.

◆ SizeType

using Kratos::Node::SizeType = std::size_t

The size type.

◆ SolutionStepsNodalDataContainerType

The solution step data container type.

Constructor & Destructor Documentation

◆ Node() [1/10]

Kratos::Node::Node ( )
inline

Default constructor.

◆ Node() [2/10]

Kratos::Node::Node ( IndexType  NewId)
inlineexplicit

◆ Node() [3/10]

Kratos::Node::Node ( IndexType  NewId,
double const &  NewX 
)
inline

1d constructor.

◆ Node() [4/10]

Kratos::Node::Node ( IndexType  NewId,
double const &  NewX,
double const &  NewY 
)
inline

2d constructor.

◆ Node() [5/10]

Kratos::Node::Node ( IndexType  NewId,
double const &  NewX,
double const &  NewY,
double const &  NewZ 
)
inline

3d constructor.

◆ Node() [6/10]

Kratos::Node::Node ( IndexType  NewId,
PointType const &  rThisPoint 
)
inline

Point constructor.

◆ Node() [7/10]

Kratos::Node::Node ( Node const &  rOtherNode)
delete

Copy constructor. Initialize this node with given node.

◆ Node() [8/10]

template<class TVectorType >
Kratos::Node::Node ( IndexType  NewId,
vector_expression< TVectorType > const &  rOtherCoordinates 
)
inline

Constructor using coordinates stored in given array. Initialize this point with the coordinates in the array.

◆ Node() [9/10]

Kratos::Node::Node ( IndexType  NewId,
std::vector< double > const &  rOtherCoordinates 
)
inline

Constructor using coordinates stored in given std::vector. Initialize this point with the coordinates in the array.

◆ Node() [10/10]

Kratos::Node::Node ( IndexType  NewId,
double const &  NewX,
double const &  NewY,
double const &  NewZ,
VariablesList::Pointer  pVariablesList,
BlockType const *  ThisData,
SizeType  NewQueueSize = 1 
)
inline

3d with variables list and data constructor.

◆ ~Node()

Kratos::Node::~Node ( )
inlineoverride

Destructor.

Member Function Documentation

◆ AddDof() [1/2]

template<class TVariableType >
DofType& Kratos::Node::AddDof ( TVariableType const &  rDofVariable)
inline

adds a Dof to the node and return new added dof or existed one.

◆ AddDof() [2/2]

template<class TVariableType , class TReactionType >
DofType& Kratos::Node::AddDof ( TVariableType const &  rDofVariable,
TReactionType const &  rDofReaction 
)
inline

adds a Dof to the node and return new added dof or existed one.

◆ ClearSolutionStepsData()

void Kratos::Node::ClearSolutionStepsData ( )
inline

◆ Clone()

Node::Pointer Kratos::Node::Clone ( )
inline

◆ CloneSolutionStepData()

void Kratos::Node::CloneSolutionStepData ( )
inline

◆ CreateSolutionStepData()

void Kratos::Node::CreateSolutionStepData ( )
inline

◆ Data()

DataValueContainer& Kratos::Node::Data ( )
inline

◆ FastGetCurrentSolutionStepValue()

template<class TVariableType >
TVariableType::Type& Kratos::Node::FastGetCurrentSolutionStepValue ( const TVariableType &  rThisVariable,
IndexType  ThisPosition 
)
inline

◆ FastGetSolutionStepValue() [1/5]

template<class TVariableType >
TVariableType::Type& Kratos::Node::FastGetSolutionStepValue ( const TVariableType &  rThisVariable)
inline

◆ FastGetSolutionStepValue() [2/5]

template<class TVariableType >
const TVariableType::Type& Kratos::Node::FastGetSolutionStepValue ( const TVariableType &  rThisVariable) const
inline

◆ FastGetSolutionStepValue() [3/5]

template<class TVariableType >
TVariableType::Type& Kratos::Node::FastGetSolutionStepValue ( const TVariableType &  rThisVariable,
IndexType  SolutionStepIndex 
)
inline

◆ FastGetSolutionStepValue() [4/5]

template<class TVariableType >
const TVariableType::Type& Kratos::Node::FastGetSolutionStepValue ( const TVariableType &  rThisVariable,
IndexType  SolutionStepIndex 
) const
inline

◆ FastGetSolutionStepValue() [5/5]

template<class TVariableType >
TVariableType::Type& Kratos::Node::FastGetSolutionStepValue ( const TVariableType &  rThisVariable,
IndexType  SolutionStepIndex,
IndexType  ThisPosition 
)
inline

◆ Fix()

template<class TVariableType >
void Kratos::Node::Fix ( const TVariableType &  rDofVariable)
inline

◆ Free()

template<class TVariableType >
void Kratos::Node::Free ( const TVariableType &  rDofVariable)
inline

◆ GetBufferSize()

IndexType Kratos::Node::GetBufferSize ( ) const
inline

◆ GetData() [1/2]

DataValueContainer& Kratos::Node::GetData ( )
inline

◆ GetData() [2/2]

const DataValueContainer& Kratos::Node::GetData ( ) const
inline

◆ GetDof() [1/2]

template<class TVariableType >
const DofType& Kratos::Node::GetDof ( TVariableType const &  rDofVariable) const
inline

Get DoF for a given variable.

Parameters
rDofVariableName of the variable
Template Parameters
TVariableTypeThe variable type template argument
Returns
The DoF associated to the given variable

◆ GetDof() [2/2]

template<class TVariableType >
const DofType& Kratos::Node::GetDof ( TVariableType const &  rDofVariable,
int  pos 
) const
inline

Get dof with a given position. If not found it is search.

Parameters
rDofVariableName of the variable
posPosition of the DoF
Template Parameters
TVariableTypeThe variable type template argument
Returns
The DoF associated to the given variable

◆ GetDofPosition()

template<class TVariableType >
unsigned int Kratos::Node::GetDofPosition ( TVariableType const &  rDofVariable) const
inline

Get DoF position with a given position.

Parameters
rDofVariableName of the variable to search the position
Template Parameters
TVariableTypeThe variable type template argument
Returns
The position of the given DoF variable

◆ GetDofs() [1/2]

DofsContainerType& Kratos::Node::GetDofs ( )
inline

returns all of the Dofs

◆ GetDofs() [2/2]

const DofsContainerType& Kratos::Node::GetDofs ( ) const
inline

◆ GetId()

IndexType Kratos::Node::GetId ( ) const
inline

◆ GetInitialPosition() [1/2]

PointType& Kratos::Node::GetInitialPosition ( )
inline

◆ GetInitialPosition() [2/2]

const PointType& Kratos::Node::GetInitialPosition ( ) const
inline

◆ GetLock()

LockObject& Kratos::Node::GetLock ( )
inline

◆ GetSolutionStepValue() [1/4]

template<class TVariableType >
TVariableType::Type& Kratos::Node::GetSolutionStepValue ( const TVariableType &  rThisVariable)
inline

◆ GetSolutionStepValue() [2/4]

template<class TVariableType >
TVariableType::Type const& Kratos::Node::GetSolutionStepValue ( const TVariableType &  rThisVariable) const
inline

◆ GetSolutionStepValue() [3/4]

template<class TVariableType >
TVariableType::Type& Kratos::Node::GetSolutionStepValue ( const TVariableType &  rThisVariable,
IndexType  SolutionStepIndex 
)
inline

◆ GetSolutionStepValue() [4/4]

template<class TVariableType >
TVariableType::Type const& Kratos::Node::GetSolutionStepValue ( const TVariableType &  rThisVariable,
IndexType  SolutionStepIndex 
) const
inline

◆ GetValue() [1/4]

template<class TVariableType >
TVariableType::Type& Kratos::Node::GetValue ( const TVariableType &  rThisVariable)
inline

◆ GetValue() [2/4]

template<class TVariableType >
TVariableType::Type const& Kratos::Node::GetValue ( const TVariableType &  rThisVariable) const
inline

◆ GetValue() [3/4]

template<class TVariableType >
TVariableType::Type& Kratos::Node::GetValue ( const TVariableType &  rThisVariable,
IndexType  SolutionStepIndex 
)
inline

◆ GetValue() [4/4]

template<class TVariableType >
TVariableType::Type const& Kratos::Node::GetValue ( const TVariableType &  rThisVariable,
IndexType  SolutionStepIndex 
) const
inline

◆ Has()

template<class TDataType >
bool Kratos::Node::Has ( const Variable< TDataType > &  rThisVariable) const
inline

◆ HasDofFor()

bool Kratos::Node::HasDofFor ( const VariableData rDofVariable) const
inline

Return true if the dof of freedom is present on the node

◆ Id()

IndexType Kratos::Node::Id ( ) const
inline

◆ Info()

std::string Kratos::Node::Info ( ) const
inlineoverridevirtual

Turn back information as a string.

Reimplemented from Kratos::Flags.

◆ IsActive()

bool Kratos::Node::IsActive ( ) const
inline

Checks if the GeometricalObject is active.

Returns
True by default, otherwise depending on the ACTIVE flag

◆ IsFixed()

bool Kratos::Node::IsFixed ( const VariableData rDofVariable) const
inline

◆ KRATOS_CLASS_INTRUSIVE_POINTER_DEFINITION()

Kratos::Node::KRATOS_CLASS_INTRUSIVE_POINTER_DEFINITION ( Node  )

Pointer definition of Node.

◆ operator()() [1/2]

template<class TVariableType >
TVariableType::Type& Kratos::Node::operator() ( const TVariableType &  rThisVariable)
inline

◆ operator()() [2/2]

template<class TVariableType >
TVariableType::Type& Kratos::Node::operator() ( const TVariableType &  rThisVariable,
IndexType  SolutionStepIndex 
)
inline

◆ operator=()

Node& Kratos::Node::operator= ( const Node rOther)
inline

Assignment operator.

◆ operator==()

bool Kratos::Node::operator== ( const Node rOther)
inline

◆ operator[]() [1/4]

template<class TDataType >
TDataType& Kratos::Node::operator[] ( const Variable< TDataType > &  rThisVariable)
inline

◆ operator[]() [2/4]

template<class TDataType >
const TDataType& Kratos::Node::operator[] ( const Variable< TDataType > &  rThisVariable) const
inline

◆ operator[]() [3/4]

double& Kratos::Node::operator[] ( IndexType  ThisIndex)
inline

◆ operator[]() [4/4]

double Kratos::Node::operator[] ( IndexType  ThisIndex) const
inline

◆ OverwriteSolutionStepData()

void Kratos::Node::OverwriteSolutionStepData ( IndexType  SourceSolutionStepIndex,
IndexType  DestinationSourceSolutionStepIndex 
)
inline

◆ pAddDof() [1/3]

DofType::Pointer Kratos::Node::pAddDof ( DofType const &  SourceDof)
inline

adds a Dof to the node and return new added dof or existed one.

◆ pAddDof() [2/3]

template<class TVariableType >
DofType::Pointer Kratos::Node::pAddDof ( TVariableType const &  rDofVariable)
inline

adds a Dof to the node and return new added dof or existed one.

◆ pAddDof() [3/3]

template<class TVariableType , class TReactionType >
DofType::Pointer Kratos::Node::pAddDof ( TVariableType const &  rDofVariable,
TReactionType const &  rDofReaction 
)
inline

adds a Dof to the node and return new added dof or existed one.

◆ pGetDof() [1/2]

template<class TVariableType >
DofType::Pointer Kratos::Node::pGetDof ( TVariableType const &  rDofVariable) const
inline

Get DoF counted pointer for a given variable.

Parameters
rDofVariableName of the variable
Template Parameters
TVariableTypeThe variable type template argument
Returns
The DoF associated to the given variable

◆ pGetDof() [2/2]

template<class TVariableType >
DofType::Pointer Kratos::Node::pGetDof ( TVariableType const &  rDofVariable,
int  Position 
) const
inline

Get DoF counted pointer with a given position. If not found it is search.

Parameters
rDofVariableName of the variable
PositionPosition of the DoF
Template Parameters
TVariableTypeThe variable type template argument
Returns
The DoF associated to the given variable

◆ pGetVariablesList() [1/2]

VariablesList::Pointer Kratos::Node::pGetVariablesList ( )
inline

◆ pGetVariablesList() [2/2]

const VariablesList::Pointer Kratos::Node::pGetVariablesList ( ) const
inline

◆ PrintData()

void Kratos::Node::PrintData ( std::ostream &  rOStream) const
inlineoverridevirtual

Print object's data.

Reimplemented from Kratos::Flags.

◆ PrintInfo()

void Kratos::Node::PrintInfo ( std::ostream &  rOStream) const
inlineoverridevirtual

Print information about this object.

Reimplemented from Kratos::Flags.

◆ SetBufferSize()

void Kratos::Node::SetBufferSize ( IndexType  NewBufferSize)
inline

◆ SetId()

void Kratos::Node::SetId ( IndexType  NewId)
inline

◆ SetInitialPosition() [1/2]

void Kratos::Node::SetInitialPosition ( const PointType NewInitialPosition)
inline

◆ SetInitialPosition() [2/2]

void Kratos::Node::SetInitialPosition ( double  X,
double  Y,
double  Z 
)
inline

◆ SetLock()

void Kratos::Node::SetLock ( )
inline

◆ SetSolutionStepVariablesList()

void Kratos::Node::SetSolutionStepVariablesList ( VariablesList::Pointer  pVariablesList)
inline

◆ SetValue()

template<class TVariableType >
void Kratos::Node::SetValue ( const TVariableType &  rThisVariable,
typename TVariableType::Type const &  rValue 
)
inline

◆ SolutionStepData() [1/2]

VariablesListDataValueContainer& Kratos::Node::SolutionStepData ( )
inline

◆ SolutionStepData() [2/2]

const VariablesListDataValueContainer& Kratos::Node::SolutionStepData ( ) const
inline

◆ SolutionStepsDataHas()

bool Kratos::Node::SolutionStepsDataHas ( const VariableData rThisVariable) const
inline

◆ UnSetLock()

void Kratos::Node::UnSetLock ( )
inline

◆ use_count()

unsigned int Kratos::Node::use_count ( ) const
inlinenoexcept

◆ X0() [1/2]

double& Kratos::Node::X0 ( )
inline

◆ X0() [2/2]

double Kratos::Node::X0 ( ) const
inline

◆ Y0() [1/2]

double& Kratos::Node::Y0 ( )
inline

◆ Y0() [2/2]

double Kratos::Node::Y0 ( ) const
inline

◆ Z0() [1/2]

double& Kratos::Node::Z0 ( )
inline

◆ Z0() [2/2]

double Kratos::Node::Z0 ( ) const
inline

Friends And Related Function Documentation

◆ intrusive_ptr_add_ref

void intrusive_ptr_add_ref ( const NodeType x)
friend

◆ intrusive_ptr_release

void intrusive_ptr_release ( const NodeType x)
friend

◆ Serializer

friend class Serializer
friend

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