Arcane  4.1.12.0
Developer documentation
Loading...
Searching...
No Matches
Arcane::VtkPolyhedralMeshIOService Class Reference
Inheritance diagram for Arcane::VtkPolyhedralMeshIOService:
Collaboration diagram for Arcane::VtkPolyhedralMeshIOService:

Classes

class  VtkReader
struct  VariableInfo

Public Member Functions

 VtkPolyhedralMeshIOService (ITraceMng *trace_mng, VtkPolyhedralTools::PrintInfoLevel print_info_level)
VtkPolyhedralTools::ReadStatus read (IPrimaryMesh *mesh, const String &filename, bool is_parallel_read)
Public Member Functions inherited from Arcane::TraceAccessor
 TraceAccessor (ITraceMng *m)
 Constructs an accessor via the trace manager m.
 TraceAccessor (const TraceAccessor &rhs)
 Copy constructor.
TraceAccessoroperator= (const TraceAccessor &rhs)
 Copy assignment operator.
virtual ~TraceAccessor ()
 Frees resources.
ITraceMngtraceMng () const
 Trace manager.
TraceMessage info () const
 Flow for an information message.
TraceMessage pinfo () const
 Flow for a parallel information message.
TraceMessage info (char category) const
 Flow for an information message of a given category.
TraceMessage pinfo (char category) const
 Flow for a parallel information message of a given category.
TraceMessage info (bool v) const
 Flow for an information message.
TraceMessage warning () const
 Flow for a warning message.
TraceMessage pwarning () const
TraceMessage error () const
 Flow for an error message.
TraceMessage perror () const
TraceMessage log () const
 Flow for a log message.
TraceMessage plog () const
 Flow for a log message.
TraceMessage logdate () const
 Flow for a log message preceded by the date.
TraceMessage fatal () const
 Flow for a fatal error message.
TraceMessage pfatal () const
 Flow for a parallel fatal error message.
TraceMessageDbg debug (Trace::eDebugLevel=Trace::Medium) const
 Flow for a debug message.
Trace::eDebugLevel configDbgLevel () const
 Debug level of the configuration file.
TraceMessage info (Int32 verbose_level) const
 Flow for an information message of a given level.
TraceMessage linfo () const
 Flow for an information message with the local information level of this instance.
TraceMessage linfo (Int32 relative_level) const
 Flow for an information message with the local information level of this instance.
void fatalMessage (const StandaloneTraceMessage &o) const

Private Member Functions

void _readVariablesAndGroups (IPrimaryMesh *mesh, VtkReader &reader)
void _createGroup (vtkDataArray *group_items, const String &group_name, IPrimaryMesh *mesh, IItemFamily *item_family, Int32ConstSpan vtkToArcaneLid) const
VariableInfo _createVariable (vtkDataArray *item_values, const String &variable_name, IMesh *mesh, IItemFamily *item_family, Int32ConstSpan arcane_to_vtk_lids) const
void _computeFaceVtkArcaneLidConversion (Int32Span face_vtk_to_arcane_lids, Int32Span arcane_to_vtk_lids, VtkPolyhedralMeshIOService::VtkReader &reader, IPrimaryMesh *mesh) const
void _createEmptyVariablesAndGroups (IMesh *mesh, XmlNode::const_reference xml_node) const
template<template< class > class VariableRootType, template< class > class ArrayVariableRootType>
void _createEmptyVariables (IMesh *mesh, const XmlNodeList &cell_variables_node, eItemKind item_kind) const
void _createEmptyGroups (IMesh *mesh, const XmlNodeList &children, IItemFamily *item_family) const

Static Private Member Functions

static void _fillItemAllocationInfo (ItemAllocationInfo &item_allocation_info, VtkReader &vtk_reader)

Private Attributes

VtkPolyhedralTools::PrintInfoLevel m_print_info_level

Additional Inherited Members

Protected Member Functions inherited from Arcane::TraceAccessor
void _setLocalVerboseLevel (Int32 v)
Int32 _localVerboseLevel () const

Detailed Description

Definition at line 105 of file VtkPolyhedralMeshIOService.cc.

Constructor & Destructor Documentation

◆ VtkPolyhedralMeshIOService()

Arcane::VtkPolyhedralMeshIOService::VtkPolyhedralMeshIOService ( ITraceMng * trace_mng,
VtkPolyhedralTools::PrintInfoLevel print_info_level )
inlineexplicit

Definition at line 110 of file VtkPolyhedralMeshIOService.cc.

Member Function Documentation

◆ _computeFaceVtkArcaneLidConversion()

void Arcane::VtkPolyhedralMeshIOService::_computeFaceVtkArcaneLidConversion ( Int32Span face_vtk_to_arcane_lids,
Int32Span arcane_to_vtk_lids,
VtkPolyhedralMeshIOService::VtkReader & reader,
IPrimaryMesh * mesh ) const
private

Definition at line 696 of file VtkPolyhedralMeshIOService.cc.

◆ _createEmptyGroups()

void Arcane::VtkPolyhedralMeshIOService::_createEmptyGroups ( IMesh * mesh,
const XmlNodeList & children,
IItemFamily * item_family ) const
private

Definition at line 774 of file VtkPolyhedralMeshIOService.cc.

◆ _createEmptyVariables()

template<template< class > class VariableRootType, template< class > class ArrayVariableRootType>
void Arcane::VtkPolyhedralMeshIOService::_createEmptyVariables ( IMesh * mesh,
const XmlNodeList & cell_variables_node,
eItemKind item_kind ) const
private

Definition at line 749 of file VtkPolyhedralMeshIOService.cc.

◆ _createEmptyVariablesAndGroups()

void Arcane::VtkPolyhedralMeshIOService::_createEmptyVariablesAndGroups ( IMesh * mesh,
XmlNode::const_reference xml_node ) const
private

Definition at line 788 of file VtkPolyhedralMeshIOService.cc.

◆ _createGroup()

void Arcane::VtkPolyhedralMeshIOService::_createGroup ( vtkDataArray * group_items,
const String & group_name,
IPrimaryMesh * mesh,
IItemFamily * item_family,
Int32ConstSpan vtkToArcaneLid ) const
private

Definition at line 584 of file VtkPolyhedralMeshIOService.cc.

◆ _createVariable()

VtkPolyhedralMeshIOService::VariableInfo Arcane::VtkPolyhedralMeshIOService::_createVariable ( vtkDataArray * item_values,
const String & variable_name,
IMesh * mesh,
IItemFamily * item_family,
Int32ConstSpan arcane_to_vtk_lids ) const
private

Definition at line 637 of file VtkPolyhedralMeshIOService.cc.

◆ _fillItemAllocationInfo()

void Arcane::VtkPolyhedralMeshIOService::_fillItemAllocationInfo ( ItemAllocationInfo & item_allocation_info,
VtkReader & vtk_reader )
staticprivate

Definition at line 347 of file VtkPolyhedralMeshIOService.cc.

◆ _readVariablesAndGroups()

void Arcane::VtkPolyhedralMeshIOService::_readVariablesAndGroups ( IPrimaryMesh * mesh,
VtkReader & reader )
private

Definition at line 469 of file VtkPolyhedralMeshIOService.cc.

◆ read()

VtkPolyhedralTools::ReadStatus Arcane::VtkPolyhedralMeshIOService::read ( IPrimaryMesh * mesh,
const String & filename,
bool is_parallel_read )
inline

Definition at line 234 of file VtkPolyhedralMeshIOService.cc.

Member Data Documentation

◆ m_print_info_level

VtkPolyhedralTools::PrintInfoLevel Arcane::VtkPolyhedralMeshIOService::m_print_info_level
private

Definition at line 256 of file VtkPolyhedralMeshIOService.cc.


The documentation for this class was generated from the following file: