Skip to content

Commit

Permalink
Merge pull request #12859 from KratosMultiphysics/core/some-missing-
Browse files Browse the repository at this point in the history
[Core] Adding some missing includes
  • Loading branch information
loumalouomega authored Nov 19, 2024
2 parents c1684f7 + aefff83 commit ed3bae3
Show file tree
Hide file tree
Showing 3 changed files with 17 additions and 23 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -4,18 +4,16 @@
// _|\_\_| \__,_|\__|\___/ ____/
// Multi-Physics
//
// License: BSD License
// Kratos default license: kratos/license.txt
// License: BSD License
// Kratos default license: kratos/license.txt
//
// Main authors: Pooyan Dadvand
// Ruben Zorrilla
// Daniel Baumgaertner
// Johannes Wolf
//

#if !defined(KRATOS_CALCULATE_EMBEDDED_SIGNED_DISTANCE_TO_3D_SKIN_PROCESS_H_INCLUDED )
#define KRATOS_CALCULATE_EMBEDDED_SIGNED_DISTANCE_TO_3D_SKIN_PROCESS_H_INCLUDED

#pragma once

// System includes
#include <string>
Expand All @@ -33,6 +31,8 @@
#include "includes/model_part.h"
#include "geometries/geometry_data.h"
#include "utilities/openmp_utils.h"
#include "processes/calculate_distance_to_skin_process.h"
#include "processes/calculate_discontinuous_distance_to_skin_process.h"

namespace Kratos {

Expand Down Expand Up @@ -374,6 +374,4 @@ inline std::ostream& operator << (std::ostream& rOStream,
}
///@}

} // namespace Kratos.

#endif // KRATOS_CALCULATE_EMBEDDED_SIGNED_DISTANCE_TO_3D_SKIN_PROCESS_H_INCLUDED defined
} // namespace Kratos.
23 changes: 9 additions & 14 deletions kratos/utilities/binbased_fast_point_locator.h
Original file line number Diff line number Diff line change
Expand Up @@ -4,14 +4,13 @@
// _|\_\_| \__,_|\__|\___/ ____/
// Multi-Physics
//
// License: BSD License
// license: license.txt
// License: BSD License
// Kratos default license: kratos/license.txt
//
// License: BSD License
// Main authors: Riccardo Rossi
// Pablo Becker
// Carlos Roig
// Vicente Mataix Ferrandiz
// Main authors: Riccardo Rossi
// Pablo Becker
// Carlos Roig
// Vicente Mataix Ferrandiz
//

#pragma once
Expand All @@ -21,9 +20,8 @@
// External includes

// Project includes
#include "includes/define.h"
#include "includes/node.h"

#include "includes/condition.h"
#include "spatial_containers/spatial_containers.h"
#include "spatial_containers/cell.h"
#include "spatial_containers/bins_dynamic_objects.h"
Expand Down Expand Up @@ -86,11 +84,8 @@ class BinBasedFastPointLocator
typedef typename BinsObjectDynamic<ConfigureType>::CoordinateType BinsCoordinateType;
typedef typename BinsObjectDynamic<ConfigureType>::PointType BinsPointType;

/// The definition of the node
typedef Node NodeType;

/// The definition of the geometry
typedef Geometry<NodeType> GeometryType;
typedef Geometry<Node> GeometryType;

/// The size definition
typedef std::size_t SizeType;
Expand Down Expand Up @@ -422,4 +417,4 @@ class BinBasedFastPointLocator
///@}
};

} // namespace Kratos.
} // namespace Kratos.
3 changes: 2 additions & 1 deletion kratos/utilities/spatial_containers_configure.h
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@
// External includes

// Project includes
#include "includes/element.h"

namespace Kratos
{
Expand Down Expand Up @@ -367,4 +368,4 @@ inline std::ostream& operator << (std::ostream& rOStream,
}
///@}

} // namespace Kratos.
} // namespace Kratos.

0 comments on commit ed3bae3

Please sign in to comment.