14 #if !defined(KRATOS_ADJOINT_FINITE_DIFFERENCE_POTENTIAL_FLOW_ELEMENT_H_INCLUDED )
15 #define KRATOS_ADJOINT_FINITE_DIFFERENCE_POTENTIAL_FLOW_ELEMENT_H_INCLUDED
24 template <
class TPrimalElement>
55 typename GeometryType::Pointer pGeometry)
59 typename GeometryType::Pointer pGeometry,
60 typename PropertiesType::Pointer pProperties)
90 Element::Pointer
Create(
IndexType NewId,
typename GeometryType::Pointer pGeom,
typename PropertiesType::Pointer pProperties)
const override;
102 std::string
Info()
const override;
104 void PrintInfo(std::ostream& rOStream)
const override;
111 double GetPerturbationSize();
115 void save(
Serializer& rSerializer)
const override;
Definition: adjoint_base_potential_flow_element.h:26
AdjointBasePotentialFlowElement & operator=(AdjointBasePotentialFlowElement const &rOther)
Assignment operator.
Definition: adjoint_base_potential_flow_element.h:82
static constexpr int NumNodes
Definition: adjoint_base_potential_flow_element.h:33
static constexpr int Dim
Definition: adjoint_base_potential_flow_element.h:34
Definition: adjoint_finite_difference_potential_flow_element.h:26
~AdjointFiniteDifferencePotentialFlowElement() override
Definition: adjoint_finite_difference_potential_flow_element.h:70
AdjointFiniteDifferencePotentialFlowElement(IndexType NewId, typename GeometryType::Pointer pGeometry, typename PropertiesType::Pointer pProperties)
Definition: adjoint_finite_difference_potential_flow_element.h:58
BaseType::PropertiesType PropertiesType
Definition: adjoint_finite_difference_potential_flow_element.h:36
void PrintInfo(std::ostream &rOStream) const override
Print information about this object.
Definition: adjoint_finite_difference_potential_flow_element.cpp:163
std::string Info() const override
Turn back information as a string.
Definition: adjoint_finite_difference_potential_flow_element.cpp:155
AdjointFiniteDifferencePotentialFlowElement(IndexType NewId=0)
Definition: adjoint_finite_difference_potential_flow_element.h:51
BaseType::NodesArrayType NodesArrayType
Definition: adjoint_finite_difference_potential_flow_element.h:37
void CalculateSensitivityMatrix(const Variable< array_1d< double, 3 > > &rDesignVariable, Matrix &rOutput, const ProcessInfo &rCurrentProcessInfo) override
Definition: adjoint_finite_difference_potential_flow_element.cpp:50
AdjointFiniteDifferencePotentialFlowElement(AdjointFiniteDifferencePotentialFlowElement const &rOther)
Definition: adjoint_finite_difference_potential_flow_element.h:65
Element::Pointer Clone(IndexType NewId, NodesArrayType const &ThisNodes) const override
It creates a new element pointer and clones the previous element data.
Definition: adjoint_finite_difference_potential_flow_element.cpp:41
BaseType::GeometryType GeometryType
Definition: adjoint_finite_difference_potential_flow_element.h:35
AdjointFiniteDifferencePotentialFlowElement(IndexType NewId, typename GeometryType::Pointer pGeometry)
Definition: adjoint_finite_difference_potential_flow_element.h:54
AdjointFiniteDifferencePotentialFlowElement & operator=(AdjointFiniteDifferencePotentialFlowElement const &rOther)
Assignment operator.
Definition: adjoint_finite_difference_potential_flow_element.h:77
Element::Pointer Create(IndexType NewId, NodesArrayType const &ThisNodes, typename PropertiesType::Pointer pProperties) const override
It creates a new element pointer.
Definition: adjoint_finite_difference_potential_flow_element.cpp:25
AdjointBasePotentialFlowElement< TPrimalElement > BaseType
Definition: adjoint_finite_difference_potential_flow_element.h:32
KRATOS_CLASS_INTRUSIVE_POINTER_DEFINITION(AdjointFiniteDifferencePotentialFlowElement)
Properties PropertiesType
Definition: element.h:80
Geometry< NodeType >::PointsArrayType NodesArrayType
definition of nodes container type, redefined from GeometryType
Definition: element.h:86
std::size_t IndexType
Definition: flags.h:74
Flags & operator=(Flags const &rOther)
Assignment operator.
Definition: flags.h:151
Geometry base class.
Definition: geometry.h:71
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
Variable class contains all information needed to store and retrive data from a data container.
Definition: variable.h:63
std::size_t IndexType
The definition of the index type.
Definition: key_hash.h:35
REF: G. R. Cowper, GAUSSIAN QUADRATURE FORMULAS FOR TRIANGLES.
Definition: mesh_condition.cpp:21
ModelPart::NodesContainerType NodesArrayType
Definition: gid_gauss_point_container.h:42
def load(f)
Definition: ode_solve.py:307