Arcane  v3.14.10.0
Documentation utilisateur
Chargement...
Recherche...
Aucune correspondance
ComponentItem.cc
1// -*- tab-width: 2; indent-tabs-mode: nil; coding: utf-8-with-signature -*-
2//-----------------------------------------------------------------------------
3// Copyright 2000-2024 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/* ComponentItem.cc (C) 2000-2024 */
9/* */
10/* Entités matériau et milieux. */
11/*---------------------------------------------------------------------------*/
12/*---------------------------------------------------------------------------*/
13
14#include "arcane/core/materials/ComponentItem.h"
15
16#include "arcane/utils/FatalErrorException.h"
17#include "arcane/utils/TraceInfo.h"
18
19/*---------------------------------------------------------------------------*/
20/*---------------------------------------------------------------------------*/
21
22namespace Arcane::Materials
23{
24
25/*---------------------------------------------------------------------------*/
26/*---------------------------------------------------------------------------*/
27
28void ComponentCell::
29_badConversion(matimpl::ConstituentItemBase item_base, Int32 level,Int32 expected_level)
30{
31 ARCANE_FATAL("bad level for internal component cell level={0} expected={1} cid={2} component_id={3}",
32 level,expected_level, item_base.m_constituent_item_index,item_base.componentId());
33}
34
35/*---------------------------------------------------------------------------*/
36/*---------------------------------------------------------------------------*/
37
38} // End namespace Arcane::Materials
39
40/*---------------------------------------------------------------------------*/
41/*---------------------------------------------------------------------------*/
#define ARCANE_FATAL(...)
Macro envoyant une exception FatalErrorException.
__host__ __device__ Int32 level() const
Niveau hiérarchique de l'entité
Active toujours les traces dans les parties Arcane concernant les matériaux.