26 template <
unsigned int TDim,
unsigned int TNumNodes>
41 PropertiesType::Pointer pProperties)
const override
43 return Kratos::make_intrusive<GeoTCondition>(
44 NewId, GetGeometry().
Create(rThisNodes), pProperties);
54 if (rConditionDofList.size() != TNumNodes) {
55 rConditionDofList.resize(TNumNodes);
58 for (
unsigned int i = 0;
i < TNumNodes; ++
i) {
59 rConditionDofList[
i] = GetGeometry()[
i].pGetDof(TEMPERATURE);
65 void CalculateLocalSystem(
MatrixType& rLeftHandSideMatrix,
69 void EquationIdVector(EquationIdVectorType& rResult,
70 const ProcessInfo& rCurrentProcessInfo)
const override;
73 virtual void CalculateAll(
MatrixType& rLeftHandSideMatrix,
77 virtual void CalculateRHS(
VectorType& rRightHandSideVector,
83 void save(
Serializer& rSerializer)
const override
Base class for all Conditions.
Definition: condition.h:59
virtual Pointer Create(IndexType NewId, NodesArrayType const &ThisNodes, PropertiesType::Pointer pProperties) const
It creates a new condition pointer.
Definition: condition.h:205
std::vector< DofType::Pointer > DofsVectorType
Definition: condition.h:100
std::size_t IndexType
Definition: flags.h:74
Definition: T_condition.h:27
KRATOS_CLASS_INTRUSIVE_POINTER_DEFINITION(GeoTCondition)
Condition::Pointer Create(IndexType NewId, NodesArrayType const &rThisNodes, PropertiesType::Pointer pProperties) const override
It creates a new condition pointer.
Definition: T_condition.h:39
void GetDofList(DofsVectorType &rConditionDofList, const ProcessInfo &) const override
Definition: T_condition.h:49
~GeoTCondition() override
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_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
Modeler::Pointer Create(const std::string &ModelerName, Model &rModel, const Parameters ModelParameters)
Checks if the modeler is registered.
Definition: modeler_factory.cpp:30
REF: G. R. Cowper, GAUSSIAN QUADRATURE FORMULAS FOR TRIANGLES.
Definition: mesh_condition.cpp:21
def load(f)
Definition: ode_solve.py:307
integer i
Definition: TensorModule.f:17