13 #if !defined(KRATOS_RANS_SCALAR_WALL_FLUX_CONDITION_H_INCLUDED)
14 #define KRATOS_RANS_SCALAR_WALL_FLUX_CONDITION_H_INCLUDED
31 template <
unsigned int TDim,
unsigned int TNumNodes,
class TScalarWallFluxConditionData>
99 GeometryType::Pointer pGeometry)
109 GeometryType::Pointer pGeometry,
110 PropertiesType::Pointer pProperties)
111 :
Condition(NewId, pGeometry, pProperties)
148 PropertiesType::Pointer pProperties)
const override
151 return Kratos::make_intrusive<CurrentConditionType>(
165 GeometryType::Pointer pGeom,
166 PropertiesType::Pointer pProperties)
const override
169 return Kratos::make_intrusive<CurrentConditionType>(NewId, pGeom, pProperties);
185 return Kratos::make_intrusive<CurrentConditionType>(
192 const ProcessInfo& CurrentProcessInfo)
const override;
201 const ProcessInfo& CurrentProcessInfo)
const override;
205 int Step = 0)
const override;
209 int Step = 0)
const override;
213 int Step = 0)
const override;
261 std::string
Info()
const override
263 std::stringstream buffer;
264 buffer <<
"ScalarWallFluxCondition #" <<
Id();
270 rOStream <<
"SWF" << TScalarWallFluxConditionData::GetName();
281 void save(
Serializer& rSerializer)
const override
306 template <
unsigned int TDim,
unsigned int TNumNodes,
class TScalarWallFluxConditionData>
308 std::istream& rIStream,
312 template <
unsigned int TDim,
unsigned int TNumNodes,
class TScalarWallFluxConditionData>
314 std::ostream& rOStream,
318 rOStream <<
" : " << std::endl;
Base class for all Conditions.
Definition: condition.h:59
void PrintData(std::ostream &rOStream) const override
Print object's data.
Definition: condition.h:1085
std::vector< std::size_t > EquationIdVectorType
Definition: condition.h:98
std::vector< DofType::Pointer > DofsVectorType
Definition: condition.h:100
PropertiesType::Pointer pGetProperties()
returns the pointer to the property of the condition. Does not throw an error, to allow copying of co...
Definition: condition.h:964
Condition(IndexType NewId=0)
Definition: condition.h:123
std::size_t IndexType
Definition: flags.h:74
This defines the geometrical object, base definition of the element and condition entities.
Definition: geometrical_object.h:58
GeometryType & GetGeometry()
Returns the reference of the geometry.
Definition: geometrical_object.h:158
Geometry base class.
Definition: geometry.h:71
IndexType Id() const
Definition: indexed_object.h:107
This class defines the node.
Definition: node.h:65
PointerVector is a container like stl vector but using a vector to store pointers to its data.
Definition: pointer_vector.h:72
ProcessInfo holds the current value of different solution parameters.
Definition: process_info.h:59
Definition: scalar_wall_flux_condition.h:33
void CalculateLocalSystem(MatrixType &rLeftHandSideMatrix, VectorType &rRightHandSideVector, const ProcessInfo &rCurrentProcessInfo) override
Definition: scalar_wall_flux_condition.cpp:116
std::vector< Dof< double >::Pointer > DofsVectorType
Definition: scalar_wall_flux_condition.h:59
Condition::Pointer Create(IndexType NewId, GeometryType::Pointer pGeom, PropertiesType::Pointer pProperties) const override
Definition: scalar_wall_flux_condition.h:163
ScalarWallFluxCondition(IndexType NewId, GeometryType::Pointer pGeometry, PropertiesType::Pointer pProperties)
Definition: scalar_wall_flux_condition.h:107
std::string Info() const override
Turn back information as a string.
Definition: scalar_wall_flux_condition.h:261
void GetSecondDerivativesVector(Vector &rValues, int Step=0) const override
Definition: scalar_wall_flux_condition.cpp:96
~ScalarWallFluxCondition() override=default
ScalarWallFluxCondition(IndexType NewId, const NodesArrayType &ThisNodes)
Definition: scalar_wall_flux_condition.h:87
void GetDofList(DofsVectorType &rConditionalDofList, const ProcessInfo &CurrentProcessInfo) const override
Definition: scalar_wall_flux_condition.cpp:51
ScalarWallFluxCondition(ScalarWallFluxCondition const &rOther)
Definition: scalar_wall_flux_condition.h:118
void EquationIdVector(EquationIdVectorType &rResult, const ProcessInfo &CurrentProcessInfo) const override
Definition: scalar_wall_flux_condition.cpp:34
void GetValuesVector(Vector &rValues, int Step=0) const override
Definition: scalar_wall_flux_condition.cpp:68
void GetFirstDerivativesVector(Vector &rValues, int Step=0) const override
Definition: scalar_wall_flux_condition.cpp:76
KRATOS_CLASS_POINTER_DEFINITION(ScalarWallFluxCondition)
std::vector< IndexType > EquationIdVectorType
Definition: scalar_wall_flux_condition.h:57
Matrix MatrixType
Matrix type for local contributions to the linear system.
Definition: scalar_wall_flux_condition.h:53
TScalarWallFluxConditionData ScalarWallFluxConditionDataType
Definition: scalar_wall_flux_condition.h:61
void CalculateRightHandSide(VectorType &rRightHandSideVector, const ProcessInfo &rCurrentProcessInfo) override
Definition: scalar_wall_flux_condition.cpp:133
Condition::Pointer Create(IndexType NewId, NodesArrayType const &ThisNodes, PropertiesType::Pointer pProperties) const override
Definition: scalar_wall_flux_condition.h:145
ScalarWallFluxCondition(IndexType NewId=0)
Definition: scalar_wall_flux_condition.h:78
void PrintInfo(std::ostream &rOStream) const override
Print information about this object.
Definition: scalar_wall_flux_condition.h:268
ScalarWallFluxCondition(IndexType NewId, GeometryType::Pointer pGeometry)
Definition: scalar_wall_flux_condition.h:97
int Check(const ProcessInfo &rCurrentProcessInfo) const override
Definition: scalar_wall_flux_condition.cpp:176
Condition::Pointer Clone(IndexType NewId, NodesArrayType const &ThisNodes) const override
Definition: scalar_wall_flux_condition.h:180
The serialization consists in storing the state of an object into a storage format like data file or ...
Definition: serializer.h:123
#define KRATOS_SERIALIZE_SAVE_BASE_CLASS(Serializer, BaseType)
Definition: define.h:812
#define KRATOS_CATCH(MoreInfo)
Definition: define.h:110
#define KRATOS_TRY
Definition: define.h:109
#define KRATOS_SERIALIZE_LOAD_BASE_CLASS(Serializer, BaseType)
Definition: define.h:815
REF: G. R. Cowper, GAUSSIAN QUADRATURE FORMULAS FOR TRIANGLES.
Definition: mesh_condition.cpp:21
Internals::Matrix< double, AMatrix::dynamic, 1 > Vector
Definition: amatrix_interface.h:472
Internals::Matrix< double, AMatrix::dynamic, AMatrix::dynamic > Matrix
Definition: amatrix_interface.h:470
std::istream & operator>>(std::istream &rIStream, LinearMasterSlaveConstraint &rThis)
input stream function
std::ostream & operator<<(std::ostream &rOStream, const LinearMasterSlaveConstraint &rThis)
output stream function
Definition: linear_master_slave_constraint.h:432
def load(f)
Definition: ode_solve.py:307