Skip to content

Commit

Permalink
Merge pull request #913 from arcaneframework/dev/gg-move-cartesianmes…
Browse files Browse the repository at this point in the history
…h-in-arcane-part

Move directory 'cartesianmesh' from 'ceapart'  to 'arcane'
  • Loading branch information
grospelliergilles authored Oct 5, 2023
2 parents 5f9a489 + b4ad4a5 commit 9471522
Show file tree
Hide file tree
Showing 31 changed files with 37 additions and 37 deletions.
5 changes: 3 additions & 2 deletions arcane/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -972,9 +972,10 @@ add_subdirectory(src/arcane/tests)
add_subdirectory(samples_build)

# ----------------------------------------------------------------------------
# Ajoute le répertoire matériaux.
# Ajoute les répertoires 'matériaux' et 'cartesianmesh'
# Pour l'instant on le fait après les tests pour cohérence avec l'existant
# car avant ce répertoire était dans ceapart.
# car avant ces répertoires étaientt dans ceapart.
add_subdirectory(src/arcane/cartesianmesh)
add_subdirectory(src/arcane/materials)

# ----------------------------------------------------------------------------
Expand Down
1 change: 0 additions & 1 deletion arcane/ceapart/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,6 @@ if(NOT WIN32 AND MATHLINK_FOUND)
add_subdirectory(src/arcane/mathlink)
endif()

add_subdirectory(src/arcane/cartesianmesh)
add_subdirectory(src/arcane/cea)
add_subdirectory(src/arcane/geometric)
add_subdirectory(src/arcane/meshutils)
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
include(srcs.cmake)

arcane_add_library(arcane_cartesianmesh
INPUT_PATH ${ARCANECEA_SRC_PATH}
INPUT_PATH ${Arcane_SOURCE_DIR}/src
RELATIVE_PATH arcane/cartesianmesh
FILES ${ARCANE_SOURCES}
)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,9 @@ coarseCartesianMesh()
ARCANE_FATAL("This method is only valid for 1 patch (nb_patch={0})", nb_patch);

// TODO: Supprimer les mailles fantômes puis les reconstruire

// TODO: Mettre à jour les informations dans CellDirectionMng
// de ownNbCell(), globalNbCell(), ...

Integer nb_dir = mesh->dimension();
if (nb_dir != 2)
ARCANE_FATAL("This method is only valid for 2D mesh");
Expand Down
Original file line number Diff line number Diff line change
@@ -1,28 +1,28 @@
// -*- tab-width: 2; indent-tabs-mode: nil; coding: utf-8-with-signature -*-
//-----------------------------------------------------------------------------
// Copyright 2000-2022 CEA (www.cea.fr) IFPEN (www.ifpenergiesnouvelles.com)
// Copyright 2000-2023 CEA (www.cea.fr) IFPEN (www.ifpenergiesnouvelles.com)
// See the top-level COPYRIGHT file for details.
// SPDX-License-Identifier: Apache-2.0
//-----------------------------------------------------------------------------
/*---------------------------------------------------------------------------*/
/* CartesianMeshPatch.h (C) 2000-2020 */
/* CartesianMeshPatch.h (C) 2000-2023 */
/* */
/* Informations sur un patch AMR d'un maillage cartésien. */
/*---------------------------------------------------------------------------*/
#ifndef ARCANE_CEA_CARTESIANMESHPATCH_H
#define ARCANE_CEA_CARTESIANMESHPATCH_H
#ifndef ARCANE_CARTESIANMESH_CARTESIANMESHPATCH_H
#define ARCANE_CARTESIANMESH_CARTESIANMESHPATCH_H
/*---------------------------------------------------------------------------*/
/*---------------------------------------------------------------------------*/

#include "arcane/utils/TraceAccessor.h"

#include "arcane/ItemTypes.h"
#include "arcane/VariableTypes.h"
#include "arcane/core/ItemTypes.h"
#include "arcane/core/VariableTypes.h"

#include "arcane/cea/ICartesianMeshPatch.h"
#include "arcane/cea/CellDirectionMng.h"
#include "arcane/cea/FaceDirectionMng.h"
#include "arcane/cea/NodeDirectionMng.h"
#include "arcane/cartesianmesh/ICartesianMeshPatch.h"
#include "arcane/cartesianmesh/CellDirectionMng.h"
#include "arcane/cartesianmesh/FaceDirectionMng.h"
#include "arcane/cartesianmesh/NodeDirectionMng.h"

/*---------------------------------------------------------------------------*/
/*---------------------------------------------------------------------------*/
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -15,8 +15,8 @@

#include "arcane/utils/PlatformUtils.h"

#include "arcane/cea/ICartesianMesh.h"
#include "arcane/cea/ICartesianMeshPatch.h"
#include "arcane/cartesianmesh/ICartesianMesh.h"
#include "arcane/cartesianmesh/ICartesianMeshPatch.h"

#include "arcane/core/CartesianGridDimension.h"
#include "arcane/core/VariableTypes.h"
Expand Down
Original file line number Diff line number Diff line change
@@ -1,25 +1,25 @@
// -*- tab-width: 2; indent-tabs-mode: nil; coding: utf-8-with-signature -*-
//-----------------------------------------------------------------------------
// Copyright 2000-2022 CEA (www.cea.fr) IFPEN (www.ifpenergiesnouvelles.com)
// Copyright 2000-2023 CEA (www.cea.fr) IFPEN (www.ifpenergiesnouvelles.com)
// See the top-level COPYRIGHT file for details.
// SPDX-License-Identifier: Apache-2.0
//-----------------------------------------------------------------------------
/*---------------------------------------------------------------------------*/
/* CartesianMeshUniqueIdRenumbering.h (C) 2000-2021 */
/* CartesianMeshUniqueIdRenumbering.h (C) 2000-2023 */
/* */
/* Renumérotation des uniqueId() pour les maillages cartésiens. */
/*---------------------------------------------------------------------------*/
#ifndef ARCANE_CEA_CARTESIANMESHUNIQUEIDRENUMBERING_H
#define ARCANE_CEA_CARTESIANMESHUNIQUEIDRENUMBERING_H
#ifndef ARCANE_CARTESIANMESH_CARTESIANMESHUNIQUEIDRENUMBERING_H
#define ARCANE_CARTESIANMESH_CARTESIANMESHUNIQUEIDRENUMBERING_H
/*---------------------------------------------------------------------------*/
/*---------------------------------------------------------------------------*/

#include "arcane/utils/TraceAccessor.h"

#include "arcane/ItemTypes.h"
#include "arcane/VariableTypedef.h"
#include "arcane/core/ItemTypes.h"
#include "arcane/core/VariableTypedef.h"

#include "arcane/cea/CeaGlobal.h"
#include "arcane/cartesianmesh/CartesianMeshGlobal.h"

/*---------------------------------------------------------------------------*/
/*---------------------------------------------------------------------------*/
Expand Down
File renamed without changes.
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,6 @@

#include <gtest/gtest.h>

#include "arcane/tests/CartesianMeshV2TestUtils.h"

#include "arcane/cartesianmesh/v2/CartesianTypes.h"
#include "arcane/cartesianmesh/v2/CartesianGrid.h"
#include "arcane/cartesianmesh/v2/CartesianNumbering.h"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -15,13 +15,13 @@

#include "arcane/utils/PlatformUtils.h"

#include "arcane/cea/ICartesianMesh.h"
#include "arcane/cea/ICartesianMeshPatch.h"
#include "arcane/cartesianmesh/ICartesianMesh.h"
#include "arcane/cartesianmesh/ICartesianMeshPatch.h"

#include "arcane/VariableTypes.h"
#include "arcane/IMesh.h"
#include "arcane/IItemFamily.h"
#include "arcane/ICartesianMeshGenerationInfo.h"
#include "arcane/core/VariableTypes.h"
#include "arcane/core/IMesh.h"
#include "arcane/core/IItemFamily.h"
#include "arcane/core/ICartesianMeshGenerationInfo.h"

#include <array>

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,17 +9,17 @@
/* */
/* Renumérotation des uniqueId() pour les maillages cartésiens. */
/*---------------------------------------------------------------------------*/
#ifndef ARCANE_CEA_CARTESIANMESHUNIQUEIDRENUMBERINGV2_H
#define ARCANE_CEA_CARTESIANMESHUNIQUEIDRENUMBERINGV2_H
#ifndef ARCANE_CARTESIANMESH_CARTESIANMESHUNIQUEIDRENUMBERINGV2_H
#define ARCANE_CARTESIANMESH_CARTESIANMESHUNIQUEIDRENUMBERINGV2_H
/*---------------------------------------------------------------------------*/
/*---------------------------------------------------------------------------*/

#include "arcane/utils/TraceAccessor.h"

#include "arcane/ItemTypes.h"
#include "arcane/VariableTypedef.h"
#include "arcane/core/ItemTypes.h"
#include "arcane/core/VariableTypedef.h"

#include "arcane/cea/CeaGlobal.h"
#include "arcane/cartesianmesh/CartesianMeshGlobal.h"

/*---------------------------------------------------------------------------*/
/*---------------------------------------------------------------------------*/
Expand Down

0 comments on commit 9471522

Please sign in to comment.