52 template<std::
size_t TDim>
53 class KRATOS_API(STRUCTURAL_MECHANICS_APPLICATION) LineLoadCondition
54 :
public BaseLoadCondition
91 GeometryType::Pointer pGeometry
97 GeometryType::Pointer pGeometry,
98 PropertiesType::Pointer pProperties
123 PropertiesType::Pointer pProperties
133 Condition::Pointer
Create(
135 GeometryType::Pointer pGeom,
136 PropertiesType::Pointer pProperties
177 std::string
Info()
const override
179 std::stringstream buffer;
180 buffer <<
"LineLoadCondition #" << Id();
188 rOStream <<
"LineLoadCondition #" << Id();
194 pGetGeometry()->PrintData(rOStream);
235 const bool CalculateStiffnessMatrixFlag,
236 const bool CalculateResidualVectorFlag
248 void CalculateAndSubKp(
253 const double Pressure,
254 const double IntegrationWeight
266 void CalculateAndAddPressureForce(
270 const double Pressure,
271 const double IntegrationWeight
349 void save(
Serializer& rSerializer )
const override
354 void load( Serializer& rSerializer )
override
384 template<std::
size_t TDim>
388 template<std::
size_t TDim>
393 rOStream << std::endl;
This is the base class of all the load conditions on StructuralMechanicsApplication.
Definition: base_load_condition.h:54
std::size_t IndexType
Definition: flags.h:74
std::size_t IndexType
Defines the index type.
Definition: geometrical_object.h:73
Geometry base class.
Definition: geometry.h:71
Line load condition for 3D and 2D geometries.
Definition: line_load_condition.hpp:41
LineLoadCondition(IndexType NewId, GeometryType::Pointer pGeometry)
void PrintInfo(std::ostream &rOStream) const override
Print information about this object.
Definition: line_load_condition.h:186
KRATOS_CLASS_INTRUSIVE_POINTER_DEFINITION(LineLoadCondition)
Counted pointer of LineLoadCondition.
BaseLoadCondition BaseType
We define the base class BaseLoadCondition.
Definition: line_load_condition.h:61
LineLoadCondition()
Definition: line_load_condition.h:315
std::string Info() const override
Turn back information as a string.
Definition: line_load_condition.h:177
Condition::Pointer Clone(IndexType NewId, NodesArrayType const &ThisNodes) const override
Creates a new condition pointer and clones the previous condition data.
BaseType::NodeType NodeType
Definition of the node type.
Definition: line_load_condition.h:70
void GetLocalAxis1(array_1d< double, 3 > &rLocalAxis, const Matrix &rJacobian) const
This method provides the local axis.
BaseType::NodesArrayType NodesArrayType
Definition of nodes container type, redefined from GeometryType.
Definition: line_load_condition.h:79
BaseType::SizeType SizeType
Definition of the size type.
Definition: line_load_condition.h:67
BaseType::PropertiesType PropertiesType
Definition of the properties type.
Definition: line_load_condition.h:73
Condition::Pointer Create(IndexType NewId, NodesArrayType const &ThisNodes, PropertiesType::Pointer pProperties) const override
Creates a new condition pointer.
void GetCrossTangentMatrix(BoundedMatrix< double, TDim, TDim > &rCrossTangentMatrix, const array_1d< double, 3 > &rTangentXi) const
This method provides the cross tangent matrix.
BaseType::GeometryType GeometryType
Definition of the geometry type with given NodeType.
Definition: line_load_condition.h:76
BaseType::IndexType IndexType
Dfinition of the index type.
Definition: line_load_condition.h:64
~LineLoadCondition() override
Destructor.
void GetLocalAxis2(array_1d< double, 3 > &rLocalAxis) const
This method provides the local axis.
void PrintData(std::ostream &rOStream) const override
Print object's data.
Definition: line_load_condition.h:192
LineLoadCondition(IndexType NewId, GeometryType::Pointer pGeometry, PropertiesType::Pointer pProperties)
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
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
#define KRATOS_SERIALIZE_SAVE_BASE_CLASS(Serializer, BaseType)
Definition: define.h:812
#define KRATOS_SERIALIZE_LOAD_BASE_CLASS(Serializer, BaseType)
Definition: define.h:815
Modeler::Pointer Create(const std::string &ModelerName, Model &rModel, const Parameters ModelParameters)
Checks if the modeler is registered.
Definition: modeler_factory.cpp:30
std::size_t SizeType
Definition: nurbs_utilities.h:41
pybind11::list CalculateOnIntegrationPoints(TObject &dummy, const Variable< TDataType > &rVariable, const ProcessInfo &rProcessInfo)
Definition: add_mesh_to_python.cpp:142
REF: G. R. Cowper, GAUSSIAN QUADRATURE FORMULAS FOR TRIANGLES.
Definition: mesh_condition.cpp:21
Properties PropertiesType
Definition: regenerate_pfem_pressure_conditions_process.h:26
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