Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add new test for 'MeshMaterial' #788

Merged
merged 5 commits into from
Jul 6, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
60 changes: 60 additions & 0 deletions arcane/ceapart/src/arcane/tests/MaterialHeatTest.axl
Original file line number Diff line number Diff line change
@@ -0,0 +1,60 @@
<?xml version="1.0" ?><!-- -*- SGML -*- -->

<module name="MaterialHeatTest" version="1.0" namespace-name="ArcaneTest">
<description>
Module de test d'un équation de la chaleur pour les matériaux.
</description>

<options>

<!-- Infos sur les materiaux -->
<complex name="material" type="Material" minOccurs="1" maxOccurs="unbounded">
<description>Materiaux</description>
<simple name="name" type="string">
<description>Nom du materiau</description>
</simple>
</complex>

<!-- Liste des milieux et composition des materiaux -->
<complex name="environment" type="Environment" minOccurs="1" maxOccurs="unbounded">
<description>Milieu</description>
<simple name = "name" type = "string">
<description>Nom du milieu</description>
</simple>
<simple name="material" type="string" minOccurs="1" maxOccurs="unbounded">
<description>Nom du materiau</description>
</simple>
</complex>

<!-- Liste des objects qui vont faire chauffer les matériaux -->
<complex name="heat-object" type="HeatObject" minOccurs="0" maxOccurs="unbounded">
<simple name="center" type="real3">
<description>Center of the disk/sphere at t=0</description>
</simple>
<simple name="radius" type="real">
<description>Radius of the disk/sphere</description>
</simple>
<simple name="velocity" type="real3">
<description>Velocity the disk/sphere</description>
</simple>
<simple name="material" type="string">
<description>Name of the material to heat</description>
</simple>
</complex>

</options>

<entry-points>
<entry-point method-name="compute" name="Compute" where="compute-loop" property="none" />
<entry-point method-name="startInit" name="StartInit" where="start-init" property="none" />
<entry-point method-name="continueInit" name="ContinueInit" where="continue-init" property="none" />
<entry-point method-name="buildInit" name="BuildInit" where="build" property="none" />
</entry-points>

<variables>
<variable field-name="mat_temperature" name="Temperature" data-type="real" item-kind="cell" dim="0" material="true" />
<variable field-name="cell_center" name="CellCenter" data-type="real3" item-kind="cell" dim="0" material="true" />
<variable field-name="all_temperature" name="AllTemperatures" data-type="real" item-kind="cell" dim="1" material="true" />
</variables>

</module>
Loading
Loading