Arcane  4.1.12.0
User documentation
Loading...
Searching...
No Matches
ComponentSimd.cc
1// -*- tab-width: 2; indent-tabs-mode: nil; coding: utf-8-with-signature -*-
2//-----------------------------------------------------------------------------
3// Copyright 2000-2026 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/* ComponentSimd.cc (C) 2000-2017 */
9/* */
10/* Support for vectorization for materials and environments. */
11/*---------------------------------------------------------------------------*/
12/*---------------------------------------------------------------------------*/
13
15#include "arcane/materials/EnvItemVector.h"
16
17/*---------------------------------------------------------------------------*/
18/*---------------------------------------------------------------------------*/
19
20namespace Arcane::Materials
21{
22
23/*---------------------------------------------------------------------------*/
24/*---------------------------------------------------------------------------*/
25
26LoopFunctorEnvPartSimdCell LoopFunctorEnvPartSimdCell::
27create(const EnvCellVector& env)
28{
29 return LoopFunctorEnvPartSimdCell(env.pureItems(), env.impureItems());
30}
31
32/*---------------------------------------------------------------------------*/
33/*---------------------------------------------------------------------------*/
34
35LoopFunctorEnvPartSimdCell LoopFunctorEnvPartSimdCell::
36create(IMeshEnvironment* env)
37{
38 return LoopFunctorEnvPartSimdCell(env->pureItems(), env->impureItems());
39}
40
41/*---------------------------------------------------------------------------*/
42/*---------------------------------------------------------------------------*/
43
44} // namespace Arcane::Materials
45
46/*---------------------------------------------------------------------------*/
47/*---------------------------------------------------------------------------*/
Vector over the entities of an environment.
Always enables tracing in Arcane parts concerning materials.