14 #ifndef KRATOS_ADJOINT_POTENTIAL_WALL_CONDITION_H
15 #define KRATOS_ADJOINT_POTENTIAL_WALL_CONDITION_H
21 template <
class TPrimalCondition>
28 static constexpr
int TNumNodes = TPrimalCondition::NumNodes;
29 static constexpr
int TDim = TPrimalCondition::Dim;
51 GeometryType::Pointer pGeometry,
52 PropertiesType::Pointer pProperties)
53 :
Condition(NewId, pGeometry, pProperties),
70 PropertiesType::Pointer pProperties)
const override;
73 Condition::GeometryType::Pointer pGeom,
74 PropertiesType::Pointer pProperties)
const override;
79 void Initialize(
const ProcessInfo& rCurrentProcessInfo)
override;
84 void CalculateLeftHandSide(
MatrixType& rLeftHandSideMatrix,
87 void CalculateLocalSystem(
MatrixType& rLeftHandSideMatrix,
91 void EquationIdVector(EquationIdVectorType& rResult,
92 const ProcessInfo& rCurrentProcessInfo)
const override;
94 void GetDofList(DofsVectorType& ConditionDofList,
const ProcessInfo& CurrentProcessInfo)
const override;
96 void FinalizeSolutionStep(
const ProcessInfo& rCurrentProcessInfo)
override;
98 void FinalizeNonLinearIteration(
const ProcessInfo& rCurrentProcessInfo)
override;
100 void GetValuesVector(
Vector& rValues,
int Step=0)
const override;
110 int Check(
const ProcessInfo& rCurrentProcessInfo)
const override;
112 std::string
Info()
const override;
115 void PrintInfo(std::ostream& rOStream)
const override;
118 void PrintData(std::ostream& rOStream)
const override;
134 void save(
Serializer& rSerializer)
const override;
145 template <
class TPrimalCondition>
153 template <
class TPrimalCondition>
158 rOStream << std::endl;
std::string Info() const override
Turn back information as a string.
Definition: periodic_interface_process.hpp:93
Definition: adjoint_potential_wall_condition.h:23
KRATOS_CLASS_INTRUSIVE_POINTER_DEFINITION(AdjointPotentialWallCondition)
Pointer definition of AdjointPotentialWallCondition.
Condition::Pointer mpPrimalCondition
Definition: adjoint_potential_wall_condition.h:123
void PrintInfo(std::ostream &rOStream) const override
Print information about this object.
Definition: adjoint_potential_wall_condition.cpp:207
AdjointPotentialWallCondition(IndexType NewId, GeometryType::Pointer pGeometry, PropertiesType::Pointer pProperties)
Definition: adjoint_potential_wall_condition.h:50
AdjointPotentialWallCondition(IndexType NewId, GeometryType::Pointer pGeometry)
Definition: adjoint_potential_wall_condition.h:44
Element::Pointer ElementPointerType
Definition: adjoint_potential_wall_condition.h:36
~AdjointPotentialWallCondition() override
Destructor.
Definition: adjoint_potential_wall_condition.h:59
AdjointPotentialWallCondition(IndexType NewId=0)
Definition: adjoint_potential_wall_condition.h:38
AdjointPotentialWallCondition & operator=(AdjointPotentialWallCondition const &rOther)
Definition: adjoint_potential_wall_condition.h:61
Element::WeakPointer ElementWeakPointerType
Definition: adjoint_potential_wall_condition.h:34
void PrintData(std::ostream &rOStream) const override
Print object's data.
Definition: adjoint_potential_wall_condition.cpp:214
Base class for all Conditions.
Definition: condition.h:59
Condition & operator=(Condition const &rOther)
Assignment operator.
Definition: condition.h:181
std::size_t IndexType
Definition: flags.h:74
ProcessInfo holds the current value of different solution parameters.
Definition: process_info.h:59
The serialization consists in storing the state of an object into a storage format like data file or ...
Definition: serializer.h:123
std::size_t IndexType
The definition of the index type.
Definition: key_hash.h:35
Modeler::Pointer Create(const std::string &ModelerName, Model &rModel, const Parameters ModelParameters)
Checks if the modeler is registered.
Definition: modeler_factory.cpp:30
void InitializeSolutionStep(ConstructionUtility &rThisUtil, std::string ThermalSubModelPartName, std::string MechanicalSubModelPartName, std::string HeatFluxSubModelPartName, std::string HydraulicPressureSubModelPartName, bool thermal_conditions, bool mechanical_conditions, int phase)
Definition: add_custom_utilities_to_python.cpp:45
REF: G. R. Cowper, GAUSSIAN QUADRATURE FORMULAS FOR TRIANGLES.
Definition: mesh_condition.cpp:21
intrusive_ptr< C > make_intrusive(Args &&...args)
Definition: smart_pointers.h:36
ModelPart::NodesContainerType NodesArrayType
Definition: gid_gauss_point_container.h:42
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