Arcane  v3.14.10.0
Documentation développeur
Chargement...
Recherche...
Aucune correspondance
MeshVariables.cc
1// -*- tab-width: 2; indent-tabs-mode: nil; coding: utf-8-with-signature -*-
2//-----------------------------------------------------------------------------
3// Copyright 2000-2022 CEA (www.cea.fr) IFPEN (www.ifpenergiesnouvelles.com)
4// See the top-level COPYRIGHT file for details.
5// SPDX-License-Identifier: Apache-2.0
6//-----------------------------------------------------------------------------
7/*---------------------------------------------------------------------------*/
8/* MeshVariables.cc (C) 2000-2005 */
9/* */
10/* Connectivités communes aux maillages 1D, 2D et 3D */
11/*---------------------------------------------------------------------------*/
12/*---------------------------------------------------------------------------*/
13
14#include "arcane/utils/ArcanePrecomp.h"
15
16#include "arcane/utils/InvalidArgumentException.h"
17#include "arcane/utils/ITraceMng.h"
18
19#include "arcane/ISubDomain.h"
20#include "arcane/ArcaneException.h"
21
22#include "arcane/mesh/MeshVariables.h"
23#include "arcane/Connectivity.h"
24
25/*---------------------------------------------------------------------------*/
26/*---------------------------------------------------------------------------*/
27
28ARCANE_BEGIN_NAMESPACE
29
30/*---------------------------------------------------------------------------*/
31/*---------------------------------------------------------------------------*/
32
33ARCANE_MESH_BEGIN_NAMESPACE
34
35/*---------------------------------------------------------------------------*/
36/*---------------------------------------------------------------------------*/
37
38MeshVariables::
39MeshVariables(ISubDomain* sub_domain,const String& base_name)
40: m_sub_domain(sub_domain)
41, m_mesh_dimension(VariableBuildInfo(sub_domain,base_name+"MeshDimension"))
42, m_mesh_connectivity(VariableBuildInfo(sub_domain,base_name+"MeshConnectivity"))
43, m_item_families_name(VariableBuildInfo(sub_domain,base_name+"ItemFamiliesName"))
44, m_item_families_kind(VariableBuildInfo(sub_domain,base_name+"ItemFamiliesKind"))
45, m_parent_mesh_name(VariableBuildInfo(sub_domain,base_name+"ParentMeshName"))
46, m_parent_group_name(VariableBuildInfo(sub_domain,base_name+"ParentGroupName"))
47, m_child_meshes_name(VariableBuildInfo(sub_domain,base_name+"ChildMeshesName"))
48{
49 m_mesh_dimension = -1;
50 m_mesh_connectivity = Connectivity::CT_Default;
51}
52
53/*---------------------------------------------------------------------------*/
54/*---------------------------------------------------------------------------*/
55
56ARCANE_MESH_END_NAMESPACE
57ARCANE_END_NAMESPACE
58
59/*---------------------------------------------------------------------------*/
60/*---------------------------------------------------------------------------*/
61