Skip to content

Commit

Permalink
Merge branch 'master' into RomApp_add_docs
Browse files Browse the repository at this point in the history
  • Loading branch information
Rbravo555 committed Aug 22, 2024
2 parents b8598a2 + 246ca6b commit 9b34ff9
Show file tree
Hide file tree
Showing 133 changed files with 27,158 additions and 476 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -133,6 +133,12 @@ Condition::DofsVectorType PwCondition<TDim, TNumNodes>::GetDofs() const
return Geo::DofUtilities::ExtractDofsFromNodes(GetGeometry(), WATER_PRESSURE);
}

template <unsigned int TDim, unsigned int TNumNodes>
std::string PwCondition<TDim, TNumNodes>::Info() const
{
return "PwCondition";
}

//----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
template class PwCondition<2, 1>;
template class PwCondition<2, 2>;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -75,6 +75,8 @@ class KRATOS_API(GEO_MECHANICS_APPLICATION) PwCondition : public Condition

void EquationIdVector(EquationIdVectorType& rResult, const ProcessInfo&) const override;

std::string Info() const override;

//----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------

protected:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -87,6 +87,12 @@ void PwNormalFluxCondition<TDim, TNumNodes>::CalculateAndAddRHS(VectorType& rRig
rRightHandSideVector += rVariables.PVector;
}

template <unsigned int TDim, unsigned int TNumNodes>
std::string PwNormalFluxCondition<TDim, TNumNodes>::Info() const
{
return "PwNormalFluxCondition";
}

template class PwNormalFluxCondition<2, 2>;
template class PwNormalFluxCondition<2, 3>;
template class PwNormalFluxCondition<2, 4>;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -64,6 +64,8 @@ class KRATOS_API(GEO_MECHANICS_APPLICATION) PwNormalFluxCondition : public PwCon
NodesArrayType const& ThisNodes,
PropertiesType::Pointer pProperties) const override;

std::string Info() const override;

//----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------

protected:
Expand Down Expand Up @@ -102,7 +104,6 @@ class KRATOS_API(GEO_MECHANICS_APPLICATION) PwNormalFluxCondition : public PwCon
{
KRATOS_SERIALIZE_LOAD_BASE_CLASS(rSerializer, Condition)
}

}; // class PwNormalFluxCondition.

} // namespace Kratos.
Original file line number Diff line number Diff line change
Expand Up @@ -50,6 +50,12 @@ void PwPointFluxCondition<TDim, TNumNodes>::CalculateRHS(Vector& rRightHandSideV
rRightHandSideVector[0] = this->GetGeometry()[0].FastGetSolutionStepValue(NORMAL_FLUID_FLUX);
}

template <unsigned int TDim, unsigned int TNumNodes>
std::string PwPointFluxCondition<TDim, TNumNodes>::Info() const
{
return "PwPointFluxCondition";
}

template class PwPointFluxCondition<2, 1>;
template class PwPointFluxCondition<3, 1>;

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -43,6 +43,8 @@ class KRATOS_API(GEO_MECHANICS_APPLICATION) PwPointFluxCondition : public PwCond
NodesArrayType const& rThisNodes,
PropertiesType::Pointer pProperties) const override;

std::string Info() const override;

protected:
void CalculateRHS(Vector& rRightHandSideVector, const ProcessInfo&) override;

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -90,6 +90,12 @@ Condition::DofsVectorType GeoTCondition<TDim, TNumNodes>::GetDofs() const
return Geo::DofUtilities::ExtractDofsFromNodes(this->GetGeometry(), TEMPERATURE);
}

template <unsigned int TDim, unsigned int TNumNodes>
std::string GeoTCondition<TDim, TNumNodes>::Info() const
{
return "GeoTCondition";
}

template class GeoTCondition<2, 1>;
template class GeoTCondition<2, 2>;
template class GeoTCondition<2, 3>;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -51,6 +51,8 @@ class KRATOS_API(GEO_MECHANICS_APPLICATION) GeoTCondition : public Condition

void EquationIdVector(EquationIdVectorType& rResult, const ProcessInfo&) const override;

std::string Info() const override;

protected:
virtual void CalculateAll(MatrixType& rLeftHandSideMatrix,
VectorType& rRightHandSideVector,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -400,6 +400,12 @@ double GeoTMicroClimateFluxCondition<TDim, TNumNodes>::CalculateSurfaceRoughness
return 1.0 / (1.0 + 15.0 * RichardsonBulkModulus * coefficient);
}

template <unsigned int TDim, unsigned int TNumNodes>
std::string GeoTMicroClimateFluxCondition<TDim, TNumNodes>::Info() const
{
return "GeoTMicroClimateFluxCondition";
}

template class GeoTMicroClimateFluxCondition<2, 2>;
template class GeoTMicroClimateFluxCondition<2, 3>;
template class GeoTMicroClimateFluxCondition<2, 4>;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -63,6 +63,8 @@ class KRATOS_API(GEO_MECHANICS_APPLICATION) GeoTMicroClimateFluxCondition
Vector& rRightHandSideVector,
const ProcessInfo& rCurrentProcessInfo) override;

std::string Info() const override;

private:
void InitializeProperties();

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -80,6 +80,12 @@ void GeoTNormalFluxCondition<TDim, TNumNodes>::CalculateRHS(Vector& r
}
}

template <unsigned int TDim, unsigned int TNumNodes>
std::string GeoTNormalFluxCondition<TDim, TNumNodes>::Info() const
{
return "GeoTNormalFluxCondition";
}

template class GeoTNormalFluxCondition<2, 2>;
template class GeoTNormalFluxCondition<2, 3>;
template class GeoTNormalFluxCondition<2, 4>;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,8 @@ class KRATOS_API(GEO_MECHANICS_APPLICATION) GeoTNormalFluxCondition : public Geo
NewId, this->GetGeometry().Create(rThisNodes), pProperties);
}

std::string Info() const override;

protected:
void CalculateRHS(Vector& rRightHandSideVector, const ProcessInfo& CurrentProcessInfo) override;

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -126,6 +126,12 @@ Condition::DofsVectorType UPwCondition<TDim, TNumNodes>::GetDofs() const
return Geo::DofUtilities::ExtractUPwDofsFromNodes(GetGeometry(), TDim);
}

template <unsigned int TDim, unsigned int TNumNodes>
std::string UPwCondition<TDim, TNumNodes>::Info() const
{
return "UPwCondition";
}

//----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
template class UPwCondition<2, 1>;
template class UPwCondition<2, 2>;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -77,6 +77,8 @@ class KRATOS_API(GEO_MECHANICS_APPLICATION) UPwCondition : public Condition

void EquationIdVector(EquationIdVectorType& rResult, const ProcessInfo&) const override;

std::string Info() const override;

//----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------

protected:
Expand Down Expand Up @@ -106,7 +108,6 @@ class KRATOS_API(GEO_MECHANICS_APPLICATION) UPwCondition : public Condition
{
KRATOS_SERIALIZE_LOAD_BASE_CLASS(rSerializer, Condition)
}

}; // class UPwCondition.

} // namespace Kratos.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -73,6 +73,12 @@ void UPwFaceLoadCondition<TDim, TNumNodes>::CalculateRHS(VectorType& rRig
}
}

template <unsigned int TDim, unsigned int TNumNodes>
std::string UPwFaceLoadCondition<TDim, TNumNodes>::Info() const
{
return "UPwFaceLoadCondition";
}

template class UPwFaceLoadCondition<2, 2>;
template class UPwFaceLoadCondition<2, 3>;
template class UPwFaceLoadCondition<2, 4>;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -62,6 +62,8 @@ class KRATOS_API(GEO_MECHANICS_APPLICATION) UPwFaceLoadCondition : public UPwCon
NodesArrayType const& ThisNodes,
PropertiesType::Pointer pProperties) const override;

std::string Info() const override;

//----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------

protected:
Expand Down Expand Up @@ -91,7 +93,6 @@ class KRATOS_API(GEO_MECHANICS_APPLICATION) UPwFaceLoadCondition : public UPwCon
{
KRATOS_SERIALIZE_LOAD_BASE_CLASS(rSerializer, Condition)
}

}; // class UPwFaceLoadCondition.

} // namespace Kratos.
Original file line number Diff line number Diff line change
Expand Up @@ -318,6 +318,12 @@ double UPwFaceLoadInterfaceCondition<3, 4>::CalculateIntegrationCoefficient(cons
KRATOS_CATCH("")
}

template <unsigned int TDim, unsigned int TNumNodes>
std::string UPwFaceLoadInterfaceCondition<TDim, TNumNodes>::Info() const
{
return "UPwFaceLoadInterfaceCondition";
}

//----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------

template class UPwFaceLoadInterfaceCondition<2, 2>;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -65,6 +65,8 @@ class KRATOS_API(GEO_MECHANICS_APPLICATION) UPwFaceLoadInterfaceCondition

void Initialize(const ProcessInfo& rCurrentProcessInfo) override;

std::string Info() const override;

//----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------

protected:
Expand Down Expand Up @@ -109,7 +111,6 @@ class KRATOS_API(GEO_MECHANICS_APPLICATION) UPwFaceLoadInterfaceCondition
{
KRATOS_SERIALIZE_LOAD_BASE_CLASS(rSerializer, Condition)
}

}; // class UPwFaceLoadInterfaceCondition.

} // namespace Kratos.
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,12 @@ void UPwForceCondition<TDim, TNumNodes>::CalculateRHS(VectorType& rRightH
}
}

template <unsigned int TDim, unsigned int TNumNodes>
std::string UPwForceCondition<TDim, TNumNodes>::Info() const
{
return "UPwForceCondition";
}

//----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------

template class UPwForceCondition<2, 1>;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -61,6 +61,8 @@ class KRATOS_API(GEO_MECHANICS_APPLICATION) UPwForceCondition : public UPwCondit
NodesArrayType const& ThisNodes,
PropertiesType::Pointer pProperties) const override;

std::string Info() const override;

//----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------

protected:
Expand Down Expand Up @@ -90,7 +92,6 @@ class KRATOS_API(GEO_MECHANICS_APPLICATION) UPwForceCondition : public UPwCondit
{
KRATOS_SERIALIZE_LOAD_BASE_CLASS(rSerializer, Condition)
}

}; // class UPwForceCondition.

} // namespace Kratos.
Original file line number Diff line number Diff line change
Expand Up @@ -119,6 +119,12 @@ double UPwNormalFaceLoadCondition<TDim, TNumNodes>::CalculateIntegrationCoeffici
return IntegrationPoints[PointNumber].Weight();
}

template <unsigned int TDim, unsigned int TNumNodes>
std::string UPwNormalFaceLoadCondition<TDim, TNumNodes>::Info() const
{
return "UPwNormalFaceLoadCondition";
}

template class UPwNormalFaceLoadCondition<2, 2>;
template class UPwNormalFaceLoadCondition<2, 3>;
template class UPwNormalFaceLoadCondition<2, 4>;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -62,6 +62,8 @@ class KRATOS_API(GEO_MECHANICS_APPLICATION) UPwNormalFaceLoadCondition : public
NodesArrayType const& ThisNodes,
PropertiesType::Pointer pProperties) const override;

std::string Info() const override;

//----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------

protected:
Expand Down Expand Up @@ -107,7 +109,6 @@ class KRATOS_API(GEO_MECHANICS_APPLICATION) UPwNormalFaceLoadCondition : public
{
KRATOS_SERIALIZE_LOAD_BASE_CLASS(rSerializer, Condition)
}

}; // class UPwNormalFaceLoadCondition.

} // namespace Kratos.
Original file line number Diff line number Diff line change
Expand Up @@ -216,6 +216,12 @@ void UPwNormalFluxFICCondition<TDim, TNumNodes>::CalculateAndAddBoundaryMassFlow
GeoElementUtilities::AssemblePBlockVector(rRightHandSideVector, rVariables.PVector);
}

template <unsigned int TDim, unsigned int TNumNodes>
std::string UPwNormalFluxFICCondition<TDim, TNumNodes>::Info() const
{
return "UPwNormalFluxFICCondition";
}

template class UPwNormalFluxFICCondition<2, 2>;
template class UPwNormalFluxFICCondition<3, 3>;
template class UPwNormalFluxFICCondition<3, 4>;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -61,6 +61,8 @@ class KRATOS_API(GEO_MECHANICS_APPLICATION) UPwNormalFluxFICCondition

GeometryData::IntegrationMethod GetIntegrationMethod() const override;

std::string Info() const override;

protected:
struct NormalFluxFICVariables {
double DtPressureCoefficient;
Expand Down Expand Up @@ -108,7 +110,6 @@ class KRATOS_API(GEO_MECHANICS_APPLICATION) UPwNormalFluxFICCondition
{
KRATOS_SERIALIZE_LOAD_BASE_CLASS(rSerializer, Condition)
}

}; // class UPwNormalFluxFICCondition.

} // namespace Kratos.
Original file line number Diff line number Diff line change
Expand Up @@ -86,6 +86,12 @@ void UPwNormalFluxCondition<TDim, TNumNodes>::CalculateAndAddRHS(VectorType& rRi
GeoElementUtilities::AssemblePBlockVector(rRightHandSideVector, rVariables.PVector);
}

template <unsigned int TDim, unsigned int TNumNodes>
std::string UPwNormalFluxCondition<TDim, TNumNodes>::Info() const
{
return "UPwNormalFluxCondition";
}

template class UPwNormalFluxCondition<2, 2>;
template class UPwNormalFluxCondition<2, 3>;
template class UPwNormalFluxCondition<2, 4>;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -65,6 +65,8 @@ class KRATOS_API(GEO_MECHANICS_APPLICATION) UPwNormalFluxCondition
NodesArrayType const& ThisNodes,
PropertiesType::Pointer pProperties) const override;

std::string Info() const override;

//----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------

protected:
Expand Down Expand Up @@ -103,7 +105,6 @@ class KRATOS_API(GEO_MECHANICS_APPLICATION) UPwNormalFluxCondition
{
KRATOS_SERIALIZE_LOAD_BASE_CLASS(rSerializer, Condition)
}

}; // class UPwNormalFluxCondition.

} // namespace Kratos.
Original file line number Diff line number Diff line change
Expand Up @@ -94,6 +94,12 @@ void UPwNormalFluxInterfaceCondition<TDim, TNumNodes>::CalculateRHS(VectorType&
}
}

template <unsigned int TDim, unsigned int TNumNodes>
std::string UPwNormalFluxInterfaceCondition<TDim, TNumNodes>::Info() const
{
return "UPwNormalFluxInterfaceCondition";
}

//----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------

template class UPwNormalFluxInterfaceCondition<2, 2>;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -66,6 +66,8 @@ class KRATOS_API(GEO_MECHANICS_APPLICATION) UPwNormalFluxInterfaceCondition
NodesArrayType const& ThisNodes,
PropertiesType::Pointer pProperties) const override;

std::string Info() const override;

//----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------

protected:
Expand Down Expand Up @@ -95,7 +97,6 @@ class KRATOS_API(GEO_MECHANICS_APPLICATION) UPwNormalFluxInterfaceCondition
{
KRATOS_SERIALIZE_LOAD_BASE_CLASS(rSerializer, Condition)
}

}; // class UPwNormalFluxInterfaceCondition.

} // namespace Kratos.
Original file line number Diff line number Diff line change
Expand Up @@ -568,7 +568,12 @@ void UPwLysmerAbsorbingCondition<3, 4>::CalculateRotationMatrix(BoundedMatrix<do
rRotationMatrix(2, 1) = v_z[1];
rRotationMatrix(2, 2) = v_z[2];
}
//

template <unsigned int TDim, unsigned int TNumNodes>
std::string UPwLysmerAbsorbingCondition<TDim, TNumNodes>::Info() const
{
return "UPwLysmerAbsorbingCondition";
}

//----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------

Expand Down
Loading

0 comments on commit 9b34ff9

Please sign in to comment.