Arcane  4.2.3.0
Developer documentation
Loading...
Searching...
No Matches
Arcane::LimaMeshWriter Class Reference
Inheritance diagram for Arcane::LimaMeshWriter:
Collaboration diagram for Arcane::LimaMeshWriter:

Public Member Functions

 LimaMeshWriter (const ServiceBuildInfo &sbi)
virtual void build ()
 Build-level construction of the service.
virtual bool writeMeshToFile (IMesh *mesh, const String &file_name)
 Writing the mesh in Lima format.
Public Member Functions inherited from Arcane::AbstractService
 ~AbstractService () override
 Destructor.
IServiceInfo * serviceInfo () const override
 Access to service information. See IServiceInfo for details.
IBase * serviceParent () const override
 Access to the base interface of main Arcane objects.
IService * serviceInterface () override
 Returns the low-level IService interface of the service.
Public Member Functions inherited from Arcane::TraceAccessor
 TraceAccessor (ITraceMng *m)
 Constructs an accessor via the trace manager m.
 TraceAccessor (const TraceAccessor &rhs)
 Copy constructor.
TraceAccessor & operator= (const TraceAccessor &rhs)
 Copy assignment operator.
virtual ~TraceAccessor ()
 Frees resources.
ITraceMng * traceMng () 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
Public Member Functions inherited from Arcane::IService
virtual ~IService ()
 Releases resources.

Private Member Functions

void _writeItem (Lima::Maillage &lima_mesh, ConstArrayView< Lima::Noeud > nodes, ItemWithNodes item)

Private Attributes

ISubDomain * m_sub_domain

Additional Inherited Members

Protected Member Functions inherited from Arcane::AbstractService
 AbstractService (const ServiceBuildInfo &)
 Constructor from a ServiceBuildInfo.
Protected Member Functions inherited from Arcane::TraceAccessor
void _setLocalVerboseLevel (Int32 v)
Int32 _localVerboseLevel () const
Protected Member Functions inherited from Arcane::IService
 IService ()
 Constructor.

Detailed Description

Definition at line 1291 of file Lima.cc.

Constructor & Destructor Documentation

◆ LimaMeshWriter()

Arcane::LimaMeshWriter::LimaMeshWriter ( const ServiceBuildInfo & sbi)
inline

Definition at line 1297 of file Lima.cc.

Member Function Documentation

◆ _writeItem()

void Arcane::LimaMeshWriter::_writeItem ( Lima::Maillage & lima_mesh,
ConstArrayView< Lima::Noeud > nodes,
ItemWithNodes item )
private

Definition at line 1324 of file Lima.cc.

◆ build()

virtual void Arcane::LimaMeshWriter::build ( void )
inlinevirtual

Build-level construction of the service.

This method is called right after the constructor.

Reimplemented from Arcane::AbstractService.

Definition at line 1304 of file Lima.cc.

◆ writeMeshToFile()

bool Arcane::LimaMeshWriter::writeMeshToFile ( IMesh * mesh,
const String & file_name )
virtual

Writing the mesh in Lima format.

Warning
Entity numbering must be contiguous.

Implements Arcane::IMeshWriter.

Definition at line 1394 of file Lima.cc.

References ENUMERATE_ITEM, Arcane::IItemFamily::groups(), Arcane::TraceAccessor::info(), Arcane::ItemGroup::isAllItems(), Arcane::String::localstr(), Arcane::ItemGroup::name(), Arcane::IItemFamily::nbItem(), Arcane::Convert::toDouble(), Arcane::ITraceMng::warning(), Arcane::Real3POD::x, Arcane::Real3POD::y, and Arcane::Real3POD::z.

Here is the call graph for this function:

Member Data Documentation

◆ m_sub_domain

ISubDomain* Arcane::LimaMeshWriter::m_sub_domain
private

Definition at line 1309 of file Lima.cc.


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