11 #if !defined(KRATOS_OUTPUT_CONDITION_H_INCLUDED )
12 #define KRATOS_OUTPUT_CONDITION_H_INCLUDED
50 GeometryType::Pointer pGeometry)
57 GeometryType::Pointer pGeometry,
58 PropertiesType::Pointer pProperties)
59 :
Condition(NewId, pGeometry, pProperties)
77 GeometryType::Pointer pGeom,
78 PropertiesType::Pointer pProperties
81 return Kratos::make_intrusive<OutputCondition>(
82 NewId, pGeom, pProperties);
89 PropertiesType::Pointer pProperties
92 return Kratos::make_intrusive< OutputCondition >(
102 std::vector<double>& rOutput,
115 std::string
Info()
const override
117 std::stringstream buffer;
118 buffer <<
"\"OutputCondition\" #" <<
Id();
125 rOStream <<
"\"OutputCondition\" #" <<
Id();
141 virtual void save(
Serializer& rSerializer)
const override
Base class for all Conditions.
Definition: condition.h:59
std::size_t IndexType
Definition: flags.h:74
GeometryType::Pointer pGetGeometry()
Returns the pointer to the geometry.
Definition: geometrical_object.h:140
GeometryType & GetGeometry()
Returns the reference of the geometry.
Definition: geometrical_object.h:158
IndexType Id() const
Definition: indexed_object.h:107
Output condition.
Definition: output_condition.h:31
Condition::Pointer Create(IndexType NewId, GeometryType::Pointer pGeom, PropertiesType::Pointer pProperties) const override
Create with Id, pointer to geometry and pointer to property.
Definition: output_condition.h:75
void CalculateOnIntegrationPoints(const Variable< double > &rVariable, std::vector< double > &rOutput, const ProcessInfo &rCurrentProcessInfo) override
Definition: output_condition.cpp:20
std::size_t SizeType
Size types.
Definition: output_condition.h:40
OutputCondition(IndexType NewId, GeometryType::Pointer pGeometry, PropertiesType::Pointer pProperties)
Constructor with Id, geometry and property.
Definition: output_condition.h:55
Condition::Pointer Create(IndexType NewId, NodesArrayType const &ThisNodes, PropertiesType::Pointer pProperties) const override
Create with Id, pointer to geometry and pointer to property.
Definition: output_condition.h:86
void PrintInfo(std::ostream &rOStream) const override
Print information about this object.
Definition: output_condition.h:123
OutputCondition()
Default constructor.
Definition: output_condition.h:63
std::string Info() const override
Turn back information as a string.
Definition: output_condition.h:115
virtual ~OutputCondition()=default
Destructor.
void PrintData(std::ostream &rOStream) const override
Print object's data.
Definition: output_condition.h:129
std::size_t IndexType
Definition: output_condition.h:41
KRATOS_CLASS_POINTER_DEFINITION(OutputCondition)
Counted pointer of OutputCondition.
OutputCondition(IndexType NewId, GeometryType::Pointer pGeometry)
Constructor with Id and geometry.
Definition: output_condition.h:48
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
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_SERIALIZE_LOAD_BASE_CLASS(Serializer, BaseType)
Definition: define.h:815
REF: G. R. Cowper, GAUSSIAN QUADRATURE FORMULAS FOR TRIANGLES.
Definition: mesh_condition.cpp:21
def load(f)
Definition: ode_solve.py:307