foamToPython 0.0.1__py3-none-any.whl

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -0,0 +1,11 @@
1
+ """foamToPython package"""
2
+
3
+ __all__ = [
4
+ "readList",
5
+ "readListList",
6
+ "writeList",
7
+ "OFField",
8
+ ]
9
+
10
+ from .readOFList import readList, readListList, writeList
11
+ from .readOFField import OFField
@@ -0,0 +1,22 @@
1
+ header = r"""/*--------------------------------*- C++ -*----------------------------------*\
2
+ | ========= | |
3
+ | \\ / F ield | OpenFOAM: The Open Source CFD Toolbox |
4
+ | \\ / O peration | Version: v2312 |
5
+ | \\ / A nd | Website: www.openfoam.com |
6
+ | \\/ M anipulation | |
7
+ \*---------------------------------------------------------------------------*/
8
+ FoamFile
9
+ {
10
+ version 2.0;
11
+ format ascii;
12
+ arch "LSB;label=32;scalar=64";
13
+ class className;
14
+ location timeDir;
15
+ object data;
16
+ }
17
+ // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
18
+ """
19
+
20
+ ender = r"""
21
+ // ************************************************************************* //
22
+ """