Arcane  4.1.15.0
User documentation
Loading...
Searching...
No Matches
PoissonModule.h
1// -*- tab-width: 2; indent-tabs-mode: nil; coding: utf-8-with-signature -*-
2#ifndef POISSONMODULE_H
3#define POISSONMODULE_H
4
5#include "TypesPoisson.h"
6#include "Poisson_axl.h"
7
8using namespace Arcane;
9
10/**
11 * Represents a module that calculates a numerical heat diffusion
12 * following Poisson's equation in a parallelepiped.
13 */
14class PoissonModule : public ArcanePoissonObject
15{
16public:
17 /** Constructor of the class */
18 PoissonModule(const ModuleBuildInfo & mbi) : ArcanePoissonObject(mbi) { }
19
20 /** Destructor of the class */
22
23public:
24 /**
25 * Initializes the temperatures in the mesh based on the temperature
26 * provided in the dataset.
27 * This method is an entry point of the module registered under the
28 * name \c InitTemperatures.
29 */
30 virtual void initTemperatures();
31
32 /**
33 * Diffuses temperatures in the mesh.
34 * This method is an entry point of the module registered under the
35 * name \c PropagateTemperatures.
36 */
37 virtual void propagateTemperatures();
38
39 /** Returns the version number of the module */
40 virtual VersionInfo versionInfo() const { return VersionInfo(1, 0, 0); }
41
42private:
43
44 /** Takes into account boundary conditions. */
45 void applyBoundaryConditions();
46};
47
48#endif
Information for building a module.
Information about a version.
Definition VersionInfo.h:47
PoissonModule(const ModuleBuildInfo &mbi)
virtual void initTemperatures()
virtual void propagateTemperatures()
virtual VersionInfo versionInfo() const
-- tab-width: 2; indent-tabs-mode: nil; coding: utf-8-with-signature --