14#include "arcane/core/materials/ComponentItemVectorView.h"
16#include "arcane/utils/NotImplementedException.h"
17#include "arcane/utils/ArgumentException.h"
19#include "arcane/core/materials/IMeshMaterial.h"
20#include "arcane/core/materials/IMeshEnvironment.h"
62 if (begin >= nb_total) {
67 ConstituentItemLocalIdListView mn = m_constituent_list_view._subView(begin, size);
68 ConstArrayView<MatVarIndex> mvs = _matvarIndexes().subView(begin, size);
69 ConstArrayView<Int32> ids = _internalLocalIds().
subView(begin, size);
71 return { m_component, mvs, mn, ids };
80 return {
component(), ComponentItemVectorView::_subView(begin, size) };
89 return {
component(), ComponentItemVectorView::_subView(begin, size) };
#define ARCANE_THROW(exception_class,...)
Macro for throwing an exception with formatting.
Exception when an argument is invalid.
constexpr ConstArrayView< T > subView(Integer abegin, Integer asize) const noexcept
Sub-view (constant) starting from element abegin and containing asize elements.
View over a vector of entities of a component.
IMeshComponent * component() const
Associated component.
Integer nbItem() const
Number of entities in the view.
View over a vector of entities of an environment.
IMeshEnvironment * environment() const
Associated environment.
Interface of a mesh environment.
Interface of a mesh material.
View over a vector of entities of a material.
IMeshMaterial * material() const
Associated material.
Always enables tracing in Arcane parts concerning materials.
Int32 Integer
Type representing an integer.