Arcane  4.1.12.0
Developer documentation
Loading...
Searching...
No Matches
ArcaneTest::AlephTestModule Class Reference

Test module for Aleph. More...

#include <arcane/aleph/tests/AlephTestModule.h>

Inheritance diagram for ArcaneTest::AlephTestModule:
Collaboration diagram for ArcaneTest::AlephTestModule:

Public Member Functions

 AlephTestModule (const ModuleBuildInfo &)
void init ()
 points d'entrée
void compute ()
void postSolver (const Integer)
Public Member Functions inherited from ArcaneTest::ArcaneAlephTestModuleObject
 ArcaneAlephTestModuleObject (const Arcane::ModuleBuildInfo &mb)
CaseOptionsAlephTestModuleoptions () const
 Options du jeu de données du module.
Public Member Functions inherited from Arcane::BasicModule
 ~BasicModule () override
 Destructor.
Public Member Functions inherited from Arcane::AbstractModule
 AbstractModule (const ModuleBuildInfo &)
 Constructor from a ModuleBuildInfo.
virtual ~AbstractModule ()
 Destructor.
VersionInfo versionInfo () const override
 Module version.
String name () const override
 Module name.
ISessionsession () const override
 Session associated with the module.
ISubDomainsubDomain () const override
 Sub-domain associated with the module.
IMeshdefaultMesh () const override
 Default mesh for this module.
MeshHandle defaultMeshHandle () const override
 Default mesh for this module.
IParallelMngparallelMng () const override
 Message passing parallelism manager.
IAcceleratorMngacceleratorMng () const override
 Accelerator manager.
ITraceMngtraceMng () const override
 Trace manager.
void setUsed (bool v) override
 Sets the module usage flag.
bool used () const override
 Returns the module usage status.
void setDisabled (bool v) override
 Sets the module activation flag.
bool disabled () const override
 Returns the module activation status.
bool isGarbageCollected () const override
 Indicates if the module uses a Garbage collection system.
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
Public Member Functions inherited from Arcane::IModule
virtual ~IModule ()
 Destructor.
Public Member Functions inherited from Arcane::MeshAccessor
 MeshAccessor (ISubDomain *sd)
 MeshAccessor (IMesh *mesh)
 MeshAccessor (const MeshHandle &mesh_handle)
Integer nbCell () const
 Returns the number of cells in the mesh.
Integer nbFace () const
 Returns the number of faces in the mesh.
Integer nbEdge () const
 Returns the number of edges in the mesh.
Integer nbNode () const
 Returns the number of nodes in the mesh.
VariableNodeReal3nodesCoordinates () const
 Returns the coordinates of the mesh nodes.
NodeGroup allNodes () const
 Returns the group containing all nodes.
EdgeGroup allEdges () const
 Returns the group containing all edges.
FaceGroup allFaces () const
 Returns the group containing all faces.
CellGroup allCells () const
 Returns the group containing all cells.
FaceGroup outerFaces () const
 Returns the group containing all boundary faces.
NodeGroup ownNodes () const
 Returns the group containing all nodes specific to this domain.
CellGroup ownCells () const
 Returns the group containing all cells specific to this domain.
FaceGroup ownFaces () const
 Group containing all faces specific to this domain.
EdgeGroup ownEdges () const
 Group containing all edges specific to this domain.
IMeshmesh () const
const MeshHandlemeshHandle () const
Public Member Functions inherited from Arcane::CommonVariables
 CommonVariables (IModule *c)
 Constructs the references of the common variables for the module c.
 CommonVariables (IVariableMng *variable_mng)
 Constructs the references of the common variables for the manager variable_mng.
 CommonVariables (ISubDomain *sd)
 Constructs the references of the common variables for the subdomain sd.
virtual ~CommonVariables ()
 Releases resources.
Int32 globalIteration () const
 Current iteration number.
Real globalTime () const
 Current time.
Real globalOldTime () const
 Previous current time.
Real globalFinalTime () const
 Final time of the simulation.
Real globalDeltaT () const
 Current Delta T.
Real globalCPUTime () const
 CPU time used (in seconds).
Real globalOldCPUTime () const
 Previous CPU time used (in seconds).
Real globalElapsedTime () const
 Clock time (elapsed) used (in seconds).
Real globalOldElapsedTime () const
 Previous clock time (elapsed) used (in seconds).

Static Public Member Functions

static Real geoFaceSurface (Face, VariableItemReal3 &)
Static Public Member Functions inherited from ArcaneTest::ArcaneAlephTestModuleObject
static void fillServiceInfo (Arcane::ServiceInfo *si)
Static Public Member Functions inherited from Arcane::AbstractModule
static void staticInitialize (ISubDomain *sd)
 Initialization of the module for the sub-domain sd.

Public Attributes

Integer m_total_nb_cell
Integer m_local_nb_cell
UniqueArray< Integerm_rows_nb_element
UniqueArray< AlephIntm_vector_indexs
UniqueArray< Realm_vector_zeroes
UniqueArray< Realm_vector_rhs
UniqueArray< Realm_vector_lhs
AlephKernelm_aleph_kernel
IAlephFactorym_aleph_factory
AlephParamsm_aleph_params
UniqueArray< AlephMatrix * > m_aleph_mat
UniqueArray< AlephVector * > m_aleph_rhs
UniqueArray< AlephVector * > m_aleph_sol
Integer m_get_solution_idx
Integer m_fake_nb_iteration
Real m_fake_residual_norm [4]
Public Attributes inherited from Arcane::CommonVariables
VariableScalarInt32 m_global_iteration
 Current iteration.
VariableScalarReal m_global_time
 Current time.
VariableScalarReal m_global_deltat
 Global Delta T.
VariableScalarReal m_global_old_time
 Time previous to the current time.
VariableScalarReal m_global_old_deltat
 Delta T at the time previous to the global time.
VariableScalarReal m_global_final_time
 Final time of the case.
VariableScalarReal m_global_old_cpu_time
 Previous CPU time used (in seconds).
VariableScalarReal m_global_cpu_time
 CPU time used (in seconds).
VariableScalarReal m_global_old_elapsed_time
 Previous clock time used (in seconds).
VariableScalarReal m_global_elapsed_time
 Clock time used (in seconds).

Private Member Functions

void initAmrRefineMesh (Integer nb_to_refine)
void initAlgebra ()

Additional Inherited Members

Protected Member Functions inherited from Arcane::BasicModule
 BasicModule (const ModuleBuildInfo &)
 Constructor from a ModuleBuildInfo.
Protected Member Functions inherited from Arcane::AbstractModule
void _setVersionInfo (const VersionInfo &vi)
Protected Member Functions inherited from Arcane::TraceAccessor
void _setLocalVerboseLevel (Int32 v)
Int32 _localVerboseLevel () const
Protected Attributes inherited from ArcaneTest::ArcaneAlephTestModuleObject
Arcane::VariableCellReal m_cell_temperature
 Variables du module.
Arcane::VariableFaceReal m_face_temperature
Arcane::VariableCellInteger m_cell_matrix_idx
Arcane::VariableCellInteger m_sub_domain_id
Arcane::VariableCellInt64 m_unique_id

Detailed Description

Test module for Aleph.

Definition at line 33 of file AlephTestModule.h.

Constructor & Destructor Documentation

◆ AlephTestModule()

ArcaneTest::AlephTestModule::AlephTestModule ( const ModuleBuildInfo & mbi)
explicit

Definition at line 26 of file AlephTestModule.cc.

◆ ~AlephTestModule()

ArcaneTest::AlephTestModule::~AlephTestModule ( )

Definition at line 48 of file AlephTestModule.cc.

Member Function Documentation

◆ compute()

void ArcaneTest::AlephTestModule::compute ( )
virtual

Implements ArcaneTest::ArcaneAlephTestModuleObject.

Definition at line 214 of file AlephTestModule.cc.

◆ geoFaceSurface()

Real ArcaneTest::AlephTestModule::geoFaceSurface ( Face face,
VariableItemReal3 & nodes_coords )
static

Definition at line 343 of file AlephTestModule.cc.

◆ init()

void ArcaneTest::AlephTestModule::init ( )
virtual

◆ initAlgebra()

void ArcaneTest::AlephTestModule::initAlgebra ( )
private

Definition at line 105 of file AlephTestModule.cc.

◆ initAmrRefineMesh()

void ArcaneTest::AlephTestModule::initAmrRefineMesh ( Integer nb_to_refine)
private

Definition at line 363 of file AlephTestModule.cc.

◆ postSolver()

void ArcaneTest::AlephTestModule::postSolver ( const Integer i)

Definition at line 283 of file AlephTestModule.cc.

Member Data Documentation

◆ m_aleph_factory

IAlephFactory* ArcaneTest::AlephTestModule::m_aleph_factory

Definition at line 63 of file AlephTestModule.h.

◆ m_aleph_kernel

AlephKernel* ArcaneTest::AlephTestModule::m_aleph_kernel

Definition at line 62 of file AlephTestModule.h.

◆ m_aleph_mat

UniqueArray<AlephMatrix*> ArcaneTest::AlephTestModule::m_aleph_mat

Definition at line 65 of file AlephTestModule.h.

◆ m_aleph_params

AlephParams* ArcaneTest::AlephTestModule::m_aleph_params

Definition at line 64 of file AlephTestModule.h.

◆ m_aleph_rhs

UniqueArray<AlephVector*> ArcaneTest::AlephTestModule::m_aleph_rhs

Definition at line 66 of file AlephTestModule.h.

◆ m_aleph_sol

UniqueArray<AlephVector*> ArcaneTest::AlephTestModule::m_aleph_sol

Definition at line 67 of file AlephTestModule.h.

◆ m_fake_nb_iteration

Integer ArcaneTest::AlephTestModule::m_fake_nb_iteration

Definition at line 69 of file AlephTestModule.h.

◆ m_fake_residual_norm

Real ArcaneTest::AlephTestModule::m_fake_residual_norm[4]

Definition at line 70 of file AlephTestModule.h.

◆ m_get_solution_idx

Integer ArcaneTest::AlephTestModule::m_get_solution_idx

Definition at line 68 of file AlephTestModule.h.

◆ m_local_nb_cell

Integer ArcaneTest::AlephTestModule::m_local_nb_cell

Definition at line 56 of file AlephTestModule.h.

◆ m_rows_nb_element

UniqueArray<Integer> ArcaneTest::AlephTestModule::m_rows_nb_element

Definition at line 57 of file AlephTestModule.h.

◆ m_total_nb_cell

Integer ArcaneTest::AlephTestModule::m_total_nb_cell

Definition at line 55 of file AlephTestModule.h.

◆ m_vector_indexs

UniqueArray<AlephInt> ArcaneTest::AlephTestModule::m_vector_indexs

Definition at line 58 of file AlephTestModule.h.

◆ m_vector_lhs

UniqueArray<Real> ArcaneTest::AlephTestModule::m_vector_lhs

Definition at line 61 of file AlephTestModule.h.

◆ m_vector_rhs

UniqueArray<Real> ArcaneTest::AlephTestModule::m_vector_rhs

Definition at line 60 of file AlephTestModule.h.

◆ m_vector_zeroes

UniqueArray<Real> ArcaneTest::AlephTestModule::m_vector_zeroes

Definition at line 59 of file AlephTestModule.h.


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