├── thirdparty ├── libtiff │ ├── VERSION │ ├── RELEASE-DATE │ ├── libtiff │ │ ├── libtiff.map │ │ ├── libtiffxx.map │ │ ├── tiffvers.h │ │ └── tiffvers.h.in │ ├── autogen.sh │ ├── libtiff-4.pc.in │ ├── TODO │ ├── COMMITTERS │ ├── .travis.yml │ ├── .gitlab-ci.yml │ └── HOWTO-SECURITY-RELEASE ├── foamx3m │ ├── src │ │ ├── edgeMesh │ │ │ └── Make │ │ │ │ ├── options │ │ │ │ └── files │ │ ├── lduSolvers │ │ │ └── Make │ │ │ │ ├── options │ │ │ │ └── files │ │ ├── multiSolver │ │ │ ├── Make │ │ │ │ ├── options │ │ │ │ └── files │ │ │ ├── include │ │ │ │ ├── endMultiSolver.H │ │ │ │ ├── multiSolverVersion.H │ │ │ │ ├── createMultiSolver.H │ │ │ │ └── setSolverDomain.H │ │ │ └── multiSolver │ │ │ │ └── multiSolverInit.H │ │ ├── surfMesh │ │ │ └── Make │ │ │ │ └── options │ │ ├── OSspecific │ │ │ ├── POSIX │ │ │ │ └── Make │ │ │ │ │ ├── options │ │ │ │ │ └── files │ │ │ └── MSWindows │ │ │ │ └── Make │ │ │ │ ├── options │ │ │ │ └── files │ │ ├── lagrangian │ │ │ ├── basic │ │ │ │ └── Make │ │ │ │ │ ├── options │ │ │ │ │ └── files │ │ │ ├── molecularDynamics │ │ │ │ ├── molecularMeasurements │ │ │ │ │ └── Make │ │ │ │ │ │ ├── options │ │ │ │ │ │ └── files │ │ │ │ ├── potential │ │ │ │ │ └── Make │ │ │ │ │ │ └── options │ │ │ │ ├── molecule │ │ │ │ │ ├── mdTools │ │ │ │ │ │ ├── md.H │ │ │ │ │ │ ├── createRefUnits.H │ │ │ │ │ │ ├── calculateMDFields.H │ │ │ │ │ │ └── resetMDFields.H │ │ │ │ │ └── Make │ │ │ │ │ │ ├── options │ │ │ │ │ │ └── files │ │ │ │ └── Allwmake │ │ │ ├── solidParticle │ │ │ │ └── Make │ │ │ │ │ ├── files │ │ │ │ │ └── options │ │ │ ├── coalCombustion │ │ │ │ └── Make │ │ │ │ │ └── files │ │ │ ├── dsmc │ │ │ │ └── Make │ │ │ │ │ ├── options │ │ │ │ │ └── files │ │ │ └── Allwmake │ │ ├── foam │ │ │ ├── db │ │ │ │ ├── Time │ │ │ │ │ └── Time.H │ │ │ │ └── IOstreams │ │ │ │ │ └── gzstream │ │ │ │ │ └── version │ │ │ ├── containers │ │ │ │ └── Dictionaries │ │ │ │ │ └── Dictionary │ │ │ │ │ └── Dictionary.H │ │ │ ├── include │ │ │ │ ├── initTotalVolume.H │ │ │ │ ├── addRegionOption.H │ │ │ │ ├── setRootCase.H │ │ │ │ ├── checkTimeOptionsNoConstant.H │ │ │ │ ├── addTimeOptions.H │ │ │ │ ├── createTime.H │ │ │ │ ├── checkConstantOption.H │ │ │ │ ├── checkTimeOptions.H │ │ │ │ ├── checkTotalVolume.H │ │ │ │ ├── createMesh.H │ │ │ │ ├── createPolyMesh.H │ │ │ │ ├── checkTimeOption.H │ │ │ │ ├── createMeshNoClear.H │ │ │ │ ├── createNamedMesh.H │ │ │ │ └── createNamedPolyMesh.H │ │ │ └── Make │ │ │ │ └── options │ │ ├── decompositionMethods │ │ │ ├── metisDecomp │ │ │ │ └── Make │ │ │ │ │ ├── files │ │ │ │ │ └── options │ │ │ ├── parMetisDecomp │ │ │ │ └── Make │ │ │ │ │ ├── files │ │ │ │ │ └── options │ │ │ ├── decompositionMethods │ │ │ │ └── Make │ │ │ │ │ ├── options │ │ │ │ │ └── files │ │ │ ├── scotchDecomp │ │ │ │ └── Make │ │ │ │ │ ├── files │ │ │ │ │ ├── options │ │ │ │ │ └── options.bu │ │ │ ├── AllwmakeLnInclude │ │ │ └── Allwmake │ │ ├── dynamicMesh │ │ │ ├── meshMotion │ │ │ │ ├── RBFMotionSolver │ │ │ │ │ └── Make │ │ │ │ │ │ ├── files │ │ │ │ │ │ └── options │ │ │ │ ├── solidBodyMotion │ │ │ │ │ └── Make │ │ │ │ │ │ ├── options │ │ │ │ │ │ └── files │ │ │ │ ├── AllwmakeLnInclude │ │ │ │ ├── fvMotionSolver │ │ │ │ │ └── Make │ │ │ │ │ │ └── options │ │ │ │ └── Allwmake │ │ │ ├── dynamicMesh │ │ │ │ └── Make │ │ │ │ │ └── options │ │ │ ├── AllwmakeLnInclude │ │ │ ├── Allwmake │ │ │ └── dynamicFvMesh │ │ │ │ ├── include │ │ │ │ └── createDynamicFvMesh.H │ │ │ │ └── Make │ │ │ │ ├── files │ │ │ │ └── options │ │ ├── finiteVolume │ │ │ ├── Make │ │ │ │ └── options │ │ │ ├── cfdTools │ │ │ │ └── general │ │ │ │ │ └── include │ │ │ │ │ ├── readGravitationalAcceleration.H │ │ │ │ │ ├── readSIMPLEControls.H │ │ │ │ │ ├── readPIMPLEControls.H │ │ │ │ │ ├── readPISOControls.H │ │ │ │ │ ├── fvCFD.H │ │ │ │ │ ├── checkPatchFieldTypes.H │ │ │ │ │ └── volContinuity.H │ │ │ ├── finiteVolume │ │ │ │ ├── snGradSchemes │ │ │ │ │ └── orthogonalSnGrad │ │ │ │ │ │ └── orthogonalSnGrads.C │ │ │ │ ├── divSchemes │ │ │ │ │ └── leastSquaresDivScheme │ │ │ │ │ │ └── leastSquaresDivSchemes.C │ │ │ │ └── ddtSchemes │ │ │ │ │ └── CrankNicolsonDdtScheme │ │ │ │ │ └── CrankNicolsonDdtSchemes.C │ │ │ └── interpolation │ │ │ │ └── surfaceInterpolation │ │ │ │ └── schemes │ │ │ │ └── leastSquaresSkewCorrected │ │ │ │ └── leastSquaresSkewCorrected.C │ │ ├── meshTools │ │ │ ├── triSurface │ │ │ │ └── Make │ │ │ │ │ └── options │ │ │ └── Make │ │ │ │ └── options │ │ └── transportModels │ │ │ ├── interfaceProperties │ │ │ └── Make │ │ │ │ ├── options │ │ │ │ └── files │ │ │ ├── viscoelastic │ │ │ ├── Make │ │ │ │ ├── options │ │ │ │ └── files │ │ │ └── viscoelasticLaws │ │ │ │ └── DCPP │ │ │ │ └── DCPP.H │ │ │ ├── incompressible │ │ │ └── Make │ │ │ │ ├── options │ │ │ │ └── files │ │ │ └── Allwmake │ ├── wmake │ │ ├── rules │ │ │ ├── FreeBSD │ │ │ │ ├── c++Prof │ │ │ │ ├── cProf │ │ │ │ ├── cOpt │ │ │ │ ├── mplib │ │ │ │ ├── c++Opt │ │ │ │ ├── c++Debug │ │ │ │ ├── cDebug │ │ │ │ ├── X │ │ │ │ ├── mplibMPICH │ │ │ │ ├── mplibOPENMPI │ │ │ │ ├── general │ │ │ │ ├── c │ │ │ │ └── c++ │ │ │ ├── SunOS64Gcc │ │ │ │ ├── c++Opt │ │ │ │ ├── cOpt │ │ │ │ ├── c++Prof │ │ │ │ ├── cProf │ │ │ │ ├── mplib │ │ │ │ ├── mplibSYSTEMOPENMPI │ │ │ │ ├── c++Debug │ │ │ │ ├── cDebug │ │ │ │ ├── X │ │ │ │ ├── mplibOPENMPI │ │ │ │ ├── mplibFJMPI │ │ │ │ ├── general │ │ │ │ ├── c │ │ │ │ └── c++ │ │ │ ├── linux64Gcc │ │ │ │ ├── cOpt │ │ │ │ ├── c++Prof │ │ │ │ ├── cProf │ │ │ │ ├── mplib │ │ │ │ ├── mplibSYSTEMOPENMPI │ │ │ │ ├── ARCHITECTURE_TESTED │ │ │ │ ├── c++Debug │ │ │ │ ├── cDebug │ │ │ │ ├── mplibMVAPICH2 │ │ │ │ ├── X │ │ │ │ ├── mplibGAMMA │ │ │ │ ├── mplibMPICH │ │ │ │ ├── mplibQSMPI │ │ │ │ ├── c++Opt │ │ │ │ ├── mplibHPMPI │ │ │ │ ├── mplibINTELMPI │ │ │ │ ├── mplibOPENMPI │ │ │ │ ├── mplibMPICH-GM │ │ │ │ ├── general │ │ │ │ ├── c │ │ │ │ ├── nvcc │ │ │ │ └── c++ │ │ │ ├── linuxGcc │ │ │ │ ├── c++Opt │ │ │ │ ├── cOpt │ │ │ │ ├── c++Prof │ │ │ │ ├── cProf │ │ │ │ ├── mplib │ │ │ │ ├── mplibSYSTEMOPENMPI │ │ │ │ ├── c++Debug │ │ │ │ ├── cDebug │ │ │ │ ├── X │ │ │ │ ├── mplibGAMMA │ │ │ │ ├── mplibOPENMPI │ │ │ │ ├── mplibHPMPI │ │ │ │ ├── mplibMPICH │ │ │ │ ├── mplibMPICH-GM │ │ │ │ ├── general │ │ │ │ ├── c │ │ │ │ └── c++ │ │ │ ├── linuxGcc45 │ │ │ │ ├── c++Opt │ │ │ │ ├── cOpt │ │ │ │ ├── c++Prof │ │ │ │ ├── cProf │ │ │ │ ├── mplib │ │ │ │ ├── mplibSYSTEMOPENMPI │ │ │ │ ├── c++Debug │ │ │ │ ├── cDebug │ │ │ │ ├── X │ │ │ │ ├── mplibGAMMA │ │ │ │ ├── mplibHPMPI │ │ │ │ ├── mplibOPENMPI │ │ │ │ ├── mplibMPICH │ │ │ │ ├── mplibMPICH-GM │ │ │ │ ├── general │ │ │ │ ├── c │ │ │ │ └── c++ │ │ │ ├── linuxGcc46 │ │ │ │ ├── c++Opt │ │ │ │ ├── cOpt │ │ │ │ ├── c++Prof │ │ │ │ ├── cProf │ │ │ │ ├── mplib │ │ │ │ ├── mplibSYSTEMOPENMPI │ │ │ │ ├── c++Debug │ │ │ │ ├── cDebug │ │ │ │ ├── X │ │ │ │ ├── mplibGAMMA │ │ │ │ ├── mplibHPMPI │ │ │ │ ├── mplibOPENMPI │ │ │ │ ├── mplibMPICH │ │ │ │ ├── mplibMPICH-GM │ │ │ │ ├── general │ │ │ │ ├── c │ │ │ │ └── c++ │ │ │ ├── linuxIA64Gcc │ │ │ │ ├── cOpt │ │ │ │ ├── c++Opt │ │ │ │ ├── c++Prof │ │ │ │ ├── cProf │ │ │ │ ├── mplibSYSTEMOPENMPI │ │ │ │ ├── mplib │ │ │ │ ├── c++Debug │ │ │ │ ├── mplibMPI │ │ │ │ ├── cDebug │ │ │ │ ├── X │ │ │ │ ├── mplibHPMPI │ │ │ │ ├── mplibMPICH │ │ │ │ ├── general │ │ │ │ ├── c │ │ │ │ └── c++ │ │ │ ├── linuxIA64I64 │ │ │ │ ├── cOpt │ │ │ │ ├── cProf │ │ │ │ ├── mplibSYSTEMOPENMPI │ │ │ │ ├── c++Prof │ │ │ │ ├── mplib │ │ │ │ ├── c++Debug │ │ │ │ ├── cDebug │ │ │ │ ├── X │ │ │ │ ├── mplibMPICH │ │ │ │ ├── general │ │ │ │ ├── c++Opt │ │ │ │ ├── c │ │ │ │ └── c++ │ │ │ ├── linuxIA64Icc │ │ │ │ ├── cOpt │ │ │ │ ├── cProf │ │ │ │ ├── mplibSYSTEMOPENMPI │ │ │ │ ├── c++Prof │ │ │ │ ├── mplib │ │ │ │ ├── c++Debug │ │ │ │ ├── cDebug │ │ │ │ ├── mplibIMPI │ │ │ │ ├── mplibMPI │ │ │ │ ├── X │ │ │ │ ├── mplibHPMPI │ │ │ │ ├── mplibOPENMPI │ │ │ │ ├── mplibINTELMPI │ │ │ │ ├── mplibMPICH │ │ │ │ ├── general │ │ │ │ ├── c++Opt │ │ │ │ ├── c │ │ │ │ └── c++ │ │ │ ├── mingwGcc │ │ │ │ ├── cOpt │ │ │ │ ├── c++Prof │ │ │ │ ├── cProf │ │ │ │ ├── mplib │ │ │ │ ├── mplibSYSTEMOPENMPI │ │ │ │ ├── ARCHITECTURE_TESTED │ │ │ │ ├── c++Debug │ │ │ │ ├── cDebug │ │ │ │ ├── X │ │ │ │ ├── mplibQSMPI │ │ │ │ ├── mplibGAMMA │ │ │ │ ├── mplibMPICH │ │ │ │ ├── c++Opt │ │ │ │ ├── mplibOPENMPI │ │ │ │ ├── mplibHPMPI │ │ │ │ ├── mplibMPICH-GM │ │ │ │ ├── general │ │ │ │ ├── c │ │ │ │ ├── nvcc │ │ │ │ └── c++ │ │ │ ├── SiCortex64Gcc │ │ │ │ ├── cOpt │ │ │ │ ├── c++Prof │ │ │ │ ├── cProf │ │ │ │ ├── mplib │ │ │ │ ├── mplibSYSTEMOPENMPI │ │ │ │ ├── c++Debug │ │ │ │ ├── mplibMPI │ │ │ │ ├── cDebug │ │ │ │ ├── X │ │ │ │ ├── c++Opt │ │ │ │ ├── flex++ │ │ │ │ ├── general │ │ │ │ ├── c │ │ │ │ └── c++ │ │ │ ├── darwinIntel64Gcc │ │ │ │ ├── cOpt │ │ │ │ ├── ARCHITECTURE_TESTED │ │ │ │ ├── c++Prof │ │ │ │ ├── cProf │ │ │ │ ├── mplibSYSTEMOPENMPI │ │ │ │ ├── mplib │ │ │ │ ├── c++Debug │ │ │ │ ├── cDebug │ │ │ │ ├── X │ │ │ │ ├── c++Opt │ │ │ │ ├── mplibOPENMPI │ │ │ │ ├── mplibMACPORTMPICH │ │ │ │ ├── general │ │ │ │ ├── mplibMACPORTOPENMPI │ │ │ │ ├── c │ │ │ │ └── c++ │ │ │ ├── linux64Icc │ │ │ │ ├── c++Prof │ │ │ │ ├── cProf │ │ │ │ ├── mplib │ │ │ │ ├── mplibSYSTEMOPENMPI │ │ │ │ ├── cDebug │ │ │ │ ├── cOpt │ │ │ │ ├── c++Debug │ │ │ │ ├── X │ │ │ │ ├── mplibHPMPI │ │ │ │ ├── mplibINTELMPI │ │ │ │ ├── mplibMPICH │ │ │ │ ├── mplibOPENMPI │ │ │ │ ├── c++Opt │ │ │ │ ├── general │ │ │ │ ├── c │ │ │ │ └── c++ │ │ │ ├── linuxIcc │ │ │ │ ├── c++Prof │ │ │ │ ├── cProf │ │ │ │ ├── mplib │ │ │ │ ├── mplibSYSTEMOPENMPI │ │ │ │ ├── c++Debug │ │ │ │ ├── cDebug │ │ │ │ ├── X │ │ │ │ ├── mplibMPICH │ │ │ │ ├── mplibHPMPI │ │ │ │ ├── general │ │ │ │ ├── c │ │ │ │ ├── cOpt │ │ │ │ ├── c++Opt │ │ │ │ └── c++ │ │ │ ├── linuxPPC64Gcc │ │ │ │ ├── c++Opt │ │ │ │ ├── cOpt │ │ │ │ ├── c++Prof │ │ │ │ ├── cProf │ │ │ │ ├── mplib │ │ │ │ ├── mplibSYSTEMOPENMPI │ │ │ │ ├── c++Debug │ │ │ │ ├── cDebug │ │ │ │ ├── X │ │ │ │ ├── mplibGAMMA │ │ │ │ ├── mplibQSMPI │ │ │ │ ├── mplibMPICH │ │ │ │ ├── mplibOPENMPI │ │ │ │ ├── mplibHPMPI │ │ │ │ ├── mplibMPICH-GM │ │ │ │ ├── general │ │ │ │ ├── c │ │ │ │ └── c++ │ │ │ ├── darwinIntel64Clang │ │ │ │ ├── ARCHITECTURE_TESTED │ │ │ │ ├── cOpt │ │ │ │ ├── c++Prof │ │ │ │ ├── cProf │ │ │ │ ├── mplib │ │ │ │ ├── mplibSYSTEMOPENMPI │ │ │ │ ├── X │ │ │ │ ├── mplibOPENMPI │ │ │ │ ├── c++Debug │ │ │ │ ├── c++Opt │ │ │ │ ├── cDebug │ │ │ │ ├── mplibMACPORTOPENMPI │ │ │ │ ├── mplibMACPORTMPICH │ │ │ │ ├── general │ │ │ │ ├── c │ │ │ │ └── c++ │ │ │ ├── darwinIntel64Dragonegg │ │ │ │ ├── cOpt │ │ │ │ ├── ARCHITECTURE_TESTED │ │ │ │ ├── c++Prof │ │ │ │ ├── cProf │ │ │ │ ├── mplibSYSTEMOPENMPI │ │ │ │ ├── mplib │ │ │ │ ├── c++Debug │ │ │ │ ├── cDebug │ │ │ │ ├── X │ │ │ │ ├── c++Opt │ │ │ │ ├── mplibOPENMPI │ │ │ │ ├── mplibMACPORTMPICH │ │ │ │ ├── general │ │ │ │ ├── mplibMACPORTOPENMPI │ │ │ │ ├── c │ │ │ │ └── c++ │ │ │ ├── solarisGcc │ │ │ │ ├── mplib │ │ │ │ ├── mplibSYSTEMOPENMPI │ │ │ │ ├── cOpt │ │ │ │ ├── c++Opt │ │ │ │ ├── cProf │ │ │ │ ├── c++Prof │ │ │ │ ├── cDebug │ │ │ │ ├── c++Debug │ │ │ │ ├── X │ │ │ │ ├── mplibMPI │ │ │ │ ├── mplibMPICH │ │ │ │ ├── mplibPVM │ │ │ │ ├── general │ │ │ │ ├── c │ │ │ │ └── c++ │ │ │ └── General │ │ │ │ ├── mplibMPICH │ │ │ │ ├── flex │ │ │ │ ├── mplibSGIMPI │ │ │ │ ├── flex++.test │ │ │ │ ├── moc │ │ │ │ ├── btyacc │ │ │ │ ├── byacc │ │ │ │ ├── btyacc++ │ │ │ │ ├── CGAL │ │ │ │ ├── general │ │ │ │ ├── bison │ │ │ │ ├── standard │ │ │ │ ├── yacc │ │ │ │ ├── flex++ │ │ │ │ ├── sourceToDep │ │ │ │ └── version │ │ └── src │ │ │ └── dirToString.c │ ├── applications │ │ ├── utilities │ │ │ ├── mesh │ │ │ │ └── manipulation │ │ │ │ │ ├── refineMesh │ │ │ │ │ └── Make │ │ │ │ │ │ ├── files │ │ │ │ │ │ └── options │ │ │ │ │ ├── renumberMesh │ │ │ │ │ └── Make │ │ │ │ │ │ ├── files │ │ │ │ │ │ └── options │ │ │ │ │ └── checkMesh │ │ │ │ │ ├── Make │ │ │ │ │ ├── options │ │ │ │ │ └── files │ │ │ │ │ ├── printMeshStats.H │ │ │ │ │ ├── checkGeometry.H │ │ │ │ │ └── checkTopology.H │ │ │ └── parallelProcessing │ │ │ │ ├── redistributeMeshPar │ │ │ │ └── Make │ │ │ │ │ ├── files │ │ │ │ │ └── options │ │ │ │ └── decomposePar │ │ │ │ └── Make │ │ │ │ ├── files │ │ │ │ └── options │ │ └── Allwmake │ ├── bin │ │ ├── tools │ │ │ ├── README │ │ │ ├── replaceAllShellSun │ │ │ └── inlineReplace │ │ ├── paraFoam.bat │ │ ├── foamWindowsShell.bat │ │ └── foamWindowsEnvironment.bat │ ├── doc │ │ ├── Doxygen │ │ │ ├── OpenFOAMlogo.jpg │ │ │ ├── OpenSourceToolbox.jpg │ │ │ ├── OpenSourceToolkit.jpg │ │ │ ├── Allwmake │ │ │ ├── FoamFooter.html │ │ │ └── tools │ │ │ │ ├── README │ │ │ │ └── find-junkFiles │ │ ├── testHarness │ │ │ └── Allrun │ │ ├── Allwmake │ │ └── buildInstructions │ │ │ └── README │ ├── AllDistclean │ ├── AllInstall │ ├── AllClean │ ├── AllMake │ └── Allwmake └── zlib │ ├── Makefile │ ├── win32 │ └── VisualC.txt │ ├── .gitignore │ ├── zlib.pc.in │ ├── zlib.pc.cmakein │ ├── inffast.h │ ├── contrib │ └── iostream3 │ │ └── TODO │ └── gzclose.c ├── src ├── porefoam1f │ ├── script │ │ ├── base │ │ │ ├── 0 │ │ │ │ ├── p.X │ │ │ │ ├── p.Y │ │ │ │ └── p.Z │ │ │ ├── OpenMeInParaview.foam │ │ │ ├── constant │ │ │ │ ├── turbulenceProperties │ │ │ │ ├── g │ │ │ │ ├── transportProperties │ │ │ │ └── polyMesh │ │ │ │ │ ├── boundary │ │ │ │ │ └── blockMeshDict │ │ │ └── system │ │ │ │ ├── postProcessDict │ │ │ │ ├── controlDict │ │ │ │ ├── decomposeParDict.6 │ │ │ │ └── decomposeParDict.8 │ │ └── machines.txt │ ├── calc_distributions │ │ ├── calcdEdts.H │ │ ├── Makefile │ │ └── correctmuEff.H │ ├── icoNSFoam │ │ ├── write.H │ │ ├── Makefile │ │ ├── correctmuEff.H │ │ ├── setDeltaT.H │ │ └── pEqn.H │ ├── iPotentialFoam │ │ ├── write.H │ │ ├── Makefile │ │ └── correctmuEff.H │ ├── calc_perm │ │ └── Makefile │ ├── Makefile │ ├── FOAM2Voxel │ │ └── Makefile │ └── test.py ├── script │ ├── __init__.py │ ├── Makefile.foam │ ├── toolchain.txt │ ├── toolchain.icc.txt │ └── toolchain.exe.txt ├── Makefile └── libvoxel │ ├── Makefile │ ├── test.py │ └── voxelEndian.h ├── Makefile ├── doc └── porefoam_singlePhase.pdf ├── .gitignore ├── README.md └── .github └── workflows └── build-test.yml /thirdparty/libtiff/VERSION: -------------------------------------------------------------------------------- 1 | 4.1.0 2 | -------------------------------------------------------------------------------- /src/porefoam1f/script/base/OpenMeInParaview.foam: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /thirdparty/foamx3m/src/edgeMesh/Make/options: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /thirdparty/foamx3m/src/lduSolvers/Make/options: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /thirdparty/foamx3m/src/multiSolver/Make/options: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /thirdparty/foamx3m/src/surfMesh/Make/options: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /thirdparty/libtiff/RELEASE-DATE: -------------------------------------------------------------------------------- 1 | 20191103 2 | -------------------------------------------------------------------------------- /src/porefoam1f/calc_distributions/calcdEdts.H: -------------------------------------------------------------------------------- 1 | 2 | -------------------------------------------------------------------------------- /thirdparty/foamx3m/src/OSspecific/POSIX/Make/options: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /thirdparty/foamx3m/src/lagrangian/basic/Make/options: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /thirdparty/foamx3m/src/OSspecific/MSWindows/Make/options: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /thirdparty/foamx3m/src/foam/db/Time/Time.H: -------------------------------------------------------------------------------- 1 | 2 | #include "foamTime.H" -------------------------------------------------------------------------------- /src/porefoam1f/icoNSFoam/write.H: -------------------------------------------------------------------------------- 1 | { 2 | 3 | runTime.write(); 4 | 5 | } 6 | -------------------------------------------------------------------------------- /src/script/__init__.py: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env python3.8 2 | 3 | from msrc import * 4 | -------------------------------------------------------------------------------- /thirdparty/foamx3m/src/foam/db/IOstreams/gzstream/version: -------------------------------------------------------------------------------- 1 | 1.5 (08 Jan 2003) 2 | -------------------------------------------------------------------------------- /src/porefoam1f/iPotentialFoam/write.H: -------------------------------------------------------------------------------- 1 | { 2 | 3 | runTime.write(); 4 | 5 | } 6 | -------------------------------------------------------------------------------- /thirdparty/foamx3m/src/lagrangian/molecularDynamics/molecularMeasurements/Make/options: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /thirdparty/foamx3m/wmake/rules/FreeBSD/c++Prof: -------------------------------------------------------------------------------- 1 | c++DBUG = -pg 2 | c++OPT = -O2 3 | -------------------------------------------------------------------------------- /thirdparty/foamx3m/wmake/rules/FreeBSD/cProf: -------------------------------------------------------------------------------- 1 | cDBUG = -pg 2 | cOPT = -O2 3 | -------------------------------------------------------------------------------- /thirdparty/foamx3m/wmake/rules/SunOS64Gcc/c++Opt: -------------------------------------------------------------------------------- 1 | c++DBUG = 2 | c++OPT = -O3 3 | -------------------------------------------------------------------------------- /thirdparty/foamx3m/wmake/rules/SunOS64Gcc/cOpt: -------------------------------------------------------------------------------- 1 | cDBUG = 2 | cOPT = -O3 3 | -------------------------------------------------------------------------------- /thirdparty/foamx3m/wmake/rules/linux64Gcc/cOpt: -------------------------------------------------------------------------------- 1 | cDBUG = 2 | cOPT = -O3 3 | -------------------------------------------------------------------------------- /thirdparty/foamx3m/wmake/rules/linuxGcc/c++Opt: -------------------------------------------------------------------------------- 1 | c++DBUG = 2 | c++OPT = -O3 3 | -------------------------------------------------------------------------------- /thirdparty/foamx3m/wmake/rules/linuxGcc/cOpt: -------------------------------------------------------------------------------- 1 | cDBUG = 2 | cOPT = -O3 3 | -------------------------------------------------------------------------------- /thirdparty/foamx3m/wmake/rules/linuxGcc45/c++Opt: -------------------------------------------------------------------------------- 1 | c++DBUG = 2 | c++OPT = -O3 3 | -------------------------------------------------------------------------------- /thirdparty/foamx3m/wmake/rules/linuxGcc45/cOpt: -------------------------------------------------------------------------------- 1 | cDBUG = 2 | cOPT = -O3 3 | -------------------------------------------------------------------------------- /thirdparty/foamx3m/wmake/rules/linuxGcc46/c++Opt: -------------------------------------------------------------------------------- 1 | c++DBUG = 2 | c++OPT = -O3 3 | -------------------------------------------------------------------------------- /thirdparty/foamx3m/wmake/rules/linuxGcc46/cOpt: -------------------------------------------------------------------------------- 1 | cDBUG = 2 | cOPT = -O3 3 | -------------------------------------------------------------------------------- /thirdparty/foamx3m/wmake/rules/linuxIA64Gcc/cOpt: -------------------------------------------------------------------------------- 1 | cDBUG = 2 | cOPT = -O3 3 | -------------------------------------------------------------------------------- /thirdparty/foamx3m/wmake/rules/linuxIA64I64/cOpt: -------------------------------------------------------------------------------- 1 | cDBUG = 2 | cOPT = -O3 3 | -------------------------------------------------------------------------------- /thirdparty/foamx3m/wmake/rules/linuxIA64Icc/cOpt: -------------------------------------------------------------------------------- 1 | cDBUG = 2 | cOPT = -O3 3 | -------------------------------------------------------------------------------- /thirdparty/foamx3m/wmake/rules/mingwGcc/cOpt: -------------------------------------------------------------------------------- 1 | cDBUG = 2 | cOPT = -O3 3 | -------------------------------------------------------------------------------- /thirdparty/libtiff/libtiff/libtiff.map: -------------------------------------------------------------------------------- 1 | LIBTIFF_4.0 { 2 | global: 3 | *; 4 | }; 5 | -------------------------------------------------------------------------------- /thirdparty/foamx3m/wmake/rules/FreeBSD/cOpt: -------------------------------------------------------------------------------- 1 | cDBUG = 2 | cOPT = $(CFLAGS) 3 | -------------------------------------------------------------------------------- /thirdparty/foamx3m/wmake/rules/SiCortex64Gcc/cOpt: -------------------------------------------------------------------------------- 1 | cDBUG = 2 | cOPT = -O3 3 | -------------------------------------------------------------------------------- /thirdparty/foamx3m/wmake/rules/SunOS64Gcc/c++Prof: -------------------------------------------------------------------------------- 1 | c++DBUG = -pg 2 | c++OPT = -O2 3 | -------------------------------------------------------------------------------- /thirdparty/foamx3m/wmake/rules/SunOS64Gcc/cProf: -------------------------------------------------------------------------------- 1 | cDBUG = -pg 2 | cOPT = -O2 3 | -------------------------------------------------------------------------------- /thirdparty/foamx3m/wmake/rules/darwinIntel64Gcc/cOpt: -------------------------------------------------------------------------------- 1 | cDBUG = 2 | cOPT = -O3 3 | -------------------------------------------------------------------------------- /thirdparty/foamx3m/wmake/rules/linux64Gcc/c++Prof: -------------------------------------------------------------------------------- 1 | c++DBUG = -pg 2 | c++OPT = -O2 3 | -------------------------------------------------------------------------------- /thirdparty/foamx3m/wmake/rules/linux64Gcc/cProf: -------------------------------------------------------------------------------- 1 | cDBUG = -pg 2 | cOPT = -O2 3 | -------------------------------------------------------------------------------- /thirdparty/foamx3m/wmake/rules/linux64Icc/c++Prof: -------------------------------------------------------------------------------- 1 | c++DBUG = -pg 2 | c++OPT = -O2 3 | -------------------------------------------------------------------------------- /thirdparty/foamx3m/wmake/rules/linux64Icc/cProf: -------------------------------------------------------------------------------- 1 | cDBUG = -pg 2 | cOPT = -O2 3 | -------------------------------------------------------------------------------- /thirdparty/foamx3m/wmake/rules/linuxGcc/c++Prof: -------------------------------------------------------------------------------- 1 | c++DBUG = -pg 2 | c++OPT = -O2 3 | -------------------------------------------------------------------------------- /thirdparty/foamx3m/wmake/rules/linuxGcc/cProf: -------------------------------------------------------------------------------- 1 | cDBUG = -pg 2 | cOPT = -O2 3 | -------------------------------------------------------------------------------- /thirdparty/foamx3m/wmake/rules/linuxGcc45/c++Prof: -------------------------------------------------------------------------------- 1 | c++DBUG = -pg 2 | c++OPT = -O2 3 | -------------------------------------------------------------------------------- /thirdparty/foamx3m/wmake/rules/linuxGcc45/cProf: -------------------------------------------------------------------------------- 1 | cDBUG = -pg 2 | cOPT = -O2 3 | -------------------------------------------------------------------------------- /thirdparty/foamx3m/wmake/rules/linuxGcc46/c++Prof: -------------------------------------------------------------------------------- 1 | c++DBUG = -pg 2 | c++OPT = -O2 3 | -------------------------------------------------------------------------------- /thirdparty/foamx3m/wmake/rules/linuxGcc46/cProf: -------------------------------------------------------------------------------- 1 | cDBUG = -pg 2 | cOPT = -O2 3 | -------------------------------------------------------------------------------- /thirdparty/foamx3m/wmake/rules/linuxIA64Gcc/c++Opt: -------------------------------------------------------------------------------- 1 | c++DBUG = 2 | c++OPT = -O3 3 | -------------------------------------------------------------------------------- /thirdparty/foamx3m/wmake/rules/linuxIA64Gcc/c++Prof: -------------------------------------------------------------------------------- 1 | c++DBUG = -pg 2 | c++OPT = -O2 3 | -------------------------------------------------------------------------------- /thirdparty/foamx3m/wmake/rules/linuxIA64Gcc/cProf: -------------------------------------------------------------------------------- 1 | cDBUG = -pg 2 | cOPT = -O2 3 | -------------------------------------------------------------------------------- /thirdparty/foamx3m/wmake/rules/linuxIA64I64/cProf: -------------------------------------------------------------------------------- 1 | cDBUG = -pg 2 | cOPT = -O2 3 | -------------------------------------------------------------------------------- /thirdparty/foamx3m/wmake/rules/linuxIA64Icc/cProf: -------------------------------------------------------------------------------- 1 | cDBUG = -pg 2 | cOPT = -O2 3 | -------------------------------------------------------------------------------- /thirdparty/foamx3m/wmake/rules/linuxIcc/c++Prof: -------------------------------------------------------------------------------- 1 | c++DBUG = -pg 2 | c++OPT = -O2 3 | -------------------------------------------------------------------------------- /thirdparty/foamx3m/wmake/rules/linuxIcc/cProf: -------------------------------------------------------------------------------- 1 | cDBUG = -pg 2 | cOPT = -O2 3 | -------------------------------------------------------------------------------- /thirdparty/foamx3m/wmake/rules/linuxPPC64Gcc/c++Opt: -------------------------------------------------------------------------------- 1 | c++DBUG = 2 | c++OPT = -O3 3 | -------------------------------------------------------------------------------- /thirdparty/foamx3m/wmake/rules/linuxPPC64Gcc/cOpt: -------------------------------------------------------------------------------- 1 | cDBUG = 2 | cOPT = -O3 3 | -------------------------------------------------------------------------------- /thirdparty/foamx3m/wmake/rules/mingwGcc/c++Prof: -------------------------------------------------------------------------------- 1 | c++DBUG = -pg 2 | c++OPT = -O2 3 | -------------------------------------------------------------------------------- /thirdparty/foamx3m/wmake/rules/mingwGcc/cProf: -------------------------------------------------------------------------------- 1 | cDBUG = -pg 2 | cOPT = -O2 3 | -------------------------------------------------------------------------------- /thirdparty/libtiff/libtiff/libtiffxx.map: -------------------------------------------------------------------------------- 1 | LIBTIFFXX_4.0 { 2 | global: 3 | *; 4 | }; 5 | -------------------------------------------------------------------------------- /Makefile: -------------------------------------------------------------------------------- 1 | 2 | # Makefile for top directory 3 | 4 | include src/script/Makefile.msRoot 5 | 6 | -------------------------------------------------------------------------------- /thirdparty/foamx3m/wmake/rules/FreeBSD/mplib: -------------------------------------------------------------------------------- 1 | PFLAGS = 2 | PINC = 3 | PLIBS = 4 | -------------------------------------------------------------------------------- /thirdparty/foamx3m/wmake/rules/SiCortex64Gcc/c++Prof: -------------------------------------------------------------------------------- 1 | c++DBUG = -pg 2 | c++OPT = -O2 3 | -------------------------------------------------------------------------------- /thirdparty/foamx3m/wmake/rules/SiCortex64Gcc/cProf: -------------------------------------------------------------------------------- 1 | cDBUG = -pg 2 | cOPT = -O2 3 | -------------------------------------------------------------------------------- /thirdparty/foamx3m/wmake/rules/SunOS64Gcc/mplib: -------------------------------------------------------------------------------- 1 | PFLAGS = 2 | PINC = 3 | PLIBS = 4 | -------------------------------------------------------------------------------- /thirdparty/foamx3m/wmake/rules/SunOS64Gcc/mplibSYSTEMOPENMPI: -------------------------------------------------------------------------------- 1 | PFLAGS = -DOMPI_SKIP_MPICXX 2 | -------------------------------------------------------------------------------- /thirdparty/foamx3m/wmake/rules/darwinIntel64Clang/ARCHITECTURE_TESTED: -------------------------------------------------------------------------------- 1 | by bgschaid. 2014-05-30 2 | -------------------------------------------------------------------------------- /thirdparty/foamx3m/wmake/rules/darwinIntel64Clang/cOpt: -------------------------------------------------------------------------------- 1 | cDBUG = 2 | cOPT = -O3 3 | -------------------------------------------------------------------------------- /thirdparty/foamx3m/wmake/rules/darwinIntel64Dragonegg/cOpt: -------------------------------------------------------------------------------- 1 | cDBUG = 2 | cOPT = -O3 3 | -------------------------------------------------------------------------------- /thirdparty/foamx3m/wmake/rules/darwinIntel64Gcc/ARCHITECTURE_TESTED: -------------------------------------------------------------------------------- 1 | by bgschaid. 2010-10-05 2 | -------------------------------------------------------------------------------- /thirdparty/foamx3m/wmake/rules/darwinIntel64Gcc/c++Prof: -------------------------------------------------------------------------------- 1 | c++DBUG = -pg 2 | c++OPT = -O2 3 | -------------------------------------------------------------------------------- /thirdparty/foamx3m/wmake/rules/darwinIntel64Gcc/cProf: -------------------------------------------------------------------------------- 1 | cDBUG = -pg 2 | cOPT = -O2 3 | -------------------------------------------------------------------------------- /thirdparty/foamx3m/wmake/rules/linux64Gcc/mplib: -------------------------------------------------------------------------------- 1 | PFLAGS = 2 | PINC = 3 | PLIBS = 4 | -------------------------------------------------------------------------------- /thirdparty/foamx3m/wmake/rules/linux64Gcc/mplibSYSTEMOPENMPI: -------------------------------------------------------------------------------- 1 | PFLAGS = -DOMPI_SKIP_MPICXX 2 | -------------------------------------------------------------------------------- /thirdparty/foamx3m/wmake/rules/linux64Icc/mplib: -------------------------------------------------------------------------------- 1 | PFLAGS = 2 | PINC = 3 | PLIBS = 4 | -------------------------------------------------------------------------------- /thirdparty/foamx3m/wmake/rules/linux64Icc/mplibSYSTEMOPENMPI: -------------------------------------------------------------------------------- 1 | PFLAGS = -DOMPI_SKIP_MPICXX 2 | -------------------------------------------------------------------------------- /thirdparty/foamx3m/wmake/rules/linuxGcc/mplib: -------------------------------------------------------------------------------- 1 | PFLAGS = 2 | PINC = 3 | PLIBS = 4 | -------------------------------------------------------------------------------- /thirdparty/foamx3m/wmake/rules/linuxGcc/mplibSYSTEMOPENMPI: -------------------------------------------------------------------------------- 1 | PFLAGS = -DOMPI_SKIP_MPICXX 2 | -------------------------------------------------------------------------------- /thirdparty/foamx3m/wmake/rules/linuxGcc45/mplib: -------------------------------------------------------------------------------- 1 | PFLAGS = 2 | PINC = 3 | PLIBS = 4 | -------------------------------------------------------------------------------- /thirdparty/foamx3m/wmake/rules/linuxGcc45/mplibSYSTEMOPENMPI: -------------------------------------------------------------------------------- 1 | PFLAGS = -DOMPI_SKIP_MPICXX 2 | -------------------------------------------------------------------------------- /thirdparty/foamx3m/wmake/rules/linuxGcc46/mplib: -------------------------------------------------------------------------------- 1 | PFLAGS = 2 | PINC = 3 | PLIBS = 4 | -------------------------------------------------------------------------------- /thirdparty/foamx3m/wmake/rules/linuxGcc46/mplibSYSTEMOPENMPI: -------------------------------------------------------------------------------- 1 | PFLAGS = -DOMPI_SKIP_MPICXX 2 | -------------------------------------------------------------------------------- /thirdparty/foamx3m/wmake/rules/linuxIA64Gcc/mplibSYSTEMOPENMPI: -------------------------------------------------------------------------------- 1 | PFLAGS = -DOMPI_SKIP_MPICXX 2 | -------------------------------------------------------------------------------- /thirdparty/foamx3m/wmake/rules/linuxIA64I64/mplibSYSTEMOPENMPI: -------------------------------------------------------------------------------- 1 | PFLAGS = -DOMPI_SKIP_MPICXX 2 | -------------------------------------------------------------------------------- /thirdparty/foamx3m/wmake/rules/linuxIA64Icc/mplibSYSTEMOPENMPI: -------------------------------------------------------------------------------- 1 | PFLAGS = -DOMPI_SKIP_MPICXX 2 | -------------------------------------------------------------------------------- /thirdparty/foamx3m/wmake/rules/linuxIcc/mplib: -------------------------------------------------------------------------------- 1 | PFLAGS = 2 | PINC = 3 | PLIBS = 4 | -------------------------------------------------------------------------------- /thirdparty/foamx3m/wmake/rules/linuxIcc/mplibSYSTEMOPENMPI: -------------------------------------------------------------------------------- 1 | PFLAGS = -DOMPI_SKIP_MPICXX 2 | -------------------------------------------------------------------------------- /thirdparty/foamx3m/wmake/rules/linuxPPC64Gcc/c++Prof: -------------------------------------------------------------------------------- 1 | c++DBUG = -pg 2 | c++OPT = -O2 3 | -------------------------------------------------------------------------------- /thirdparty/foamx3m/wmake/rules/linuxPPC64Gcc/cProf: -------------------------------------------------------------------------------- 1 | cDBUG = -pg 2 | cOPT = -O2 3 | -------------------------------------------------------------------------------- /thirdparty/foamx3m/wmake/rules/mingwGcc/mplib: -------------------------------------------------------------------------------- 1 | PFLAGS = 2 | PINC = 3 | PLIBS = 4 | -------------------------------------------------------------------------------- /thirdparty/foamx3m/wmake/rules/mingwGcc/mplibSYSTEMOPENMPI: -------------------------------------------------------------------------------- 1 | PFLAGS = -DOMPI_SKIP_MPICXX 2 | -------------------------------------------------------------------------------- /thirdparty/foamx3m/wmake/rules/solarisGcc/mplib: -------------------------------------------------------------------------------- 1 | PFLAGS = 2 | PINC = 3 | PLIBS = 4 | -------------------------------------------------------------------------------- /thirdparty/foamx3m/wmake/rules/solarisGcc/mplibSYSTEMOPENMPI: -------------------------------------------------------------------------------- 1 | PFLAGS = -DOMPI_SKIP_MPICXX 2 | -------------------------------------------------------------------------------- /thirdparty/foamx3m/wmake/rules/SiCortex64Gcc/mplib: -------------------------------------------------------------------------------- 1 | PFLAGS = 2 | PINC = 3 | PLIBS = 4 | -------------------------------------------------------------------------------- /thirdparty/foamx3m/wmake/rules/SiCortex64Gcc/mplibSYSTEMOPENMPI: -------------------------------------------------------------------------------- 1 | PFLAGS = -DOMPI_SKIP_MPICXX 2 | -------------------------------------------------------------------------------- /thirdparty/foamx3m/wmake/rules/darwinIntel64Clang/c++Prof: -------------------------------------------------------------------------------- 1 | c++DBUG = -pg 2 | c++OPT = -O2 3 | -------------------------------------------------------------------------------- /thirdparty/foamx3m/wmake/rules/darwinIntel64Clang/cProf: -------------------------------------------------------------------------------- 1 | cDBUG = -pg 2 | cOPT = -O2 3 | -------------------------------------------------------------------------------- /thirdparty/foamx3m/wmake/rules/darwinIntel64Dragonegg/ARCHITECTURE_TESTED: -------------------------------------------------------------------------------- 1 | by bgschaid. 2010-10-05 2 | -------------------------------------------------------------------------------- /thirdparty/foamx3m/wmake/rules/darwinIntel64Dragonegg/c++Prof: -------------------------------------------------------------------------------- 1 | c++DBUG = -pg 2 | c++OPT = -O2 3 | -------------------------------------------------------------------------------- /thirdparty/foamx3m/wmake/rules/darwinIntel64Dragonegg/cProf: -------------------------------------------------------------------------------- 1 | cDBUG = -pg 2 | cOPT = -O2 3 | -------------------------------------------------------------------------------- /thirdparty/foamx3m/wmake/rules/darwinIntel64Gcc/mplibSYSTEMOPENMPI: -------------------------------------------------------------------------------- 1 | PFLAGS = -DOMPI_SKIP_MPICXX 2 | -------------------------------------------------------------------------------- /thirdparty/foamx3m/wmake/rules/linux64Icc/cDebug: -------------------------------------------------------------------------------- 1 | cDBUG = -g -DFULLDEBUG -O0 2 | cOPT = 3 | -------------------------------------------------------------------------------- /thirdparty/foamx3m/wmake/rules/linux64Icc/cOpt: -------------------------------------------------------------------------------- 1 | cDBUG = 2 | cOPT = -O3 -no-prec-div 3 | -------------------------------------------------------------------------------- /thirdparty/foamx3m/wmake/rules/linuxIA64Gcc/mplib: -------------------------------------------------------------------------------- 1 | PFLAGS = 2 | PINC = 3 | PLIBS = 4 | -------------------------------------------------------------------------------- /thirdparty/foamx3m/wmake/rules/linuxIA64I64/c++Prof: -------------------------------------------------------------------------------- 1 | c++DBUG = -prof_gen 2 | c++OPT = -O3 3 | -------------------------------------------------------------------------------- /thirdparty/foamx3m/wmake/rules/linuxIA64I64/mplib: -------------------------------------------------------------------------------- 1 | PFLAGS = 2 | PINC = 3 | PLIBS = 4 | -------------------------------------------------------------------------------- /thirdparty/foamx3m/wmake/rules/linuxIA64Icc/c++Prof: -------------------------------------------------------------------------------- 1 | c++DBUG = -prof_gen 2 | c++OPT = -O3 3 | -------------------------------------------------------------------------------- /thirdparty/foamx3m/wmake/rules/linuxIA64Icc/mplib: -------------------------------------------------------------------------------- 1 | PFLAGS = 2 | PINC = 3 | PLIBS = 4 | -------------------------------------------------------------------------------- /thirdparty/foamx3m/wmake/rules/linuxIcc/c++Debug: -------------------------------------------------------------------------------- 1 | c++DBUG = -g -DFULLDEBUG -O0 2 | c++OPT = 3 | -------------------------------------------------------------------------------- /thirdparty/foamx3m/wmake/rules/linuxIcc/cDebug: -------------------------------------------------------------------------------- 1 | cDBUG = -g -DFULLDEBUG -O0 2 | cOPT = 3 | -------------------------------------------------------------------------------- /thirdparty/foamx3m/wmake/rules/linuxPPC64Gcc/mplib: -------------------------------------------------------------------------------- 1 | PFLAGS = 2 | PINC = 3 | PLIBS = 4 | -------------------------------------------------------------------------------- /thirdparty/foamx3m/wmake/rules/linuxPPC64Gcc/mplibSYSTEMOPENMPI: -------------------------------------------------------------------------------- 1 | PFLAGS = -DOMPI_SKIP_MPICXX 2 | -------------------------------------------------------------------------------- /thirdparty/foamx3m/wmake/rules/FreeBSD/c++Opt: -------------------------------------------------------------------------------- 1 | c++DBUG = 2 | c++OPT = $(CXXFLAGS) -ffast-math 3 | -------------------------------------------------------------------------------- /thirdparty/foamx3m/wmake/rules/darwinIntel64Clang/mplib: -------------------------------------------------------------------------------- 1 | PFLAGS = 2 | PINC = 3 | PLIBS = 4 | -------------------------------------------------------------------------------- /thirdparty/foamx3m/wmake/rules/darwinIntel64Clang/mplibSYSTEMOPENMPI: -------------------------------------------------------------------------------- 1 | PFLAGS = -DOMPI_SKIP_MPICXX 2 | -------------------------------------------------------------------------------- /thirdparty/foamx3m/wmake/rules/darwinIntel64Dragonegg/mplibSYSTEMOPENMPI: -------------------------------------------------------------------------------- 1 | PFLAGS = -DOMPI_SKIP_MPICXX 2 | -------------------------------------------------------------------------------- /thirdparty/foamx3m/wmake/rules/darwinIntel64Gcc/mplib: -------------------------------------------------------------------------------- 1 | PFLAGS = 2 | PINC = 3 | PLIBS = 4 | -------------------------------------------------------------------------------- /thirdparty/foamx3m/wmake/rules/linuxIA64I64/c++Debug: -------------------------------------------------------------------------------- 1 | c++DBUG = -g -DFULLDEBUG -O0 2 | c++OPT = 3 | -------------------------------------------------------------------------------- /thirdparty/foamx3m/wmake/rules/linuxIA64I64/cDebug: -------------------------------------------------------------------------------- 1 | cDBUG = -g -DFULLDEBUG -O0 2 | cOPT = 3 | -------------------------------------------------------------------------------- /thirdparty/foamx3m/wmake/rules/linuxIA64Icc/c++Debug: -------------------------------------------------------------------------------- 1 | c++DBUG = -g -DFULLDEBUG -O0 2 | c++OPT = 3 | -------------------------------------------------------------------------------- /thirdparty/foamx3m/wmake/rules/linuxIA64Icc/cDebug: -------------------------------------------------------------------------------- 1 | cDBUG = -g -DFULLDEBUG -O0 2 | cOPT = 3 | -------------------------------------------------------------------------------- /thirdparty/foamx3m/wmake/rules/solarisGcc/cOpt: -------------------------------------------------------------------------------- 1 | cDBUG = 2 | cOPT = -O2 -fno-schedule-insns 3 | -------------------------------------------------------------------------------- /thirdparty/foamx3m/wmake/rules/darwinIntel64Dragonegg/mplib: -------------------------------------------------------------------------------- 1 | PFLAGS = 2 | PINC = 3 | PLIBS = 4 | -------------------------------------------------------------------------------- /thirdparty/foamx3m/wmake/rules/solarisGcc/c++Opt: -------------------------------------------------------------------------------- 1 | c++DBUG = 2 | c++OPT = -O3 -fno-schedule-insns 3 | -------------------------------------------------------------------------------- /thirdparty/foamx3m/wmake/rules/solarisGcc/cProf: -------------------------------------------------------------------------------- 1 | cDBUG = -pg 2 | cOPT = -O2 -fno-schedule-insns 3 | -------------------------------------------------------------------------------- /thirdparty/foamx3m/wmake/rules/mingwGcc/ARCHITECTURE_TESTED: -------------------------------------------------------------------------------- 1 | by bgschaid. 2010-10-06 on Centos 5.5 with gcc 4.1 2 | -------------------------------------------------------------------------------- /thirdparty/foamx3m/wmake/rules/solarisGcc/c++Prof: -------------------------------------------------------------------------------- 1 | c++DBUG = -pg 2 | c++OPT = -O2 -fno-schedule-insns 3 | -------------------------------------------------------------------------------- /thirdparty/foamx3m/src/foam/containers/Dictionaries/Dictionary/Dictionary.H: -------------------------------------------------------------------------------- 1 | 2 | 3 | #include "DictionaryTemplate.H" 4 | -------------------------------------------------------------------------------- /thirdparty/foamx3m/wmake/rules/FreeBSD/c++Debug: -------------------------------------------------------------------------------- 1 | c++DBUG = -ggdb3 -DFULLDEBUG 2 | c++OPT = -O0 -fdefault-inline 3 | -------------------------------------------------------------------------------- /thirdparty/foamx3m/wmake/rules/FreeBSD/cDebug: -------------------------------------------------------------------------------- 1 | cDBUG = -ggdb -DFULLDEBUG 2 | cOPT = -O1 -finline-functions 3 | -------------------------------------------------------------------------------- /thirdparty/foamx3m/wmake/rules/linux64Gcc/ARCHITECTURE_TESTED: -------------------------------------------------------------------------------- 1 | by bgschaid. 2010-10-06 on Centos 5.5 with gcc 4.1 2 | 3 | -------------------------------------------------------------------------------- /thirdparty/foamx3m/wmake/rules/linux64Icc/c++Debug: -------------------------------------------------------------------------------- 1 | c++DBUG = -g -DFULLDEBUG -O0 2 | c++OPT = -fp-model precise 3 | -------------------------------------------------------------------------------- /thirdparty/foamx3m/wmake/rules/linuxGcc/c++Debug: -------------------------------------------------------------------------------- 1 | c++DBUG = -ggdb3 -DFULLDEBUG 2 | c++OPT = -O0 -fdefault-inline 3 | -------------------------------------------------------------------------------- /thirdparty/foamx3m/wmake/rules/mingwGcc/c++Debug: -------------------------------------------------------------------------------- 1 | c++DBUG = -ggdb3 -DFULLDEBUG 2 | c++OPT = -O0 -fdefault-inline 3 | -------------------------------------------------------------------------------- /thirdparty/foamx3m/wmake/rules/SiCortex64Gcc/c++Debug: -------------------------------------------------------------------------------- 1 | c++DBUG = -ggdb3 -DFULLDEBUG 2 | c++OPT = -O0 -fdefault-inline 3 | -------------------------------------------------------------------------------- /thirdparty/foamx3m/wmake/rules/SunOS64Gcc/c++Debug: -------------------------------------------------------------------------------- 1 | c++DBUG = -ggdb3 -DFULLDEBUG 2 | c++OPT = -O0 -fdefault-inline 3 | -------------------------------------------------------------------------------- /thirdparty/foamx3m/wmake/rules/linux64Gcc/c++Debug: -------------------------------------------------------------------------------- 1 | c++DBUG = -ggdb3 -DFULLDEBUG 2 | c++OPT = -O0 -fdefault-inline 3 | -------------------------------------------------------------------------------- /thirdparty/foamx3m/wmake/rules/linuxGcc45/c++Debug: -------------------------------------------------------------------------------- 1 | c++DBUG = -ggdb3 -DFULLDEBUG 2 | c++OPT = -O0 -fdefault-inline 3 | -------------------------------------------------------------------------------- /thirdparty/foamx3m/wmake/rules/linuxGcc46/c++Debug: -------------------------------------------------------------------------------- 1 | c++DBUG = -ggdb3 -DFULLDEBUG 2 | c++OPT = -O0 -fdefault-inline 3 | -------------------------------------------------------------------------------- /thirdparty/foamx3m/wmake/rules/linuxIA64Gcc/c++Debug: -------------------------------------------------------------------------------- 1 | c++DBUG = -ggdb3 -DFULLDEBUG 2 | c++OPT = -O0 -fdefault-inline 3 | -------------------------------------------------------------------------------- /thirdparty/foamx3m/wmake/rules/linuxPPC64Gcc/c++Debug: -------------------------------------------------------------------------------- 1 | c++DBUG = -ggdb3 -DFULLDEBUG 2 | c++OPT = -O0 -fdefault-inline 3 | -------------------------------------------------------------------------------- /thirdparty/foamx3m/src/decompositionMethods/metisDecomp/Make/files: -------------------------------------------------------------------------------- 1 | metisDecomp.C 2 | 3 | LIB = $(FOAM_LIBBIN)/libmetisDecomp 4 | -------------------------------------------------------------------------------- /thirdparty/foamx3m/wmake/rules/SiCortex64Gcc/mplibMPI: -------------------------------------------------------------------------------- 1 | PFLAGS = -DMPICH_SKIP_MPICXX 2 | PINC = 3 | PLIBS = -lscmpi 4 | -------------------------------------------------------------------------------- /thirdparty/foamx3m/wmake/rules/darwinIntel64Gcc/c++Debug: -------------------------------------------------------------------------------- 1 | c++DBUG = -ggdb2 -DFULLDEBUG 2 | c++OPT = -O0 -fdefault-inline 3 | -------------------------------------------------------------------------------- /doc/porefoam_singlePhase.pdf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ImperialCollegeLondon/poreFoam-singlePhase/HEAD/doc/porefoam_singlePhase.pdf -------------------------------------------------------------------------------- /thirdparty/foamx3m/src/decompositionMethods/parMetisDecomp/Make/files: -------------------------------------------------------------------------------- 1 | parMetisDecomp.C 2 | 3 | LIB = $(FOAM_LIBBIN)/libparMetisDecomp 4 | -------------------------------------------------------------------------------- /thirdparty/foamx3m/src/edgeMesh/Make/files: -------------------------------------------------------------------------------- 1 | edgeMesh.C 2 | edgeMeshIO.C 3 | featureEdgeMesh.C 4 | 5 | LIB = $(FOAM_LIBBIN)/libedgeMesh 6 | -------------------------------------------------------------------------------- /thirdparty/foamx3m/wmake/rules/darwinIntel64Dragonegg/c++Debug: -------------------------------------------------------------------------------- 1 | c++DBUG = -ggdb2 -DFULLDEBUG 2 | c++OPT = -O0 -fdefault-inline 3 | -------------------------------------------------------------------------------- /thirdparty/foamx3m/wmake/rules/linuxIA64Gcc/mplibMPI: -------------------------------------------------------------------------------- 1 | PFLAGS = -DSGIMPI -DMPI_NO_CPPBIND 2 | PINC = 3 | PLIBS = -lmpi 4 | -------------------------------------------------------------------------------- /thirdparty/foamx3m/wmake/rules/linuxIA64Icc/mplibIMPI: -------------------------------------------------------------------------------- 1 | PFLAGS = -DSGIMPI -DMPI_NO_CPPBIND 2 | PINC = 3 | PLIBS = -lmpi 4 | -------------------------------------------------------------------------------- /thirdparty/foamx3m/wmake/rules/linuxIA64Icc/mplibMPI: -------------------------------------------------------------------------------- 1 | PFLAGS = -DSGIMPI -DMPI_NO_CPPBIND 2 | PINC = 3 | PLIBS = -lmpi 4 | -------------------------------------------------------------------------------- /thirdparty/foamx3m/src/dynamicMesh/meshMotion/RBFMotionSolver/Make/files: -------------------------------------------------------------------------------- 1 | RBFMotionSolver.C 2 | 3 | LIB = $(FOAM_LIBBIN)/libRBFMotionSolver 4 | -------------------------------------------------------------------------------- /thirdparty/foamx3m/wmake/rules/SunOS64Gcc/cDebug: -------------------------------------------------------------------------------- 1 | cDBUG = -ggdb -DFULLDEBUG 2 | cOPT = -O1 -fdefault-inline -finline-functions 3 | -------------------------------------------------------------------------------- /thirdparty/foamx3m/wmake/rules/linux64Gcc/cDebug: -------------------------------------------------------------------------------- 1 | cDBUG = -ggdb -DFULLDEBUG 2 | cOPT = -O1 -fdefault-inline -finline-functions 3 | -------------------------------------------------------------------------------- /thirdparty/foamx3m/wmake/rules/linuxGcc/cDebug: -------------------------------------------------------------------------------- 1 | cDBUG = -ggdb -DFULLDEBUG 2 | cOPT = -O1 -fdefault-inline -finline-functions 3 | -------------------------------------------------------------------------------- /thirdparty/foamx3m/wmake/rules/linuxGcc45/cDebug: -------------------------------------------------------------------------------- 1 | cDBUG = -ggdb -DFULLDEBUG 2 | cOPT = -O1 -fdefault-inline -finline-functions 3 | -------------------------------------------------------------------------------- /thirdparty/foamx3m/wmake/rules/linuxGcc46/cDebug: -------------------------------------------------------------------------------- 1 | cDBUG = -ggdb -DFULLDEBUG 2 | cOPT = -O1 -fdefault-inline -finline-functions 3 | -------------------------------------------------------------------------------- /thirdparty/foamx3m/wmake/rules/mingwGcc/cDebug: -------------------------------------------------------------------------------- 1 | cDBUG = -ggdb -DFULLDEBUG 2 | cOPT = -O1 -fdefault-inline -finline-functions 3 | -------------------------------------------------------------------------------- /thirdparty/foamx3m/wmake/rules/solarisGcc/cDebug: -------------------------------------------------------------------------------- 1 | cDBUG = -ggdb -DFULLDEBUG 2 | cOPT = -O1 -fdefault-inline -finline-functions 3 | -------------------------------------------------------------------------------- /thirdparty/foamx3m/applications/utilities/mesh/manipulation/refineMesh/Make/files: -------------------------------------------------------------------------------- 1 | refineMesh.C 2 | 3 | EXE = $(FOAM_APPBIN)/refineMesh 4 | 5 | -------------------------------------------------------------------------------- /thirdparty/foamx3m/applications/utilities/mesh/manipulation/renumberMesh/Make/files: -------------------------------------------------------------------------------- 1 | renumberMesh.C 2 | 3 | EXE = $(FOAM_APPBIN)/renumberMesh 4 | -------------------------------------------------------------------------------- /thirdparty/foamx3m/wmake/rules/SiCortex64Gcc/cDebug: -------------------------------------------------------------------------------- 1 | cDBUG = -ggdb -DFULLDEBUG 2 | cOPT = -O1 -fdefault-inline -finline-functions 3 | -------------------------------------------------------------------------------- /thirdparty/foamx3m/wmake/rules/darwinIntel64Gcc/cDebug: -------------------------------------------------------------------------------- 1 | cDBUG = -ggdb -DFULLDEBUG 2 | cOPT = -O1 -fdefault-inline -finline-functions 3 | -------------------------------------------------------------------------------- /thirdparty/foamx3m/wmake/rules/linux64Gcc/mplibMVAPICH2: -------------------------------------------------------------------------------- 1 | PINC = -I$(MPI_ARCH_PATH)/include 2 | PLIBS = -L$(MPI_ARCH_PATH)/lib -lmpi 3 | -------------------------------------------------------------------------------- /thirdparty/foamx3m/wmake/rules/linuxIA64Gcc/cDebug: -------------------------------------------------------------------------------- 1 | cDBUG = -ggdb -DFULLDEBUG 2 | cOPT = -O1 -fdefault-inline -finline-functions 3 | -------------------------------------------------------------------------------- /thirdparty/foamx3m/wmake/rules/linuxPPC64Gcc/cDebug: -------------------------------------------------------------------------------- 1 | cDBUG = -ggdb -DFULLDEBUG 2 | cOPT = -O1 -fdefault-inline -finline-functions 3 | -------------------------------------------------------------------------------- /thirdparty/foamx3m/wmake/rules/solarisGcc/c++Debug: -------------------------------------------------------------------------------- 1 | c++DBUG = -ggdb3 -DFULLDEBUG 2 | c++OPT = -O0 -fdefault-inline -finline-functions 3 | -------------------------------------------------------------------------------- /thirdparty/zlib/Makefile: -------------------------------------------------------------------------------- 1 | all: 2 | -@echo "Please use ./configure first. Thank you." 3 | 4 | distclean: 5 | make -f Makefile.in distclean 6 | -------------------------------------------------------------------------------- /thirdparty/foamx3m/wmake/rules/FreeBSD/X: -------------------------------------------------------------------------------- 1 | XFLAGS = 2 | XINC = $(XFLAGS) -I/usr/X11R6/include 3 | XLIBS = -L/usr/X11R6/lib -lXext -lX11 4 | -------------------------------------------------------------------------------- /thirdparty/foamx3m/wmake/rules/linuxGcc/X: -------------------------------------------------------------------------------- 1 | XFLAGS = 2 | XINC = $(XFLAGS) -I/usr/X11R6/include 3 | XLIBS = -L/usr/X11R6/lib -lXext -lX11 4 | -------------------------------------------------------------------------------- /thirdparty/foamx3m/wmake/rules/linuxIcc/X: -------------------------------------------------------------------------------- 1 | XFLAGS = 2 | XINC = $(XFLAGS) -I/usr/X11R6/include 3 | XLIBS = -L/usr/X11R6/lib -lXext -lX11 4 | -------------------------------------------------------------------------------- /thirdparty/foamx3m/bin/tools/README: -------------------------------------------------------------------------------- 1 | Misc. tools, scripts, templates that are useful (eg, for building applications) 2 | but don't need to be in the PATH. 3 | -------------------------------------------------------------------------------- /thirdparty/foamx3m/src/finiteVolume/Make/options: -------------------------------------------------------------------------------- 1 | EXE_INC = \ 2 | -I$(LIB_SRC)/meshTools/lnInclude 3 | 4 | LIB_LIBS = \ 5 | -l:libmeshTools.$(SO) 6 | -------------------------------------------------------------------------------- /thirdparty/foamx3m/wmake/rules/FreeBSD/mplibMPICH: -------------------------------------------------------------------------------- 1 | PFLAGS = 2 | PINC = -I$(MPI_ARCH_PATH)/include 3 | PLIBS = -L$(MPI_ARCH_PATH)/lib -lmpich 4 | -------------------------------------------------------------------------------- /thirdparty/foamx3m/wmake/rules/SunOS64Gcc/X: -------------------------------------------------------------------------------- 1 | XFLAGS = 2 | XINC = $(XFLAGS) -I/usr/X11R6/include 3 | XLIBS = -L/usr/X11R6/lib64 -lXext -lX11 4 | -------------------------------------------------------------------------------- /thirdparty/foamx3m/wmake/rules/darwinIntel64Dragonegg/cDebug: -------------------------------------------------------------------------------- 1 | cDBUG = -ggdb -DFULLDEBUG 2 | cOPT = -O1 -fdefault-inline -finline-functions 3 | -------------------------------------------------------------------------------- /thirdparty/foamx3m/wmake/rules/linux64Gcc/X: -------------------------------------------------------------------------------- 1 | XFLAGS = 2 | XINC = $(XFLAGS) -I/usr/X11R6/include 3 | XLIBS = -L/usr/X11R6/lib64 -lXext -lX11 4 | -------------------------------------------------------------------------------- /thirdparty/foamx3m/wmake/rules/linux64Icc/X: -------------------------------------------------------------------------------- 1 | XFLAGS = 2 | XINC = $(XFLAGS) -I/usr/X11R6/include 3 | XLIBS = -L/usr/X11R6/lib64 -lXext -lX11 4 | -------------------------------------------------------------------------------- /thirdparty/foamx3m/wmake/rules/linuxGcc45/X: -------------------------------------------------------------------------------- 1 | XFLAGS = 2 | XINC = $(XFLAGS) -I/usr/X11R6/include 3 | XLIBS = -L/usr/X11R6/lib -lXext -lX11 4 | -------------------------------------------------------------------------------- /thirdparty/foamx3m/wmake/rules/linuxGcc46/X: -------------------------------------------------------------------------------- 1 | XFLAGS = 2 | XINC = $(XFLAGS) -I/usr/X11R6/include 3 | XLIBS = -L/usr/X11R6/lib -lXext -lX11 4 | -------------------------------------------------------------------------------- /thirdparty/foamx3m/wmake/rules/linuxIA64Gcc/X: -------------------------------------------------------------------------------- 1 | XFLAGS = 2 | XINC = $(XFLAGS) -I/usr/X11R6/include 3 | XLIBS = -L/usr/X11R6/lib -lXext -lX11 4 | -------------------------------------------------------------------------------- /thirdparty/foamx3m/wmake/rules/linuxIA64I64/X: -------------------------------------------------------------------------------- 1 | XFLAGS = 2 | XINC = $(XFLAGS) -I/usr/X11R6/include 3 | XLIBS = -L/usr/X11R6/lib -lXext -lX11 4 | -------------------------------------------------------------------------------- /thirdparty/foamx3m/wmake/rules/linuxIA64Icc/X: -------------------------------------------------------------------------------- 1 | XFLAGS = 2 | XINC = $(XFLAGS) -I/usr/X11R6/include 3 | XLIBS = -L/usr/X11R6/lib -lXext -lX11 4 | -------------------------------------------------------------------------------- /thirdparty/foamx3m/wmake/rules/mingwGcc/X: -------------------------------------------------------------------------------- 1 | XFLAGS = 2 | XINC = $(XFLAGS) -I/usr/X11R6/include 3 | XLIBS = -L/usr/X11R6/lib64 -lXext -lX11 4 | -------------------------------------------------------------------------------- /thirdparty/foamx3m/wmake/rules/mingwGcc/mplibQSMPI: -------------------------------------------------------------------------------- 1 | PFLAGS = 2 | PINC = -I$(MPI_ARCH_PATH)/include 3 | PLIBS = -L$(MPI_ARCH_PATH)/lib -lmpi 4 | -------------------------------------------------------------------------------- /thirdparty/foamx3m/applications/utilities/parallelProcessing/redistributeMeshPar/Make/files: -------------------------------------------------------------------------------- 1 | redistributeMeshPar.C 2 | 3 | EXE = $(FOAM_APPBIN)/redistributePar 4 | -------------------------------------------------------------------------------- /thirdparty/foamx3m/src/foam/include/initTotalVolume.H: -------------------------------------------------------------------------------- 1 | // 2 | // initTotalVolume.H 3 | // ~~~~~~~~~~~~ 4 | 5 | scalar totalVolume = sum(mesh.V()).value(); 6 | -------------------------------------------------------------------------------- /thirdparty/foamx3m/wmake/rules/General/mplibMPICH: -------------------------------------------------------------------------------- 1 | PFLAGS = 2 | PINC = -I$(MPI_ARCH_PATH)/include 3 | PLIBS = -L$(MPI_ARCH_PATH)/lib -lmpich -lrt 4 | -------------------------------------------------------------------------------- /thirdparty/foamx3m/wmake/rules/SiCortex64Gcc/X: -------------------------------------------------------------------------------- 1 | XFLAGS = 2 | XINC = $(XFLAGS) -I/usr/X11R6/include 3 | XLIBS = -L/usr/X11R6/lib64 -lXext -lX11 4 | -------------------------------------------------------------------------------- /thirdparty/foamx3m/wmake/rules/darwinIntel64Clang/X: -------------------------------------------------------------------------------- 1 | XFLAGS = 2 | XINC = $(XFLAGS) -I/usr/X11R6/include 3 | XLIBS = -L/usr/X11R6/lib -lXext -lX11 4 | -------------------------------------------------------------------------------- /thirdparty/foamx3m/wmake/rules/darwinIntel64Gcc/X: -------------------------------------------------------------------------------- 1 | XFLAGS = 2 | XINC = $(XFLAGS) -I/usr/X11R6/include 3 | XLIBS = -L/usr/X11R6/lib -lXext -lX11 4 | -------------------------------------------------------------------------------- /thirdparty/foamx3m/wmake/rules/linux64Gcc/mplibGAMMA: -------------------------------------------------------------------------------- 1 | PFLAGS = 2 | PINC = -I$(MPI_ARCH_PATH)/include 3 | PLIBS = -L$(MPI_ARCH_PATH)/lib -lgamma 4 | -------------------------------------------------------------------------------- /thirdparty/foamx3m/wmake/rules/linux64Gcc/mplibMPICH: -------------------------------------------------------------------------------- 1 | PFLAGS = 2 | PINC = -I$(MPI_ARCH_PATH)/include 3 | PLIBS = -L$(MPI_ARCH_PATH)/lib -lmpich 4 | -------------------------------------------------------------------------------- /thirdparty/foamx3m/wmake/rules/linuxGcc/mplibGAMMA: -------------------------------------------------------------------------------- 1 | PFLAGS = 2 | PINC = -I$(MPI_ARCH_PATH)/include 3 | PLIBS = -L$(MPI_ARCH_PATH)/lib -lgamma 4 | -------------------------------------------------------------------------------- /thirdparty/foamx3m/wmake/rules/linuxGcc45/mplibGAMMA: -------------------------------------------------------------------------------- 1 | PFLAGS = 2 | PINC = -I$(MPI_ARCH_PATH)/include 3 | PLIBS = -L$(MPI_ARCH_PATH)/lib -lgamma 4 | -------------------------------------------------------------------------------- /thirdparty/foamx3m/wmake/rules/linuxGcc46/mplibGAMMA: -------------------------------------------------------------------------------- 1 | PFLAGS = 2 | PINC = -I$(MPI_ARCH_PATH)/include 3 | PLIBS = -L$(MPI_ARCH_PATH)/lib -lgamma 4 | -------------------------------------------------------------------------------- /thirdparty/foamx3m/wmake/rules/linuxPPC64Gcc/X: -------------------------------------------------------------------------------- 1 | XFLAGS = 2 | XINC = $(XFLAGS) -I/usr/X11R6/include 3 | XLIBS = -L/usr/X11R6/lib64 -lXext -lX11 4 | -------------------------------------------------------------------------------- /thirdparty/foamx3m/wmake/rules/mingwGcc/mplibGAMMA: -------------------------------------------------------------------------------- 1 | PFLAGS = 2 | PINC = -I$(MPI_ARCH_PATH)/include 3 | PLIBS = -L$(MPI_ARCH_PATH)/lib -lgamma 4 | -------------------------------------------------------------------------------- /thirdparty/foamx3m/wmake/rules/mingwGcc/mplibMPICH: -------------------------------------------------------------------------------- 1 | PFLAGS = 2 | PINC = -I$(MPI_ARCH_PATH)/include 3 | PLIBS = -L$(MPI_ARCH_PATH)/lib -lmpich 4 | -------------------------------------------------------------------------------- /thirdparty/foamx3m/wmake/rules/solarisGcc/X: -------------------------------------------------------------------------------- 1 | XFLAGS = 2 | XINC = $(XFLAGS) -I/usr/openwin/include/X11 3 | XLIBS = -L/usr/openwin/lib -lXext -lX11 4 | -------------------------------------------------------------------------------- /thirdparty/foamx3m/wmake/rules/solarisGcc/mplibMPI: -------------------------------------------------------------------------------- 1 | PFLAGS = 2 | PINC = -I$(MPI_ROOT)/include 3 | PLIBS = -L$(MPI_ROOT)/lib/$(MPI_ARCH) -lmpi 4 | -------------------------------------------------------------------------------- /thirdparty/foamx3m/src/decompositionMethods/decompositionMethods/Make/options: -------------------------------------------------------------------------------- 1 | EXE_INC = -DDOTSO=\".$(SO)\" 2 | 3 | LIB_LIBS = \ 4 | -L$(FOAM_LIBBIN)/dummy 5 | -------------------------------------------------------------------------------- /thirdparty/foamx3m/src/dynamicMesh/dynamicMesh/Make/options: -------------------------------------------------------------------------------- 1 | EXE_INC = \ 2 | -I$(LIB_SRC)/meshTools/lnInclude 3 | 4 | LIB_LIBS = \ 5 | -l:libmeshTools.$(SO) 6 | -------------------------------------------------------------------------------- /thirdparty/foamx3m/src/dynamicMesh/meshMotion/solidBodyMotion/Make/options: -------------------------------------------------------------------------------- 1 | EXE_INC = \ 2 | -I$(LIB_SRC)/dynamicMesh/dynamicMesh/lnInclude 3 | 4 | LIB_LIBS = 5 | -------------------------------------------------------------------------------- /thirdparty/foamx3m/wmake/rules/FreeBSD/mplibOPENMPI: -------------------------------------------------------------------------------- 1 | PFLAGS = 2 | PINC = -I$(OPENMPI_ARCH_PATH)/include 3 | PLIBS = -L$(OPENMPI_ARCH_PATH)/lib -lmpi 4 | -------------------------------------------------------------------------------- /thirdparty/foamx3m/wmake/rules/SiCortex64Gcc/c++Opt: -------------------------------------------------------------------------------- 1 | c++DBUG = 2 | c++OPT = -O3 3 | #c++OPT = -O3 4 | # -ftree-vectorize -ftree-vectorizer-verbose=3 5 | -------------------------------------------------------------------------------- /thirdparty/foamx3m/wmake/rules/darwinIntel64Dragonegg/X: -------------------------------------------------------------------------------- 1 | XFLAGS = 2 | XINC = $(XFLAGS) -I/usr/X11R6/include 3 | XLIBS = -L/usr/X11R6/lib -lXext -lX11 4 | -------------------------------------------------------------------------------- /thirdparty/foamx3m/wmake/rules/linux64Gcc/mplibQSMPI: -------------------------------------------------------------------------------- 1 | PFLAGS = 2 | PINC = -I$(MPI_ARCH_PATH)/include 3 | PLIBS = -L$(MPI_ARCH_PATH)/lib -lmpi 4 | 5 | -------------------------------------------------------------------------------- /thirdparty/foamx3m/wmake/rules/linuxIcc/mplibMPICH: -------------------------------------------------------------------------------- 1 | PFLAGS = 2 | PINC = -I$(MPI_ARCH_PATH)/include 3 | PLIBS = -L$(MPI_ARCH_PATH)/lib -lmpich -lrt 4 | -------------------------------------------------------------------------------- /thirdparty/foamx3m/wmake/rules/linuxPPC64Gcc/mplibGAMMA: -------------------------------------------------------------------------------- 1 | PFLAGS = 2 | PINC = -I$(MPI_ARCH_PATH)/include 3 | PLIBS = -L$(MPI_ARCH_PATH)/lib -lgamma 4 | -------------------------------------------------------------------------------- /thirdparty/foamx3m/wmake/rules/linuxPPC64Gcc/mplibQSMPI: -------------------------------------------------------------------------------- 1 | PFLAGS = 2 | PINC = -I$(MPI_ARCH_PATH)/include 3 | PLIBS = -L$(MPI_ARCH_PATH)/lib -lmpi 4 | 5 | -------------------------------------------------------------------------------- /src/porefoam1f/script/machines.txt: -------------------------------------------------------------------------------- 1 | ese-tesla4 max_slots=16 2 | ese-tesla3 max_slots=16 3 | 4 | #ese-tesla3 slots=16 max_slots=16 5 | #ese-tesla4 slots=16 max_slots=16 6 | -------------------------------------------------------------------------------- /thirdparty/foamx3m/doc/Doxygen/OpenFOAMlogo.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ImperialCollegeLondon/poreFoam-singlePhase/HEAD/thirdparty/foamx3m/doc/Doxygen/OpenFOAMlogo.jpg -------------------------------------------------------------------------------- /thirdparty/foamx3m/src/lagrangian/molecularDynamics/molecularMeasurements/Make/files: -------------------------------------------------------------------------------- 1 | distribution/distribution.C 2 | 3 | LIB = $(FOAM_LIBBIN)/libmolecularMeasurements 4 | -------------------------------------------------------------------------------- /thirdparty/foamx3m/src/lagrangian/solidParticle/Make/files: -------------------------------------------------------------------------------- 1 | solidParticle.C 2 | solidParticleIO.C 3 | solidParticleCloud.C 4 | 5 | LIB = $(FOAM_LIBBIN)/libsolidParticle 6 | -------------------------------------------------------------------------------- /thirdparty/foamx3m/wmake/rules/linuxIA64I64/mplibMPICH: -------------------------------------------------------------------------------- 1 | PFLAGS = 2 | PINC = -I$(MPICH_ARCH_PATH)/include 3 | PLIBS = -L$(MPICH_ARCH_PATH)/lib -lmpich -lrt 4 | -------------------------------------------------------------------------------- /thirdparty/foamx3m/wmake/rules/linuxPPC64Gcc/mplibMPICH: -------------------------------------------------------------------------------- 1 | PFLAGS = 2 | PINC = -I$(MPI_ARCH_PATH)/include 3 | PLIBS = -L$(MPI_ARCH_PATH)/lib -lmpich -lrt 4 | -------------------------------------------------------------------------------- /thirdparty/foamx3m/wmake/rules/solarisGcc/mplibMPICH: -------------------------------------------------------------------------------- 1 | PFLAGS = 2 | PINC = -I$(MPI_ARCH_PATH)/include 3 | PLIBS = -L$(MPI_ARCH_PATH)/lib -lmpich -lrt -laio 4 | -------------------------------------------------------------------------------- /thirdparty/foamx3m/wmake/rules/solarisGcc/mplibPVM: -------------------------------------------------------------------------------- 1 | PFLAGS = 2 | PINC = -I$(PVM_ROOT)/include 3 | PLIBS = -L$(PVM_ROOT)/lib/$(PVM_ARCH) -lgpvm3 -lpvm3s 4 | -------------------------------------------------------------------------------- /thirdparty/zlib/win32/VisualC.txt: -------------------------------------------------------------------------------- 1 | 2 | To build zlib using the Microsoft Visual C++ environment, 3 | use the appropriate project from the contrib/vstudio/ directory. 4 | -------------------------------------------------------------------------------- /thirdparty/foamx3m/src/foam/include/addRegionOption.H: -------------------------------------------------------------------------------- 1 | // 2 | // addRegionOption.H 3 | // ~~~~~~~~~~~~~~~~~ 4 | 5 | Foam::argList::validOptions.insert("region", "name"); 6 | -------------------------------------------------------------------------------- /thirdparty/foamx3m/src/meshTools/triSurface/Make/options: -------------------------------------------------------------------------------- 1 | EXE_INC = \ 2 | -I$(LIB_SRC)/meshTools/lnInclude \ 3 | -I$(WM_THIRD_PARTY_DIR)/zlib-1.2.3 4 | 5 | LIB_LIBS = 6 | -------------------------------------------------------------------------------- /thirdparty/foamx3m/src/multiSolver/include/endMultiSolver.H: -------------------------------------------------------------------------------- 1 | 2 | } // previous solver domain goes out of scope 3 | multiRun++; 4 | } // end While loop 5 | -------------------------------------------------------------------------------- /thirdparty/foamx3m/src/transportModels/interfaceProperties/Make/options: -------------------------------------------------------------------------------- 1 | EXE_INC = \ 2 | -I$(LIB_SRC)/finiteVolume/lnInclude 3 | 4 | LIB_LIBS = -l:libfiniteVolume.$(SO) 5 | -------------------------------------------------------------------------------- /thirdparty/foamx3m/wmake/rules/General/flex: -------------------------------------------------------------------------------- 1 | .SUFFIXES: .l 2 | 3 | ltoo = flex $$SOURCE ; mv lex.yy.c $*.C ; $(CC) $(c++FLAGS) -c $*.C -o $@ 4 | 5 | .l.dep: 6 | $(MAKE_DEP) 7 | -------------------------------------------------------------------------------- /thirdparty/foamx3m/wmake/rules/linux64Gcc/c++Opt: -------------------------------------------------------------------------------- 1 | c++DBUG = 2 | c++OPT = -O3 3 | #c++OPT = -march=native -O3 4 | # -ftree-vectorize -ftree-vectorizer-verbose=3 5 | -------------------------------------------------------------------------------- /thirdparty/foamx3m/wmake/rules/linuxGcc/mplibOPENMPI: -------------------------------------------------------------------------------- 1 | PFLAGS = -DOMPI_SKIP_MPICXX 2 | PINC = -I$(MPI_ARCH_PATH)/include 3 | PLIBS = -L$(MPI_ARCH_PATH)/lib -lmpi 4 | -------------------------------------------------------------------------------- /thirdparty/foamx3m/wmake/rules/mingwGcc/c++Opt: -------------------------------------------------------------------------------- 1 | c++DBUG = 2 | c++OPT = -O3 3 | #c++OPT = -march=nocona -O3 4 | # -ftree-vectorize -ftree-vectorizer-verbose=3 5 | -------------------------------------------------------------------------------- /thirdparty/foamx3m/wmake/rules/mingwGcc/mplibOPENMPI: -------------------------------------------------------------------------------- 1 | PFLAGS = -DOMPI_SKIP_MPICXX 2 | PINC = -I$(OPENMPI_DIR)/include 3 | PLIBS = -L$(OPENMPI_DIR)/lib -lmpi 4 | -------------------------------------------------------------------------------- /thirdparty/foamx3m/doc/Doxygen/OpenSourceToolbox.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ImperialCollegeLondon/poreFoam-singlePhase/HEAD/thirdparty/foamx3m/doc/Doxygen/OpenSourceToolbox.jpg -------------------------------------------------------------------------------- /thirdparty/foamx3m/doc/Doxygen/OpenSourceToolkit.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ImperialCollegeLondon/poreFoam-singlePhase/HEAD/thirdparty/foamx3m/doc/Doxygen/OpenSourceToolkit.jpg -------------------------------------------------------------------------------- /thirdparty/foamx3m/src/transportModels/viscoelastic/Make/options: -------------------------------------------------------------------------------- 1 | EXE_INC = \ 2 | -I$(LIB_SRC)/finiteVolume/lnInclude 3 | 4 | LIB_LIBS = \ 5 | -l:libfiniteVolume.$(SO) 6 | -------------------------------------------------------------------------------- /thirdparty/foamx3m/wmake/rules/General/mplibSGIMPI: -------------------------------------------------------------------------------- 1 | PFLAGS = -DSGIMPI -DMPI_NO_CPPBIND 2 | PINC = -I$(MPI_ARCH_PATH)/include 3 | PLIBS = -L$(MPI_ARCH_PATH)/lib -lmpi 4 | -------------------------------------------------------------------------------- /thirdparty/foamx3m/wmake/rules/SunOS64Gcc/mplibOPENMPI: -------------------------------------------------------------------------------- 1 | PFLAGS = -DOMPI_SKIP_MPICXX 2 | PINC = -I$(MPI_ARCH_PATH)/include 3 | PLIBS = -L$(MPI_ARCH_PATH)/lib -lmpi 4 | -------------------------------------------------------------------------------- /thirdparty/foamx3m/wmake/rules/darwinIntel64Gcc/c++Opt: -------------------------------------------------------------------------------- 1 | c++DBUG = 2 | c++OPT = -O3 3 | #c++OPT = -march=nocona -O3 4 | # -ftree-vectorize -ftree-vectorizer-verbose=3 5 | -------------------------------------------------------------------------------- /thirdparty/foamx3m/wmake/rules/linux64Gcc/mplibHPMPI: -------------------------------------------------------------------------------- 1 | PFLAGS = 2 | PINC = -I$(MPI_ARCH_PATH)/include -D_MPICC_H 3 | PLIBS = -L$(MPI_ARCH_PATH)/lib/linux_amd64 -lmpi 4 | -------------------------------------------------------------------------------- /thirdparty/foamx3m/wmake/rules/linux64Gcc/mplibINTELMPI: -------------------------------------------------------------------------------- 1 | PFLAGS = -DMPICH_SKIP_MPICXX 2 | PINC = -I$(MPI_ARCH_PATH)/include 3 | PLIBS = -L$(MPI_ARCH_PATH)/lib -lmpi 4 | -------------------------------------------------------------------------------- /thirdparty/foamx3m/wmake/rules/linux64Gcc/mplibOPENMPI: -------------------------------------------------------------------------------- 1 | PFLAGS = -DOMPI_SKIP_MPICXX 2 | PINC = -I$(MPI_ARCH_PATH)/include 3 | PLIBS = -L$(MPI_ARCH_PATH)/lib -lmpi 4 | -------------------------------------------------------------------------------- /thirdparty/foamx3m/wmake/rules/linux64Icc/mplibHPMPI: -------------------------------------------------------------------------------- 1 | PFLAGS = 2 | PINC = -I$(MPI_ARCH_PATH)/include -D_MPICC_H 3 | PLIBS = -L$(MPI_ARCH_PATH)/lib/linux_amd64 -lmpi 4 | -------------------------------------------------------------------------------- /thirdparty/foamx3m/wmake/rules/linux64Icc/mplibINTELMPI: -------------------------------------------------------------------------------- 1 | PFLAGS = -DMPICH_SKIP_MPICXX 2 | PINC = -I$(MPI_ARCH_PATH)/include 3 | PLIBS = -L$(MPI_ARCH_PATH)/lib -lmpi 4 | -------------------------------------------------------------------------------- /thirdparty/foamx3m/wmake/rules/linux64Icc/mplibMPICH: -------------------------------------------------------------------------------- 1 | PFLAGS = -DMPICH_SKIP_MPICXX 2 | PINC = -I$(MPI_ARCH_PATH)/include 3 | PLIBS = -L$(MPI_ARCH_PATH)/lib -lmpich 4 | -------------------------------------------------------------------------------- /thirdparty/foamx3m/wmake/rules/linux64Icc/mplibOPENMPI: -------------------------------------------------------------------------------- 1 | PFLAGS = -DOMPI_SKIP_MPICXX 2 | PINC = -I$(MPI_ARCH_PATH)/include 3 | PLIBS = -L$(MPI_ARCH_PATH)/lib -lmpi 4 | -------------------------------------------------------------------------------- /thirdparty/foamx3m/wmake/rules/linuxGcc/mplibHPMPI: -------------------------------------------------------------------------------- 1 | PFLAGS = 2 | PINC = -I$(MPI_ARCH_PATH)/include -D_MPICC_H 3 | PLIBS = -L$(MPI_ARCH_PATH)/lib/linux_ia32 -lmpi 4 | -------------------------------------------------------------------------------- /thirdparty/foamx3m/wmake/rules/linuxGcc45/mplibHPMPI: -------------------------------------------------------------------------------- 1 | PFLAGS = 2 | PINC = -I$(MPI_ARCH_PATH)/include -D_MPICC_H 3 | PLIBS = -L$(MPI_ARCH_PATH)/lib/linux_ia32 -lmpi 4 | -------------------------------------------------------------------------------- /thirdparty/foamx3m/wmake/rules/linuxGcc45/mplibOPENMPI: -------------------------------------------------------------------------------- 1 | PFLAGS = -DOMPI_SKIP_MPICXX 2 | PINC = -I$(MPI_ARCH_PATH)/include 3 | PLIBS = -L$(MPI_ARCH_PATH)/lib -lmpi 4 | -------------------------------------------------------------------------------- /thirdparty/foamx3m/wmake/rules/linuxGcc46/mplibHPMPI: -------------------------------------------------------------------------------- 1 | PFLAGS = 2 | PINC = -I$(MPI_ARCH_PATH)/include -D_MPICC_H 3 | PLIBS = -L$(MPI_ARCH_PATH)/lib/linux_ia32 -lmpi 4 | -------------------------------------------------------------------------------- /thirdparty/foamx3m/wmake/rules/linuxGcc46/mplibOPENMPI: -------------------------------------------------------------------------------- 1 | PFLAGS = -DOMPI_SKIP_MPICXX 2 | PINC = -I$(MPI_ARCH_PATH)/include 3 | PLIBS = -L$(MPI_ARCH_PATH)/lib -lmpi 4 | -------------------------------------------------------------------------------- /thirdparty/foamx3m/wmake/rules/linuxIA64Gcc/mplibHPMPI: -------------------------------------------------------------------------------- 1 | PFLAGS = 2 | PINC = -I$(MPI_ARCH_PATH)/include -D_MPICC_H 3 | PLIBS = -L$(MPI_ARCH_PATH)/lib/linux_ia64 -lmpi 4 | -------------------------------------------------------------------------------- /thirdparty/foamx3m/wmake/rules/linuxIA64Icc/mplibHPMPI: -------------------------------------------------------------------------------- 1 | PFLAGS = 2 | PINC = -I$(MPI_ARCH_PATH)/include -D_MPICC_H 3 | PLIBS = -L$(MPI_ARCH_PATH)/lib/linux_ia64 -lmpi 4 | -------------------------------------------------------------------------------- /thirdparty/foamx3m/wmake/rules/linuxIA64Icc/mplibOPENMPI: -------------------------------------------------------------------------------- 1 | PFLAGS = -DOMPI_SKIP_MPICXX 2 | PINC = -I$(MPI_ARCH_PATH)/include 3 | PLIBS = -L$(MPI_ARCH_PATH)/lib -lmpi 4 | -------------------------------------------------------------------------------- /thirdparty/foamx3m/wmake/rules/linuxIcc/mplibHPMPI: -------------------------------------------------------------------------------- 1 | PFLAGS = 2 | PINC = -I$(MPI_ARCH_PATH)/include -D_MPICC_H 3 | PLIBS = -L$(MPI_ARCH_PATH)/lib/linux_ia32 -lmpi 4 | -------------------------------------------------------------------------------- /thirdparty/foamx3m/wmake/rules/linuxPPC64Gcc/mplibOPENMPI: -------------------------------------------------------------------------------- 1 | PFLAGS = -DOMPI_SKIP_MPICXX 2 | PINC = -I$(MPI_ARCH_PATH)/include 3 | PLIBS = -L$(MPI_ARCH_PATH)/lib -lmpi 4 | -------------------------------------------------------------------------------- /thirdparty/foamx3m/wmake/rules/mingwGcc/mplibHPMPI: -------------------------------------------------------------------------------- 1 | PFLAGS = 2 | PINC = -I$(MPI_ARCH_PATH)/include -D_MPICC_H 3 | PLIBS = -L$(MPI_ARCH_PATH)/lib/linux_amd64 -lmpi 4 | -------------------------------------------------------------------------------- /thirdparty/libtiff/autogen.sh: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | set -x 3 | libtoolize --force --copy 4 | aclocal -I ./m4 5 | autoheader 6 | automake --foreign --add-missing --copy 7 | autoconf 8 | 9 | -------------------------------------------------------------------------------- /thirdparty/foamx3m/wmake/rules/General/flex++.test: -------------------------------------------------------------------------------- 1 | .SUFFIXES: .L 2 | 3 | Ltoo = flex++ $$SOURCE ; mv lex.yy.cc $*.C ; $(CC) $(c++FLAGS) -c $*.C -o $@ 4 | 5 | .L.dep: 6 | $(MAKE_DEP) 7 | -------------------------------------------------------------------------------- /thirdparty/foamx3m/wmake/rules/General/moc: -------------------------------------------------------------------------------- 1 | .SUFFIXES: .qt 2 | 3 | qttoo = $(QTDIR)/bin/moc -f $$SOURCE -o $*.C ; $(CC) $(c++FLAGS) -c $*.C -o $@ 4 | 5 | .qt.dep: 6 | $(MAKE_DEP) 7 | -------------------------------------------------------------------------------- /thirdparty/foamx3m/wmake/rules/darwinIntel64Clang/mplibOPENMPI: -------------------------------------------------------------------------------- 1 | PFLAGS = -DOMPI_SKIP_MPICXX 2 | PINC = -I$(MPI_ARCH_PATH)/include 3 | PLIBS = -L$(MPI_ARCH_PATH)/lib -lmpi 4 | -------------------------------------------------------------------------------- /thirdparty/foamx3m/wmake/rules/darwinIntel64Dragonegg/c++Opt: -------------------------------------------------------------------------------- 1 | c++DBUG = 2 | c++OPT = -O3 3 | #c++OPT = -march=nocona -O3 4 | # -ftree-vectorize -ftree-vectorizer-verbose=3 5 | -------------------------------------------------------------------------------- /thirdparty/foamx3m/wmake/rules/darwinIntel64Gcc/mplibOPENMPI: -------------------------------------------------------------------------------- 1 | PFLAGS = -DOMPI_SKIP_MPICXX 2 | PINC = -I$(MPI_ARCH_PATH)/include 3 | PLIBS = -L$(MPI_ARCH_PATH)/lib -lmpi 4 | -------------------------------------------------------------------------------- /thirdparty/foamx3m/wmake/rules/linux64Gcc/mplibMPICH-GM: -------------------------------------------------------------------------------- 1 | PFLAGS = 2 | PINC = -I$(MPI_ARCH_PATH)/include 3 | PLIBS = -L$(MPI_ARCH_PATH)/lib -lmpich -L$(GM_LIB_PATH) -lgm 4 | -------------------------------------------------------------------------------- /thirdparty/foamx3m/wmake/rules/linuxGcc/mplibMPICH: -------------------------------------------------------------------------------- 1 | PFLAGS = -DMPICH_SKIP_MPICXX 2 | PINC = -I$(MPI_ARCH_PATH)/include 3 | PLIBS = -L$(MPI_ARCH_PATH)/lib -lmpich -lrt 4 | -------------------------------------------------------------------------------- /thirdparty/foamx3m/wmake/rules/linuxGcc/mplibMPICH-GM: -------------------------------------------------------------------------------- 1 | PFLAGS = 2 | PINC = -I$(MPI_ARCH_PATH)/include 3 | PLIBS = -L$(MPI_ARCH_PATH)/lib -lmpich -L$(GM_LIB_PATH) -lgm 4 | -------------------------------------------------------------------------------- /thirdparty/foamx3m/wmake/rules/linuxGcc45/mplibMPICH: -------------------------------------------------------------------------------- 1 | PFLAGS = -DMPICH_SKIP_MPICXX 2 | PINC = -I$(MPI_ARCH_PATH)/include 3 | PLIBS = -L$(MPI_ARCH_PATH)/lib -lmpich -lrt 4 | -------------------------------------------------------------------------------- /thirdparty/foamx3m/wmake/rules/linuxGcc45/mplibMPICH-GM: -------------------------------------------------------------------------------- 1 | PFLAGS = 2 | PINC = -I$(MPI_ARCH_PATH)/include 3 | PLIBS = -L$(MPI_ARCH_PATH)/lib -lmpich -L$(GM_LIB_PATH) -lgm 4 | -------------------------------------------------------------------------------- /thirdparty/foamx3m/wmake/rules/linuxGcc46/mplibMPICH: -------------------------------------------------------------------------------- 1 | PFLAGS = -DMPICH_SKIP_MPICXX 2 | PINC = -I$(MPI_ARCH_PATH)/include 3 | PLIBS = -L$(MPI_ARCH_PATH)/lib -lmpich -lrt 4 | -------------------------------------------------------------------------------- /thirdparty/foamx3m/wmake/rules/linuxGcc46/mplibMPICH-GM: -------------------------------------------------------------------------------- 1 | PFLAGS = 2 | PINC = -I$(MPI_ARCH_PATH)/include 3 | PLIBS = -L$(MPI_ARCH_PATH)/lib -lmpich -L$(GM_LIB_PATH) -lgm 4 | -------------------------------------------------------------------------------- /thirdparty/foamx3m/wmake/rules/linuxIA64Gcc/mplibMPICH: -------------------------------------------------------------------------------- 1 | PFLAGS = -DMPICH_SKIP_MPICXX 2 | PINC = -I$(MPI_ARCH_PATH)/include 3 | PLIBS = -L$(MPI_ARCH_PATH)/lib -lmpich -lrt 4 | -------------------------------------------------------------------------------- /thirdparty/foamx3m/wmake/rules/linuxIA64Icc/mplibINTELMPI: -------------------------------------------------------------------------------- 1 | PFLAGS = -DMPICH_SKIP_MPICXX 2 | PINC = -I$(MPI_ARCH_PATH)/include64 3 | PLIBS = -L$(MPI_ARCH_PATH)/lib64 -lmpi 4 | -------------------------------------------------------------------------------- /thirdparty/foamx3m/wmake/rules/linuxIA64Icc/mplibMPICH: -------------------------------------------------------------------------------- 1 | PFLAGS = -DMPICH_SKIP_MPICXX 2 | PINC = -I$(MPI_ARCH_PATH)/include 3 | PLIBS = -L$(MPI_ARCH_PATH)/lib -lmpich -lrt 4 | -------------------------------------------------------------------------------- /thirdparty/foamx3m/wmake/rules/linuxPPC64Gcc/mplibHPMPI: -------------------------------------------------------------------------------- 1 | PFLAGS = 2 | PINC = -I$(MPI_ARCH_PATH)/include -D_MPICC_H 3 | PLIBS = -L$(MPI_ARCH_PATH)/lib/linux_amd64 -lmpi 4 | -------------------------------------------------------------------------------- /thirdparty/foamx3m/wmake/rules/mingwGcc/mplibMPICH-GM: -------------------------------------------------------------------------------- 1 | PFLAGS = 2 | PINC = -I$(MPI_ARCH_PATH)/include 3 | PLIBS = -L$(MPI_ARCH_PATH)/lib -lmpich -L$(GM_LIB_PATH) -lgm 4 | -------------------------------------------------------------------------------- /thirdparty/foamx3m/applications/utilities/mesh/manipulation/checkMesh/Make/options: -------------------------------------------------------------------------------- 1 | EXE_INC = \ 2 | -I$(LIB_SRC)/meshTools/lnInclude 3 | 4 | EXE_LIBS = \ 5 | -l:libmeshTools.$(SO) 6 | -------------------------------------------------------------------------------- /thirdparty/foamx3m/src/decompositionMethods/scotchDecomp/Make/files: -------------------------------------------------------------------------------- 1 | scotchDecomp/scotchDecomp.C 2 | engineScotchDecomp/engineScotchDecomp.C 3 | 4 | LIB = $(FOAM_LIBBIN)/libscotchDecomp 5 | -------------------------------------------------------------------------------- /thirdparty/foamx3m/wmake/rules/darwinIntel64Clang/c++Debug: -------------------------------------------------------------------------------- 1 | # c++DBUG = -ggdb2 -DFULLDEBUG 2 | c++DBUG = -g -DFULLDEBUG 3 | # c++OPT = -O0 -fdefault-inline 4 | c++OPT = -O0 5 | -------------------------------------------------------------------------------- /thirdparty/foamx3m/wmake/rules/darwinIntel64Dragonegg/mplibOPENMPI: -------------------------------------------------------------------------------- 1 | PFLAGS = -DOMPI_SKIP_MPICXX 2 | PINC = -I$(MPI_ARCH_PATH)/include 3 | PLIBS = -L$(MPI_ARCH_PATH)/lib -lmpi 4 | -------------------------------------------------------------------------------- /thirdparty/foamx3m/wmake/rules/linuxPPC64Gcc/mplibMPICH-GM: -------------------------------------------------------------------------------- 1 | PFLAGS = 2 | PINC = -I$(MPI_ARCH_PATH)/include 3 | PLIBS = -L$(MPI_ARCH_PATH)/lib -lmpich -L$(GM_LIB_PATH) -lgm 4 | -------------------------------------------------------------------------------- /thirdparty/foamx3m/applications/utilities/mesh/manipulation/checkMesh/Make/files: -------------------------------------------------------------------------------- 1 | printMeshStats.C 2 | checkTopology.C 3 | checkGeometry.C 4 | checkMesh.C 5 | 6 | EXE = $(FOAM_APPBIN)/checkMesh 7 | -------------------------------------------------------------------------------- /thirdparty/foamx3m/src/lagrangian/molecularDynamics/potential/Make/options: -------------------------------------------------------------------------------- 1 | EXE_INC = \ 2 | -I.. \ 3 | -I$(LIB_SRC)/finiteVolume/lnInclude 4 | 5 | LIB_LIBS = \ 6 | -lfiniteVolume 7 | -------------------------------------------------------------------------------- /thirdparty/foamx3m/src/transportModels/incompressible/Make/options: -------------------------------------------------------------------------------- 1 | EXE_INC = \ 2 | -I.. \ 3 | -I$(LIB_SRC)/finiteVolume/lnInclude 4 | 5 | LIB_LIBS = \ 6 | -l:libfiniteVolume.$(SO) 7 | -------------------------------------------------------------------------------- /thirdparty/foamx3m/wmake/rules/SiCortex64Gcc/flex++: -------------------------------------------------------------------------------- 1 | .SUFFIXES: .L 2 | 3 | Ltoo = flex --c++ -f $$SOURCE ; mv lex.yy.cc $*.C ; $(CC) $(c++FLAGS) -c $*.C -o $@ 4 | 5 | .L.dep: 6 | $(MAKE_DEP) 7 | -------------------------------------------------------------------------------- /thirdparty/foamx3m/wmake/rules/darwinIntel64Clang/c++Opt: -------------------------------------------------------------------------------- 1 | c++DBUG = 2 | # c++OPT = -O4 3 | c++OPT = -O3 4 | #c++OPT = -march=nocona -O3 5 | # -ftree-vectorize -ftree-vectorizer-verbose=3 6 | -------------------------------------------------------------------------------- /thirdparty/foamx3m/wmake/rules/linux64Icc/c++Opt: -------------------------------------------------------------------------------- 1 | c++DBUG = 2 | #c++OPT = -O3 -xP -no-prec-div 3 | c++OPT = -ansi-alias -O3 -fno-alias -fp-model precise -fargument-noalias-global -unroll0 4 | -------------------------------------------------------------------------------- /thirdparty/foamx3m/wmake/rules/darwinIntel64Clang/cDebug: -------------------------------------------------------------------------------- 1 | cDBUG = -g -DFULLDEBUG 2 | cOPT = -O0 3 | # cDBUG = -ggdb -DFULLDEBUG 4 | # cOPT = -O1 -fdefault-inline -finline-functions 5 | -------------------------------------------------------------------------------- /thirdparty/foamx3m/wmake/rules/General/btyacc: -------------------------------------------------------------------------------- 1 | .SUFFIXES: .y 2 | 3 | ytoo = btyacc -v -d $(SKELETON) $$SOURCE ; mv y_tab.c $*.C ; mv y_tab.h $*.H ; $(CC) $(c++FLAGS) -c $*.C -o $@ 4 | 5 | .y.dep: 6 | $(MAKE_DEP) 7 | -------------------------------------------------------------------------------- /thirdparty/foamx3m/wmake/rules/General/byacc: -------------------------------------------------------------------------------- 1 | .SUFFIXES: .y 2 | 3 | ytoo = byacc -v $(YYPREFIX) -d $$SOURCE ; mv y.tab.c $*.C ; mv y.tab.h $*.H ; $(CC) $(c++FLAGS) -c $*.C -o $@ 4 | 5 | .y.dep: 6 | $(MAKE_DEP) 7 | -------------------------------------------------------------------------------- /thirdparty/foamx3m/applications/utilities/mesh/manipulation/checkMesh/printMeshStats.H: -------------------------------------------------------------------------------- 1 | namespace Foam 2 | { 3 | class polyMesh; 4 | 5 | void printMeshStats(const polyMesh& mesh, const bool allTopology); 6 | } 7 | -------------------------------------------------------------------------------- /thirdparty/foamx3m/src/lagrangian/coalCombustion/Make/files: -------------------------------------------------------------------------------- 1 | /* Coal parcel and sub-models */ 2 | CoalParcel/defineCoalParcel.C 3 | CoalParcel/makeCoalParcelSubmodels.C 4 | 5 | LIB = $(FOAM_LIBBIN)/libcoalCombustion 6 | -------------------------------------------------------------------------------- /thirdparty/foamx3m/wmake/rules/General/btyacc++: -------------------------------------------------------------------------------- 1 | .SUFFIXES: .Y 2 | 3 | Ytoo = btyacc++ -v -d $(SKELETON) $$SOURCE ; mv y_tab.c $*.C ; mv y_tab.h $*.H ; $(CC) $(c++FLAGS) -c $*.C -o $@ 4 | 5 | .Y.dep: 6 | $(MAKE_DEP) 7 | -------------------------------------------------------------------------------- /thirdparty/foamx3m/wmake/rules/darwinIntel64Clang/mplibMACPORTOPENMPI: -------------------------------------------------------------------------------- 1 | PFLAGS = -DOMPI_SKIP_MPICXX 2 | PINC = $(shell mpicc-openmpi-mp --showme:compile) 3 | PLIBS = $(shell mpicc-openmpi-mp --showme:link) 4 | -------------------------------------------------------------------------------- /thirdparty/foamx3m/src/foam/include/setRootCase.H: -------------------------------------------------------------------------------- 1 | // 2 | // setRootCase.H 3 | // ~~~~~~~~~~~~~ 4 | 5 | Foam::argList args(argc, argv); 6 | if (!args.checkRootCase()) 7 | { 8 | Foam::FatalError.exit(); 9 | } 10 | -------------------------------------------------------------------------------- /thirdparty/foamx3m/src/lagrangian/solidParticle/Make/options: -------------------------------------------------------------------------------- 1 | EXE_INC = \ 2 | -I$(LIB_SRC)/finiteVolume/lnInclude \ 3 | -I$(LIB_SRC)/lagrangian/basic/lnInclude 4 | 5 | LIB_LIBS = \ 6 | -llagrangian \ 7 | -lfiniteVolume 8 | -------------------------------------------------------------------------------- /thirdparty/foamx3m/src/transportModels/viscoelastic/viscoelasticLaws/DCPP/DCPP.H: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ImperialCollegeLondon/poreFoam-singlePhase/HEAD/thirdparty/foamx3m/src/transportModels/viscoelastic/viscoelasticLaws/DCPP/DCPP.H -------------------------------------------------------------------------------- /thirdparty/foamx3m/wmake/rules/General/CGAL: -------------------------------------------------------------------------------- 1 | CGAL_PATH = ${WM_THIRD_PARTY_DIR}/CGAL-${CGAL_VERSION} 2 | 3 | CGAL_INC = \ 4 | -Wno-old-style-cast \ 5 | -I${CGAL_SRC}/include \ 6 | -I${CGAL_PATH} \ 7 | -I${BOOST_SRC} 8 | -------------------------------------------------------------------------------- /thirdparty/foamx3m/wmake/rules/FreeBSD/general: -------------------------------------------------------------------------------- 1 | CPP += -D$(WM_ARCH) 2 | 3 | GLIBS = -lexecinfo 4 | 5 | include $(GENERAL_RULES)/standard 6 | 7 | include $(RULES)/X 8 | include $(RULES)/c 9 | include $(RULES)/c++ 10 | -------------------------------------------------------------------------------- /thirdparty/foamx3m/applications/utilities/mesh/manipulation/checkMesh/checkGeometry.H: -------------------------------------------------------------------------------- 1 | #include "label.H" 2 | 3 | namespace Foam 4 | { 5 | class polyMesh; 6 | 7 | label checkGeometry(const polyMesh& mesh, const bool allGeometry); 8 | } 9 | -------------------------------------------------------------------------------- /thirdparty/foamx3m/src/multiSolver/Make/files: -------------------------------------------------------------------------------- 1 | dummyControlDict/dummyControlDict.C 2 | multiTime/multiTime.C 3 | multiSolver/multiSolver.C 4 | timeCluster/timeCluster.C 5 | timeCluster/timeClusterList.C 6 | 7 | LIB = $(FOAM_LIBBIN)/libmultiSolver 8 | -------------------------------------------------------------------------------- /thirdparty/foamx3m/wmake/rules/darwinIntel64Clang/mplibMACPORTMPICH: -------------------------------------------------------------------------------- 1 | PFLAGS = -DOMPI_SKIP_MPICXX 2 | PINC = -I/opt/local/include/mpich-$(WM_MACPORT_MPI_VERSION) 3 | PLIBS = -L/opt/local/lib/mpich-$(WM_MACPORT_MPI_VERSION) -lmpich -lpmpich 4 | -------------------------------------------------------------------------------- /thirdparty/foamx3m/wmake/rules/darwinIntel64Gcc/mplibMACPORTMPICH: -------------------------------------------------------------------------------- 1 | PFLAGS = -DOMPI_SKIP_MPICXX 2 | PINC = -I/opt/local/include/mpich-$(WM_MACPORT_MPI_VERSION) 3 | PLIBS = -L/opt/local/lib/mpich-$(WM_MACPORT_MPI_VERSION) -lmpich -lpmpich 4 | -------------------------------------------------------------------------------- /thirdparty/foamx3m/wmake/rules/darwinIntel64Dragonegg/mplibMACPORTMPICH: -------------------------------------------------------------------------------- 1 | PFLAGS = -DOMPI_SKIP_MPICXX 2 | PINC = -I/opt/local/include/mpich-$(WM_MACPORT_MPI_VERSION) 3 | PLIBS = -L/opt/local/lib/mpich-$(WM_MACPORT_MPI_VERSION) -lmpich -lpmpich 4 | -------------------------------------------------------------------------------- /src/Makefile: -------------------------------------------------------------------------------- 1 | 2 | msSrc ?= . 3 | 4 | 5 | all: ; $(MAKE) -f ${msSrc}/script/Makefile.in recurseMake USE_msRecurse=1 6 | clean:; $(MAKE) -f ${msSrc}/script/Makefile.in recurseClean USE_msRecurse=1 7 | test:; @echo tests are managed from the top directory 8 | 9 | -------------------------------------------------------------------------------- /thirdparty/foamx3m/src/multiSolver/include/multiSolverVersion.H: -------------------------------------------------------------------------------- 1 | 2 | #ifndef multiSolverVersion_H 3 | # define multiSolverVersion_H 4 | # define multiSolverVersionMajor 0 5 | # define multiSolverVersionMinor 6 6 | # define multiSolverVersionBuild 0 7 | #endif 8 | -------------------------------------------------------------------------------- /thirdparty/foamx3m/applications/utilities/mesh/manipulation/refineMesh/Make/options: -------------------------------------------------------------------------------- 1 | EXE_INC = \ 2 | -I$(LIB_SRC)/dynamicMesh/dynamicMesh/lnInclude \ 3 | -I$(LIB_SRC)/meshTools/lnInclude 4 | 5 | 6 | EXE_LIBS = \ 7 | -l:libdynamicMesh.$(SO) \ 8 | -l:libmeshTools.$(SO) 9 | -------------------------------------------------------------------------------- /thirdparty/foamx3m/wmake/rules/darwinIntel64Gcc/general: -------------------------------------------------------------------------------- 1 | CPP = cpp $(GFLAGS) 2 | LD = ld 3 | 4 | PROJECT_LIBS = -l:lib$(WM_PROJECT).$(SO) 5 | 6 | include $(GENERAL_RULES)/standard 7 | 8 | include $(RULES)/X 9 | include $(RULES)/c 10 | include $(RULES)/c++ 11 | -------------------------------------------------------------------------------- /thirdparty/foamx3m/wmake/rules/linux64Icc/general: -------------------------------------------------------------------------------- 1 | CPP = cpp -P $(GFLAGS) 2 | LD = ld 3 | 4 | PROJECT_LIBS = -l:lib$(WM_PROJECT).$(SO) -ldl 5 | 6 | include $(GENERAL_RULES)/standard 7 | 8 | include $(RULES)/X 9 | include $(RULES)/c 10 | include $(RULES)/c++ 11 | -------------------------------------------------------------------------------- /thirdparty/foamx3m/wmake/rules/linuxIA64Gcc/general: -------------------------------------------------------------------------------- 1 | CPP = cpp $(GFLAGS) 2 | LD = ld 3 | 4 | PROJECT_LIBS = -l:lib$(WM_PROJECT).$(SO) -ldl 5 | 6 | include $(GENERAL_RULES)/standard 7 | 8 | include $(RULES)/X 9 | include $(RULES)/c 10 | include $(RULES)/c++ 11 | -------------------------------------------------------------------------------- /thirdparty/foamx3m/wmake/rules/SiCortex64Gcc/general: -------------------------------------------------------------------------------- 1 | CPP = cpp $(GFLAGS) 2 | LD = ld -A64 3 | 4 | PROJECT_LIBS = -l:lib$(WM_PROJECT).$(SO) -ldl 5 | 6 | include $(GENERAL_RULES)/standard 7 | 8 | include $(RULES)/X 9 | include $(RULES)/c 10 | include $(RULES)/c++ 11 | -------------------------------------------------------------------------------- /thirdparty/foamx3m/wmake/rules/darwinIntel64Dragonegg/general: -------------------------------------------------------------------------------- 1 | CPP = cpp $(GFLAGS) 2 | LD = ld 3 | 4 | PROJECT_LIBS = -l:lib$(WM_PROJECT).$(SO) 5 | 6 | include $(GENERAL_RULES)/standard 7 | 8 | include $(RULES)/X 9 | include $(RULES)/c 10 | include $(RULES)/c++ 11 | -------------------------------------------------------------------------------- /thirdparty/foamx3m/wmake/rules/solarisGcc/general: -------------------------------------------------------------------------------- 1 | CPP = /usr/lib/cpp -undef $(GFLAGS) 2 | 3 | PROJECT_LIBS = -l:lib$(WM_PROJECT).$(SO) -lnsl -lsocket 4 | 5 | include $(GENERAL_RULES)/standard 6 | 7 | include $(RULES)/X 8 | include $(RULES)/c 9 | include $(RULES)/c++ 10 | -------------------------------------------------------------------------------- /thirdparty/foamx3m/wmake/rules/SunOS64Gcc/mplibFJMPI: -------------------------------------------------------------------------------- 1 | PFLAGS = 2 | PINC = -I$(MPI_ARCH_PATH)/include/sparcv9/mpi -DMPIPP_H 3 | PLIBS = -L$(MPI_ARCH_PATH)/lib/sparcv9 -lmpi_f -L/opt/FSUNf90/lib/sparcv9 -lfjgmp64 -L/opt/FJSVpnidt/lib -lfjidt -ljrm -lfj90i -lfj90f -lfj90fmt -lelf 4 | -------------------------------------------------------------------------------- /thirdparty/foamx3m/wmake/rules/linuxGcc/general: -------------------------------------------------------------------------------- 1 | CPP = cpp -traditional-cpp 2 | LD = ld -melf_i386 3 | 4 | PROJECT_LIBS = -l:lib$(WM_PROJECT).$(SO) -ldl 5 | 6 | include $(GENERAL_RULES)/standard 7 | 8 | include $(RULES)/X 9 | include $(RULES)/c 10 | include $(RULES)/c++ 11 | -------------------------------------------------------------------------------- /thirdparty/foamx3m/wmake/rules/linuxGcc45/general: -------------------------------------------------------------------------------- 1 | CPP = cpp -traditional-cpp 2 | LD = ld -melf_i386 3 | 4 | PROJECT_LIBS = -l:lib$(WM_PROJECT).$(SO) -ldl 5 | 6 | include $(GENERAL_RULES)/standard 7 | 8 | include $(RULES)/X 9 | include $(RULES)/c 10 | include $(RULES)/c++ 11 | -------------------------------------------------------------------------------- /thirdparty/foamx3m/wmake/rules/linuxGcc46/general: -------------------------------------------------------------------------------- 1 | CPP = cpp -traditional-cpp 2 | LD = ld -melf_i386 3 | 4 | PROJECT_LIBS = -l:lib$(WM_PROJECT).$(SO) -ldl 5 | 6 | include $(GENERAL_RULES)/standard 7 | 8 | include $(RULES)/X 9 | include $(RULES)/c 10 | include $(RULES)/c++ 11 | -------------------------------------------------------------------------------- /thirdparty/foamx3m/wmake/rules/linuxIcc/general: -------------------------------------------------------------------------------- 1 | CPP = /lib/cpp $(GFLAGS) 2 | LD = ld -melf_i386 3 | 4 | PROJECT_LIBS = -l:lib$(WM_PROJECT).$(SO) -ldl 5 | 6 | include $(GENERAL_RULES)/standard 7 | 8 | include $(RULES)/X 9 | include $(RULES)/c 10 | include $(RULES)/c++ 11 | -------------------------------------------------------------------------------- /thirdparty/foamx3m/src/lagrangian/dsmc/Make/options: -------------------------------------------------------------------------------- 1 | EXE_INC = \ 2 | -I$(LIB_SRC)/finiteVolume/lnInclude \ 3 | -I$(LIB_SRC)/lagrangian/basic/lnInclude \ 4 | -I$(LIB_SRC)/meshTools/lnInclude 5 | 6 | LIB_LIBS = \ 7 | -llagrangian \ 8 | -lfiniteVolume \ 9 | -lmeshTools 10 | -------------------------------------------------------------------------------- /thirdparty/foamx3m/src/lagrangian/molecularDynamics/molecule/mdTools/md.H: -------------------------------------------------------------------------------- 1 | #ifndef md_H 2 | #define md_H 3 | #include "potential.H" 4 | #include "moleculeCloud.H" 5 | #include "correlationFunction.H" 6 | #include "distribution.H" 7 | #include "reducedUnits.H" 8 | #endif 9 | 10 | -------------------------------------------------------------------------------- /thirdparty/foamx3m/doc/testHarness/Allrun: -------------------------------------------------------------------------------- 1 | # Generate the ASCII version of testHarness.org 2 | pandoc testHarness.org -N -s -S -f org -t asciidoc -o testHarness.txt 3 | 4 | # Generate the Mediawiki version of testHarness.org 5 | pandoc testHarness.org -s -S -f org -t mediawiki -o testHarness.mediawiki 6 | 7 | -------------------------------------------------------------------------------- /thirdparty/foamx3m/wmake/rules/mingwGcc/general: -------------------------------------------------------------------------------- 1 | CPP = cpp -traditional-cpp -Dmingw 2 | LD = ld 3 | 4 | PROJECT_LIBS = -l$(WM_PROJECT) 5 | 6 | include $(GENERAL_RULES)/standard 7 | 8 | include $(RULES)/X 9 | include $(RULES)/c 10 | include $(RULES)/c++ 11 | include $(RULES)/nvcc 12 | -------------------------------------------------------------------------------- /src/porefoam1f/script/base/constant/turbulenceProperties: -------------------------------------------------------------------------------- 1 | FoamFile // -*- C++ -*- 2 | { 3 | version 2.0; 4 | format ascii; 5 | class dictionary; 6 | location "constant"; 7 | object turbulenceProperties; 8 | } 9 | 10 | simulationType laminar; 11 | 12 | 13 | 14 | -------------------------------------------------------------------------------- /src/porefoam1f/icoNSFoam/Makefile: -------------------------------------------------------------------------------- 1 | 2 | 3 | all: msApp 4 | 5 | msSrc ?= $(abspath ../..) 6 | 7 | USE_MINIFOAMX3=1 8 | OFCs=$(shell find | grep -F .C | sed s:./::) 9 | OFincs = meshTools finiteVolume 10 | OFlibs = meshTools finiteVolume 11 | 12 | USE_msMAKE=1 13 | include ${msSrc}/script/Makefile.in 14 | -------------------------------------------------------------------------------- /thirdparty/foamx3m/bin/paraFoam.bat: -------------------------------------------------------------------------------- 1 | @echo off 2 | 3 | set CASE_DIR=%cd% 4 | for /d %%d in (%CASE_DIR%) do set CASE_FILE=%%~nxd.foam 5 | 6 | type nul >>%CASE_FILE% 7 | 8 | set PARAVIEW_CMD=paraview --data="%CASE_FILE%" 9 | echo Running %PARAVIEW_CMD% ... 10 | %PARAVIEW_CMD% 11 | 12 | del /f %CASE_FILE% 13 | -------------------------------------------------------------------------------- /thirdparty/foamx3m/src/foam/include/checkTimeOptionsNoConstant.H: -------------------------------------------------------------------------------- 1 | // 2 | // checkTimeOptionsNoConstant.H 3 | // ~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 | 5 | Foam::label startTime = 0; 6 | Foam::label endTime = Times.size(); 7 | 8 | // check -time and -latestTime options 9 | # include "checkTimeOption.H" 10 | -------------------------------------------------------------------------------- /thirdparty/foamx3m/src/lagrangian/basic/Make/files: -------------------------------------------------------------------------------- 1 | Cloud = Cloud 2 | particle = particle 3 | passiveParticle = passiveParticle 4 | indexedParticle = indexedParticle 5 | 6 | $(passiveParticle)/passiveParticleCloud.C 7 | $(indexedParticle)/indexedParticleCloud.C 8 | 9 | LIB = $(FOAM_LIBBIN)/liblagrangian 10 | -------------------------------------------------------------------------------- /thirdparty/foamx3m/wmake/rules/linux64Gcc/general: -------------------------------------------------------------------------------- 1 | CPP = cpp -traditional-cpp 2 | LD = ld 3 | 4 | PROJECT_LIBS = -l:lib$(WM_PROJECT).$(SO) -ldl 5 | 6 | include $(GENERAL_RULES)/standard 7 | 8 | include $(RULES)/X 9 | include $(RULES)/c 10 | include $(RULES)/c++ 11 | include $(RULES)/nvcc 12 | -------------------------------------------------------------------------------- /thirdparty/foamx3m/wmake/rules/linuxPPC64Gcc/general: -------------------------------------------------------------------------------- 1 | CPP = cpp -traditional-cpp $(GFLAGS) 2 | LD = ld -m elf64ppc 3 | 4 | 5 | PROJECT_LIBS = -l:lib$(WM_PROJECT).$(SO) -ldl 6 | 7 | include $(GENERAL_RULES)/standard 8 | 9 | include $(RULES)/X 10 | include $(RULES)/c 11 | include $(RULES)/c++ 12 | -------------------------------------------------------------------------------- /thirdparty/foamx3m/applications/utilities/mesh/manipulation/checkMesh/checkTopology.H: -------------------------------------------------------------------------------- 1 | #include "label.H" 2 | #include "wordList.H" 3 | 4 | namespace Foam 5 | { 6 | class polyMesh; 7 | 8 | bool checkSync(const wordList& names); 9 | 10 | label checkTopology(const polyMesh&, const bool, const bool); 11 | } 12 | -------------------------------------------------------------------------------- /thirdparty/foamx3m/src/dynamicMesh/meshMotion/AllwmakeLnInclude: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | cd ${0%/*} || exit 1 # run from this directory 3 | set -x 4 | 5 | wmakeLnInclude solidBodyMotion 6 | wmakeLnInclude fvMotionSolver 7 | wmakeLnInclude RBFMotionSolver 8 | 9 | echo "decativated: wmakeLnInclude mesquiteMotionSolver" 10 | -------------------------------------------------------------------------------- /thirdparty/foamx3m/src/dynamicMesh/meshMotion/RBFMotionSolver/Make/options: -------------------------------------------------------------------------------- 1 | EXE_INC = \ 2 | -I$(LIB_SRC)/finiteVolume/lnInclude \ 3 | -I$(LIB_SRC)/dynamicMesh/dynamicMesh/lnInclude \ 4 | -I$(LIB_SRC)/meshTools/lnInclude \ 5 | 6 | LIB_LIBS = \ 7 | -l:libfiniteVolume.$(SO) \ 8 | -l:libdynamicMesh.$(SO) 9 | -------------------------------------------------------------------------------- /thirdparty/foamx3m/wmake/rules/General/general: -------------------------------------------------------------------------------- 1 | AR = ar 2 | ARFLAGS = cr 3 | RANLIB = ranlib 4 | LD = ld 5 | 6 | FOAM_DEV_REVISION_NUMBER = $(shell foamVersion -revision) 7 | 8 | GFLAGS = -D$(WM_ARCH) -DWM_$(WM_PRECISION_OPTION) 9 | GINC = 10 | GLIBS = -lm 11 | GLIB_LIBS = 12 | -------------------------------------------------------------------------------- /thirdparty/foamx3m/src/lagrangian/molecularDynamics/Allwmake: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | cd ${0%/*} || exit 1 # run from this directory 3 | set -x 4 | 5 | wmake libso potential 6 | wmake libso molecularMeasurements 7 | wmake libso molecule 8 | 9 | # ----------------------------------------------------------------- end-of-file 10 | -------------------------------------------------------------------------------- /thirdparty/foamx3m/doc/Allwmake: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | cd ${0%/*} || exit 1 # run from this directory 3 | set -x 4 | 5 | chmod a+rX $WM_PROJECT_DIR 6 | chmod a+rX $WM_PROJECT_DIR/doc 7 | chmod -R a+rX Doxygen 8 | 9 | Doxygen/Allwmake 10 | 11 | # ----------------------------------------------------------------- end-of-file 12 | -------------------------------------------------------------------------------- /thirdparty/foamx3m/src/multiSolver/include/createMultiSolver.H: -------------------------------------------------------------------------------- 1 | 2 | word solverDomain; 3 | 4 | multiSolver multiRun 5 | ( 6 | multiSolver::multiControlDictName, 7 | args.rootPath(), 8 | args.caseName() 9 | ); 10 | 11 | while (multiRun.run()) 12 | { // While brace 13 | { // dummy brace 14 | -------------------------------------------------------------------------------- /thirdparty/foamx3m/wmake/rules/SunOS64Gcc/general: -------------------------------------------------------------------------------- 1 | CPP = cpp $(GFLAGS) 2 | LD = ld -64 3 | 4 | PROJECT_LIBS = -l:lib$(WM_PROJECT).$(SO) -liberty -lnsl -lsocket -L$(FOAM_LIBBIN)/dummy -lPstream 5 | 6 | include $(GENERAL_RULES)/standard 7 | 8 | include $(RULES)/X 9 | include $(RULES)/c 10 | include $(RULES)/c++ 11 | -------------------------------------------------------------------------------- /thirdparty/libtiff/libtiff-4.pc.in: -------------------------------------------------------------------------------- 1 | prefix=@prefix@ 2 | exec_prefix=@exec_prefix@ 3 | libdir=@libdir@ 4 | includedir=@includedir@ 5 | 6 | Name: libtiff 7 | Description: Tag Image File Format (TIFF) library. 8 | Version: @VERSION@ 9 | Libs: -L${libdir} -ltiff 10 | Libs.private: @tiff_libs_private@ 11 | Cflags: -I${includedir} 12 | -------------------------------------------------------------------------------- /thirdparty/zlib/.gitignore: -------------------------------------------------------------------------------- 1 | *.diff 2 | *.patch 3 | *.orig 4 | *.rej 5 | 6 | *~ 7 | *.a 8 | *.lo 9 | *.o 10 | *.dylib 11 | 12 | *.gcda 13 | *.gcno 14 | *.gcov 15 | 16 | /example 17 | /example64 18 | /examplesh 19 | /libz.so* 20 | /minigzip 21 | /minigzip64 22 | /minigzipsh 23 | /zlib.pc 24 | /configure.log 25 | 26 | .DS_Store 27 | -------------------------------------------------------------------------------- /thirdparty/foamx3m/wmake/rules/linuxIA64I64/general: -------------------------------------------------------------------------------- 1 | CPP = /lib/cpp $(GFLAGS) -DICC_IA64_PREFETCH 2 | AR = ar 3 | ARFLAGS = cr 4 | RANLIB = ranlib 5 | LD = ld 6 | 7 | GLIBS = 8 | 9 | include $(GENERAL_RULES)/standard 10 | 11 | include $(RULES)/X 12 | include $(RULES)/c 13 | include $(RULES)/c++ 14 | -------------------------------------------------------------------------------- /thirdparty/foamx3m/wmake/rules/linuxIA64Icc/general: -------------------------------------------------------------------------------- 1 | CPP = /lib/cpp $(GFLAGS) -DICC_IA64_PREFETCH 2 | AR = ar 3 | ARFLAGS = cr 4 | RANLIB = ranlib 5 | LD = ld 6 | 7 | GLIBS = 8 | 9 | include $(GENERAL_RULES)/standard 10 | 11 | include $(RULES)/X 12 | include $(RULES)/c 13 | include $(RULES)/c++ 14 | -------------------------------------------------------------------------------- /thirdparty/zlib/zlib.pc.in: -------------------------------------------------------------------------------- 1 | prefix=@prefix@ 2 | exec_prefix=@exec_prefix@ 3 | libdir=@libdir@ 4 | sharedlibdir=@sharedlibdir@ 5 | includedir=@includedir@ 6 | 7 | Name: zlib 8 | Description: zlib compression library 9 | Version: @VERSION@ 10 | 11 | Requires: 12 | Libs: -L${libdir} -L${sharedlibdir} -lz 13 | Cflags: -I${includedir} 14 | -------------------------------------------------------------------------------- /thirdparty/foamx3m/doc/Doxygen/Allwmake: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | cd ${0%/*} || exit 1 # run from this directory 3 | set -x 4 | 5 | umask 22 6 | rm -rf html latex man 7 | doxygen 8 | 9 | # fix permissions (NB: '+X' and not '+x'!) 10 | chmod -R a+rX ./ 11 | 12 | # ----------------------------------------------------------------- end-of-file 13 | -------------------------------------------------------------------------------- /thirdparty/foamx3m/src/dynamicMesh/AllwmakeLnInclude: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | cd ${0%/*} || exit 1 # run from this directory 3 | set -x 4 | 5 | wmakeLnInclude dynamicMesh 6 | wmakeLnInclude dynamicFvMesh 7 | echo "skipping wmakeLnInclude topoChangerFvMesh" 8 | 9 | # Make lnInclude directories for motionSolvers 10 | meshMotion/AllwmakeLnInclude 11 | -------------------------------------------------------------------------------- /thirdparty/foamx3m/src/foam/include/addTimeOptions.H: -------------------------------------------------------------------------------- 1 | // 2 | // addTimeOptions.H 3 | // ~~~~~~~~~~~~~~~~ 4 | 5 | Foam::argList::validOptions.insert("constant", ""); 6 | Foam::argList::validOptions.insert("latestTime", ""); 7 | Foam::argList::validOptions.insert("noZero", ""); 8 | Foam::argList::validOptions.insert("time", "time"); 9 | -------------------------------------------------------------------------------- /thirdparty/foamx3m/src/OSspecific/MSWindows/Make/files: -------------------------------------------------------------------------------- 1 | signals/sigFpe.C 2 | signals/sigSegv.C 3 | signals/sigInt.C 4 | signals/sigQuit.C 5 | regExp.C 6 | timer.C 7 | fileStat.C 8 | MSwindows.C 9 | cpuTime/cpuTime.C 10 | clockTime/clockTime.C 11 | multiThreader/multiThreader.C 12 | printStack.C 13 | 14 | LIB = $(FOAM_LIBBIN)/libOSspecific 15 | -------------------------------------------------------------------------------- /thirdparty/foamx3m/src/transportModels/Allwmake: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | cd ${0%/*} || exit 1 # run from this directory 3 | set -x 4 | 5 | wmake libso incompressible 6 | wmake libso interfaceProperties 7 | wmake libso viscoelastic 8 | # wmake libso compressible 9 | 10 | # ----------------------------------------------------------------- end-of-file 11 | -------------------------------------------------------------------------------- /thirdparty/foamx3m/doc/Doxygen/FoamFooter.html: -------------------------------------------------------------------------------- 1 | Copyright © 1993-2000 Henry Weller and Hrvoje Jasak 2 | Copyright © 2000-2006 Programmers manual for FOAM, a product of Nabla Ltd. 3 | Copyright © 2009-2011 OpenFOAM Extend Project 4 | 5 | 6 | 7 | 8 | -------------------------------------------------------------------------------- /thirdparty/foamx3m/wmake/rules/General/bison: -------------------------------------------------------------------------------- 1 | .SUFFIXES: .y .Y 2 | 3 | ytoo = bison -v -d -y $$SOURCE ; mv y.tab.c $*.c ; mv y.tab.h $*.h ; $(cc) $(cFLAGS) -c $*.c -o $@ 4 | 5 | Ytoo = bison -v -d -y $$SOURCE ; mv y.tab.c $*.C ; mv y.tab.h $*.H ; $(CC) $(c++FLAGS) -c $*.C -o $@ 6 | 7 | .y.dep: 8 | $(MAKE_DEP) 9 | 10 | .Y.dep: 11 | $(MAKE_DEP) 12 | -------------------------------------------------------------------------------- /thirdparty/foamx3m/wmake/rules/General/standard: -------------------------------------------------------------------------------- 1 | include $(GENERAL_RULES)/version 2 | 3 | include $(GENERAL_RULES)/sourceToDep 4 | 5 | include $(GENERAL_RULES)/flex 6 | include $(GENERAL_RULES)/flex++ 7 | ## include $(GENERAL_RULES)/byacc 8 | ## include $(GENERAL_RULES)/btyacc++ 9 | include $(GENERAL_RULES)/bison 10 | include $(GENERAL_RULES)/moc 11 | -------------------------------------------------------------------------------- /thirdparty/foamx3m/wmake/rules/linuxIA64Icc/c++Opt: -------------------------------------------------------------------------------- 1 | c++DBUG = 2 | 3 | c++OPT = \ 4 | -DICC_IA64_PREFETCH \ 5 | -ansi-alias \ 6 | -O3 \ 7 | -fp-speculationsafe \ 8 | -ftz \ 9 | -mP3OPT_ecg_swp_control=0x400000 \ 10 | -fno-alias \ 11 | -mtune=itanium2 \ 12 | -fargument-noalias-global \ 13 | -unroll0 14 | -------------------------------------------------------------------------------- /src/porefoam1f/script/base/constant/g: -------------------------------------------------------------------------------- 1 | FoamFile // -*- C++ -*- 2 | { 3 | version 2.0; 4 | format ascii; 5 | class uniformDimensionedVectorField; 6 | location "constant"; 7 | object g; 8 | } 9 | 10 | 11 | dimensions [0 1 -2 0 0 0 0]; 12 | value ( 0. 0. 0. ); //( 0 -9.81 0 ); 13 | 14 | 15 | 16 | -------------------------------------------------------------------------------- /thirdparty/foamx3m/src/decompositionMethods/AllwmakeLnInclude: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | cd ${0%/*} || exit 1 # run from this directory 3 | set -x 4 | 5 | wmakeLnInclude decompositionMethods 6 | 7 | echo "deactivated: metisDecomp parMetisDecomp scotchDecomp" 8 | #wmakeLnInclude metisDecomp 9 | #wmakeLnInclude parMetisDecomp 10 | #wmakeLnInclude scotchDecomp 11 | -------------------------------------------------------------------------------- /thirdparty/foamx3m/wmake/rules/darwinIntel64Clang/general: -------------------------------------------------------------------------------- 1 | CPP = cpp --traditional-cpp $(GFLAGS) 2 | LD = ld 3 | # LD = /opt/local/libexec/llvm-3.3/bin/ld 4 | 5 | PROJECT_LIBS = -l:lib$(WM_PROJECT).$(SO) -ldl 6 | 7 | include $(GENERAL_RULES)/standard 8 | 9 | include $(RULES)/X 10 | include $(RULES)/c 11 | include $(RULES)/c++ 12 | -------------------------------------------------------------------------------- /src/porefoam1f/calc_perm/Makefile: -------------------------------------------------------------------------------- 1 | 2 | 3 | all: msApp 4 | 5 | msSrc ?= $(abspath ../..) 6 | 7 | USE_MINIFOAMX3=1 8 | OFCs=$(shell find | grep -F .C | sed s:./::) 9 | OFincs = meshTools finiteVolume 10 | OFlibs = meshTools finiteVolume 11 | 12 | USE_ZLIB=1 13 | USE_TIFF=1 14 | USE_VXIMG=1 15 | USE_msMAKE=1 16 | include ${msSrc}/script/Makefile.in 17 | -------------------------------------------------------------------------------- /thirdparty/foamx3m/src/decompositionMethods/decompositionMethods/Make/files: -------------------------------------------------------------------------------- 1 | decompositionMethod/decompositionMethod.C 2 | manualDecomp/manualDecomp.C 3 | geomDecomp/geomDecomp.C 4 | simpleGeomDecomp/simpleGeomDecomp.C 5 | hierarchGeomDecomp/hierarchGeomDecomp.C 6 | patchConstrainedDecomp/patchConstrainedDecomp.C 7 | 8 | LIB = $(FOAM_LIBBIN)/libdecompositionMethods 9 | -------------------------------------------------------------------------------- /thirdparty/foamx3m/src/finiteVolume/cfdTools/general/include/readGravitationalAcceleration.H: -------------------------------------------------------------------------------- 1 | Info << "\nReading g" << endl; 2 | uniformDimensionedVectorField g 3 | ( 4 | IOobject 5 | ( 6 | "g", 7 | runTime.constant(), 8 | mesh, 9 | IOobject::MUST_READ, 10 | IOobject::NO_WRITE 11 | ) 12 | ); 13 | -------------------------------------------------------------------------------- /src/porefoam1f/Makefile: -------------------------------------------------------------------------------- 1 | 2 | msSrc ?= .. 3 | 4 | all: ; $(MAKE) -f ${msSrc}/script/Makefile.in recurseMake USE_msRecurse=1 5 | clean:; $(MAKE) -f ${msSrc}/script/Makefile.in recurseClean USE_msRecurse=1 6 | 7 | testDir = ${msSrc}/../test/Porefoam1f 8 | test: 9 | mkdir -p ${testDir} 10 | $(msSrc)/script/testApp "${testDir}" python3 "${CURDIR}/test.py" 11 | -------------------------------------------------------------------------------- /src/porefoam1f/iPotentialFoam/Makefile: -------------------------------------------------------------------------------- 1 | 2 | 3 | all: msApp 4 | 5 | msSrc ?= $(abspath ../..) 6 | 7 | USE_MINIFOAMX3=1 8 | OFCs=$(shell find | grep -F .C | sed s:./::) 9 | OFincs = meshTools finiteVolume 10 | OFlibs = meshTools finiteVolume 11 | 12 | USE_ZLIB=1 13 | USE_TIFF=1 14 | USE_VXIMG=1 15 | USE_msMAKE=1 16 | include ${msSrc}/script/Makefile.in 17 | -------------------------------------------------------------------------------- /thirdparty/foamx3m/src/foam/include/createTime.H: -------------------------------------------------------------------------------- 1 | // 2 | // createTime.H 3 | // ~~~~~~~~~~~~ 4 | 5 | Foam::Info<< "Create time\n" << Foam::endl; 6 | 7 | Foam::Time runTime 8 | ( 9 | Foam::Time::controlDictName, 10 | args.rootPath(), 11 | args.caseName(), 12 | "system", 13 | "constant", 14 | !args.optionFound("noFunctionObjects") 15 | ); 16 | -------------------------------------------------------------------------------- /thirdparty/foamx3m/wmake/rules/General/yacc: -------------------------------------------------------------------------------- 1 | .SUFFIXES: .y .Y 2 | 3 | ytoo = yacc -v -d $$SOURCE ; mv y.tab.c $*.c ; mv y.tab.h $(@D)/parser.h ; $(CC) $(c++FLAGS) -c $*.c -o $@ 4 | 5 | Ytoo = yacc -v -d $$SOURCE ; mv y.tab.c $*.C ; mv y.tab.h $(@D)/parser.H ; $(CC) $(c++FLAGS) -c $*.C -o $@ 6 | 7 | .y.dep: 8 | $(MAKE_DEP) 9 | 10 | .Y.dep: 11 | $(MAKE_DEP) 12 | -------------------------------------------------------------------------------- /src/libvoxel/Makefile: -------------------------------------------------------------------------------- 1 | 2 | srcs := voxelImageProcess.cpp Ufraw2Uc.cpp voxelToFoamPar.cpp voxelToFoam.cpp 3 | tsts := test.py 4 | all: $(srcs) 5 | $(info srcs: $(srcs), tsts: $(tsts) ) 6 | 7 | 8 | msSrc ?= $(abspath ..) 9 | USE_ZLIB=1 10 | USE_TIFF=1 11 | USE_OMP=1 12 | USE_CPP17=1 13 | USE_SINGLECPP=1 14 | USE_msTEST=1 15 | include ${msSrc}/script/Makefile.in 16 | 17 | -------------------------------------------------------------------------------- /src/script/Makefile.foam: -------------------------------------------------------------------------------- 1 | 2 | 3 | all: msApp 4 | 5 | msSrc ?= $(abspath ../..) 6 | 7 | include ${CURDIR}/Make/options 8 | 9 | USE_MINIFOAMX3=1 10 | OFCs=$(shell find | grep -F .C | sed s:./::) 11 | OFincs = meshTools finiteVolume 12 | OFlibs = meshTools finiteVolume interFacePropsBCs 13 | 14 | 15 | USE_OMP=1 16 | USE_msMAKE=1 17 | include ${msSrc}/script/Makefile.in 18 | -------------------------------------------------------------------------------- /thirdparty/foamx3m/src/decompositionMethods/metisDecomp/Make/options: -------------------------------------------------------------------------------- 1 | METIS_INCLUDE_DIR=/usr/include/metis 2 | 3 | EXE_INC = \ 4 | -I$(METIS_INCLUDE_DIR)/ \ 5 | -I../decompositionMethods/lnInclude \ 6 | -I../scotchDecomp/lnInclude 7 | 8 | LIB_LIBS = \ 9 | -l:libdecompositionMethods.$(SO) \ 10 | -L$(FOAM_LIBBIN)/dummy \ 11 | -L$(METIS_LIB_DIR) -lmetis 12 | -------------------------------------------------------------------------------- /thirdparty/zlib/zlib.pc.cmakein: -------------------------------------------------------------------------------- 1 | prefix=@CMAKE_INSTALL_PREFIX@ 2 | exec_prefix=@CMAKE_INSTALL_PREFIX@ 3 | libdir=@INSTALL_LIB_DIR@ 4 | sharedlibdir=@INSTALL_LIB_DIR@ 5 | includedir=@INSTALL_INC_DIR@ 6 | 7 | Name: zlib 8 | Description: zlib compression library 9 | Version: @VERSION@ 10 | 11 | Requires: 12 | Libs: -L${libdir} -L${sharedlibdir} -lz 13 | Cflags: -I${includedir} 14 | -------------------------------------------------------------------------------- /thirdparty/foamx3m/src/foam/include/checkConstantOption.H: -------------------------------------------------------------------------------- 1 | // 2 | // checkConstantOption.H 3 | // ~~~~~~~~~~~~~~~~~~~~~ 4 | // unless -constant is present, skip startTime if it is "constant" 5 | 6 | if 7 | ( 8 | !args.optionFound("constant") 9 | && (startTime < Times.size()-1) 10 | && (Times[startTime].name() == "constant") 11 | ) 12 | { 13 | startTime++; 14 | } 15 | -------------------------------------------------------------------------------- /thirdparty/foamx3m/wmake/rules/General/flex++: -------------------------------------------------------------------------------- 1 | .SUFFIXES: .L 2 | 3 | # For older versions of flex, the option --c++ is not avaliable 4 | # Switching to flex++ is an alternative 5 | #Ltoo = flex++ -f $$SOURCE ; mv lex.yy.cc $*.C ; $(CC) $(c++FLAGS) -c $*.C -o $@ 6 | Ltoo = flex -+ -f $$SOURCE ; mv lex.yy.cc $*.C ; $(CC) $(c++FLAGS) -c $*.C -o $@ 7 | 8 | .L.dep: 9 | $(MAKE_DEP) 10 | -------------------------------------------------------------------------------- /thirdparty/foamx3m/applications/utilities/parallelProcessing/decomposePar/Make/files: -------------------------------------------------------------------------------- 1 | decomposeMesh.C 2 | decomposePar.C 3 | domainDecomposition.C 4 | distributeCells.C 5 | /*faMeshDecomposition.C*/ 6 | fvFieldDecomposer.C 7 | /*faFieldDecomposer.C*/ 8 | pointFieldDecomposer.C 9 | /*tetPointFieldDecomposer.C*/ 10 | lagrangianFieldDecomposer.C 11 | 12 | EXE = $(FOAM_APPBIN)/decomposePar 13 | -------------------------------------------------------------------------------- /thirdparty/foamx3m/src/decompositionMethods/scotchDecomp/Make/options: -------------------------------------------------------------------------------- 1 | 2 | SCOTCH_INCLUDE_DIR = /usr/include/scotch 3 | 4 | EXE_INC = \ 5 | -I$(SCOTCH_INCLUDE_DIR)/ \ 6 | -I../decompositionMethods/lnInclude \ 7 | -I../../decompositionMethods/lnInclude 8 | 9 | LIB_LIBS = \ 10 | -L$(SCOTCH_LIB_DIR) -lscotch \ 11 | -L$(SCOTCH_LIB_DIR) -lscotcherrexit \ 12 | -lrt 13 | 14 | -------------------------------------------------------------------------------- /thirdparty/foamx3m/src/foam/include/checkTimeOptions.H: -------------------------------------------------------------------------------- 1 | // 2 | // checkTimeOptions.H 3 | // ~~~~~~~~~~~~~~~~~~ 4 | 5 | Foam::label startTime = 0; 6 | Foam::label endTime = Times.size(); 7 | 8 | // unless -constant is present, skip startTime if it is "constant" 9 | # include "checkConstantOption.H" 10 | 11 | // check -time and -latestTime options 12 | # include "checkTimeOption.H" 13 | -------------------------------------------------------------------------------- /src/porefoam1f/FOAM2Voxel/Makefile: -------------------------------------------------------------------------------- 1 | 2 | 3 | all: msApp 4 | 5 | msSrc ?= $(abspath ../..) 6 | 7 | USE_MINIFOAMX3=1 8 | OFCs=$(shell find | grep -F .C | sed s:./::) 9 | srcs=${msSrc}/libvoxel/voxelImage.cpp 10 | OFincs = meshTools finiteVolume 11 | OFlibs = meshTools finiteVolume 12 | 13 | USE_ZLIB=1 14 | USE_TIFF=1 15 | USE_VXIMG=1 16 | USE_msMAKE=1 17 | include ${msSrc}/script/Makefile.in 18 | -------------------------------------------------------------------------------- /thirdparty/foamx3m/src/OSspecific/POSIX/Make/files: -------------------------------------------------------------------------------- 1 | signals/sigFpe.C 2 | signals/sigSegv.C 3 | signals/sigInt.C 4 | signals/sigQuit.C 5 | regExp.C 6 | timer.C 7 | fileStat.C 8 | POSIX.C 9 | cpuTime/cpuTime.C 10 | clockTime/clockTime.C 11 | multiThreader/multiThreader.C 12 | 13 | #ifdef SunOS64 14 | dummyPrintStack.C 15 | #else 16 | printStack.C 17 | #endif 18 | 19 | LIB = $(FOAM_LIBBIN)/libOSspecific 20 | -------------------------------------------------------------------------------- /thirdparty/foamx3m/src/multiSolver/include/setSolverDomain.H: -------------------------------------------------------------------------------- 1 | 2 | } // previous solver domain goes out of scope 3 | multiRun.setSolverDomain(solverDomain); 4 | 5 | // Clear defines that may interfere with other solver domains 6 | #undef createPhi_H 7 | #undef createPhiV_H 8 | #undef initContinuityErrs_H 9 | 10 | if (multiRun.run()) 11 | { // next solver domain comes into scope 12 | -------------------------------------------------------------------------------- /src/porefoam1f/calc_distributions/Makefile: -------------------------------------------------------------------------------- 1 | 2 | 3 | all: msApp 4 | 5 | msSrc ?= $(abspath ../..) 6 | 7 | USE_MINIFOAMX3=1 8 | OFCs=$(shell find | grep -F .C | sed s:./::) 9 | srcs=${msSrc}/libvoxel/voxelImage.cpp 10 | OFincs = meshTools finiteVolume 11 | OFlibs = meshTools finiteVolume 12 | 13 | USE_ZLIB=1 14 | USE_TIFF=1 15 | USE_VXIMG=1 16 | USE_msMAKE=1 17 | include ${msSrc}/script/Makefile.in 18 | -------------------------------------------------------------------------------- /thirdparty/foamx3m/src/foam/include/checkTotalVolume.H: -------------------------------------------------------------------------------- 1 | scalar newTotalVolume = gSum(mesh.cellVolumes()); 2 | scalar totalVolRatio = newTotalVolume/totalVolume; 3 | 4 | Info<< "Volume: new = " << newTotalVolume << " old = " << totalVolume 5 | << " change = " << Foam::mag(newTotalVolume - totalVolume) 6 | << " ratio = " << totalVolRatio - 1 << endl; 7 | 8 | totalVolume = newTotalVolume; 9 | -------------------------------------------------------------------------------- /thirdparty/foamx3m/wmake/rules/darwinIntel64Gcc/mplibMACPORTOPENMPI: -------------------------------------------------------------------------------- 1 | PFLAGS = -DOMPI_SKIP_MPICXX 2 | # PINC = $(shell mpicc-openmpi-$(WM_MACPORT_MPI_VERSION) --showme:compile) 3 | # PLIBS = $(shell mpicc-openmpi-$(WM_MACPORT_MPI_VERSION) --showme:link) 4 | PINC = -I/opt/local/include/openmpi-$(WM_MACPORT_MPI_VERSION) 5 | PLIBS = -L/opt/local/lib/openmpi-$(WM_MACPORT_MPI_VERSION) -lmpi 6 | -------------------------------------------------------------------------------- /thirdparty/libtiff/TODO: -------------------------------------------------------------------------------- 1 | o gif2tiff segaulting on selected images 2 | o tiffcmp read data by strip/tile instead of scanline 3 | o YCbCr sampling support 4 | o extracate colorspace conversion support 5 | o look at isolating all codecs from TIFF library 6 | o JPEG colormode order dependency problem 7 | o Write documentation on how do extend tags, and how the custom field 8 | stuff all works. 9 | 10 | 11 | -------------------------------------------------------------------------------- /thirdparty/foamx3m/src/lagrangian/Allwmake: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | cd ${0%/*} || exit 1 # run from this directory 3 | set -x 4 | 5 | wmake libso basic 6 | wmake libso solidParticle 7 | wmake libso intermediate 8 | wmake libso dieselSpray 9 | wmake libso dsmc 10 | wmake libso coalCombustion 11 | 12 | molecularDynamics/Allwmake 13 | 14 | # ----------------------------------------------------------------- end-of-file 15 | -------------------------------------------------------------------------------- /thirdparty/foamx3m/wmake/rules/General/sourceToDep: -------------------------------------------------------------------------------- 1 | .SUFFIXES: .c .cc .cxx .cpp .C .F .f .dep 2 | 3 | MKDEP = $(BIN)/wmkdep -I$(*D) $(LIB_HEADER_DIRS) 4 | 5 | .c.dep: 6 | $(MAKE_DEP) 7 | 8 | .cc.dep: 9 | $(MAKE_DEP) 10 | 11 | .cxx.dep: 12 | $(MAKE_DEP) 13 | 14 | .cpp.dep: 15 | $(MAKE_DEP) 16 | 17 | .C.dep: 18 | $(MAKE_DEP) 19 | 20 | .F.dep: 21 | $(MAKE_DEP) 22 | 23 | .f.dep: 24 | $(MAKE_DEP) 25 | -------------------------------------------------------------------------------- /thirdparty/foamx3m/wmake/rules/darwinIntel64Dragonegg/mplibMACPORTOPENMPI: -------------------------------------------------------------------------------- 1 | PFLAGS = -DOMPI_SKIP_MPICXX 2 | # PINC = $(shell mpicc-openmpi-$(WM_MACPORT_MPI_VERSION) --showme:compile) 3 | # PLIBS = $(shell mpicc-openmpi-$(WM_MACPORT_MPI_VERSION) --showme:link) 4 | PINC = -I/opt/local/include/openmpi-$(WM_MACPORT_MPI_VERSION) 5 | PLIBS = -L/opt/local/lib/openmpi-$(WM_MACPORT_MPI_VERSION) -lmpi 6 | -------------------------------------------------------------------------------- /thirdparty/foamx3m/doc/Doxygen/tools/README: -------------------------------------------------------------------------------- 1 | Misc. tools for finding and/or repairing common documentation problems 2 | See the comments in the scripts. 3 | 4 | 1. find-suspiciousTags 5 | 2. fix-Class 6 | 3. find-tinyDescription 7 | 4. find-placeholderDescription 8 | 5. find-retagged 9 | 10 | Misc Tools 11 | 1. find-templateInComments 12 | 2. find-its 13 | 3. find-junkFiles 14 | 4. find-longlines 15 | 16 | -------------------------------------------------------------------------------- /thirdparty/foamx3m/src/foam/include/createMesh.H: -------------------------------------------------------------------------------- 1 | // 2 | // createMesh.H 3 | // ~~~~~~~~~~~~ 4 | 5 | Foam::Info 6 | << "Create mesh for time = " 7 | << runTime.timeName() << Foam::nl << Foam::endl; 8 | 9 | Foam::fvMesh mesh 10 | ( 11 | Foam::IOobject 12 | ( 13 | Foam::fvMesh::defaultRegion, 14 | runTime.timeName(), 15 | runTime, 16 | Foam::IOobject::MUST_READ 17 | ) 18 | ); 19 | -------------------------------------------------------------------------------- /thirdparty/foamx3m/wmake/rules/linuxIA64I64/c++Opt: -------------------------------------------------------------------------------- 1 | c++DBUG = 2 | ##c++OPT = -DICC_IA64_PREFETCH -ansi-alias -O3 -ftz -mP3OPT_ecg_swp_control=0x400000 -fno-alias -mtune=itanium2-p9000 3 | c++OPT = -DICC_IA64_PREFETCH -ansi-alias -O3 -ftz -mP3OPT_ecg_swp_control=0x400000 -fno-alias -mtune=itanium2 \ 4 | -fargument-noalias-global \ 5 | -unroll0 6 | # -opt-mem-bandwidth1 \ 7 | -------------------------------------------------------------------------------- /thirdparty/foamx3m/src/decompositionMethods/Allwmake: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | cd ${0%/*} || exit 1 # run from this directory 3 | set -x 4 | 5 | wmakeLnInclude decompositionMethods 6 | 7 | wmake libso decompositionMethods 8 | 9 | echo "deactivated: metisDecomp parMetisDecomp scotchDecomp" 10 | #wmake libso metisDecomp 11 | #wmake libso parMetisDecomp 12 | wmake libso scotchDecomp || echo "Scotch is not compiled" 13 | 14 | 15 | -------------------------------------------------------------------------------- /thirdparty/foamx3m/src/dynamicMesh/meshMotion/fvMotionSolver/Make/options: -------------------------------------------------------------------------------- 1 | EXE_INC = \ 2 | -I$(LIB_SRC)/postProcessing/functionObjects/forces/lnInclude \ 3 | -I$(LIB_SRC)/meshTools/lnInclude \ 4 | -I$(LIB_SRC)/dynamicMesh/dynamicMesh/lnInclude \ 5 | -I$(LIB_SRC)/finiteVolume/lnInclude 6 | 7 | LIB_LIBS = \ 8 | -l:libmeshTools.$(SO) \ 9 | -l:libdynamicMesh.$(SO) \ 10 | -l:libfiniteVolume.$(SO) 11 | -------------------------------------------------------------------------------- /thirdparty/foamx3m/wmake/rules/General/version: -------------------------------------------------------------------------------- 1 | .SUFFIXES: .Cver 2 | 3 | # 4 | # update version strings in C++ file and in $WM_PROJECT_DIR/.build file 5 | # 6 | Cvertoo = \ 7 | sed -e 's/VERSION_STRING/$(shell wmakePrintBuild -major)/' \ 8 | -e 's/BUILD_STRING/$(shell wmakePrintBuild -update)/' \ 9 | $$SOURCE > $*.C; \ 10 | $(CC) $(c++FLAGS) -c $*.C -o $@ 11 | 12 | .Cver.dep: 13 | $(MAKE_DEP) 14 | -------------------------------------------------------------------------------- /thirdparty/foamx3m/bin/foamWindowsShell.bat: -------------------------------------------------------------------------------- 1 | @echo off 2 | 3 | set FOAM_ETC_DIR=%~dp0 4 | if #%FOAM_ETC_DIR:~-1%# == #\# set FOAM_ETC_DIR=%FOAM_ETC_DIR:~0,-1% 5 | call "%FOAM_ETC_DIR%\foamWindowsEnvironment.bat" 6 | set FOAM_ETC_DIR= 7 | mode 160,40 8 | color 81 9 | echo --------------------------------- 10 | echo Command shell for foam-extend-4.0 11 | echo --------------------------------- 12 | echo/ 13 | cmd.exe 14 | -------------------------------------------------------------------------------- /src/porefoam1f/script/base/constant/transportProperties: -------------------------------------------------------------------------------- 1 | FoamFile // -*- C++ -*- 2 | { 3 | version 2.0; 4 | format ascii; 5 | class dictionary; 6 | location "constant"; 7 | object transportProperties; 8 | } 9 | 10 | 11 | nu nu [ 0 2 -1 0 0 0 0 ] 1e-06; 12 | rho rho [ 1 -3 0 0 0 0 0 ] 1000; 13 | 14 | // transportModel Newtonian; 15 | 16 | 17 | 18 | 19 | -------------------------------------------------------------------------------- /thirdparty/foamx3m/src/foam/include/createPolyMesh.H: -------------------------------------------------------------------------------- 1 | // 2 | // createPolyMesh.H 3 | // ~~~~~~~~~~~~~~~~ 4 | 5 | Foam::Info 6 | << "Create polyMesh for time = " 7 | << runTime.timeName() << Foam::nl << Foam::endl; 8 | 9 | Foam::polyMesh mesh 10 | ( 11 | Foam::IOobject 12 | ( 13 | Foam::polyMesh::defaultRegion, 14 | runTime.timeName(), 15 | runTime, 16 | Foam::IOobject::MUST_READ 17 | ) 18 | ); 19 | -------------------------------------------------------------------------------- /thirdparty/foamx3m/src/finiteVolume/finiteVolume/snGradSchemes/orthogonalSnGrad/orthogonalSnGrads.C: -------------------------------------------------------------------------------- 1 | 2 | #include "orthogonalSnGrad.H" 3 | #include "fvMesh.H" 4 | 5 | // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // 6 | 7 | namespace Foam 8 | { 9 | namespace fv 10 | { 11 | makeSnGradScheme(orthogonalSnGrad) 12 | } 13 | } 14 | 15 | // ************************************************************************* // 16 | -------------------------------------------------------------------------------- /thirdparty/foamx3m/wmake/rules/FreeBSD/c: -------------------------------------------------------------------------------- 1 | .SUFFIXES: .c .h 2 | 3 | cWARN = -Wall 4 | 5 | cc = $(CC) 6 | 7 | include $(RULES)/c$(WM_COMPILE_OPTION) 8 | 9 | cFLAGS = $(GFLAGS) $(cWARN) $(cOPT) $(cDBUG) $(LIB_HEADER_DIRS) -fPIC 10 | 11 | ctoo = $(WM_CC_DRIVER) $(cc) $(cFLAGS) -c $$SOURCE -o $@ 12 | 13 | LINK_LIBS = $(cDBUG) 14 | 15 | LINKLIBSO = $(cc) -shared 16 | LINKEXE = $(cc) -Xlinker -z -Xlinker nodefs 17 | -------------------------------------------------------------------------------- /thirdparty/foamx3m/wmake/rules/linux64Icc/c: -------------------------------------------------------------------------------- 1 | .SUFFIXES: .c .h 2 | 3 | cWARN = 4 | 5 | cc = icc 6 | 7 | include $(RULES)/c$(WM_COMPILE_OPTION) 8 | 9 | cFLAGS = $(GFLAGS) $(cWARN) $(cOPT) $(cDBUG) $(LIB_HEADER_DIRS) -fPIC 10 | 11 | ctoo = $(WM_SCHEDULER) $(cc) $(cFLAGS) -c $$SOURCE -o $@ 12 | 13 | LINK_LIBS = $(cDBUG) -L$(IA32ROOT)/lib 14 | 15 | LINKLIBSO = $(cc) $(cFLAGS) -shared 16 | LINKEXE = $(cc) $(cFLAGS) 17 | -------------------------------------------------------------------------------- /thirdparty/foamx3m/wmake/rules/linuxIA64Gcc/c: -------------------------------------------------------------------------------- 1 | .SUFFIXES: .c .h 2 | 3 | cWARN = -Wall 4 | 5 | cc = gcc 6 | 7 | include $(RULES)/c$(WM_COMPILE_OPTION) 8 | 9 | cFLAGS = $(GFLAGS) $(cWARN) $(cOPT) $(cDBUG) $(LIB_HEADER_DIRS) -fPIC 10 | 11 | ctoo = $(WM_SCHEDULER) $(cc) $(cFLAGS) -c $$SOURCE -o $@ 12 | 13 | LINK_LIBS = $(cDBUG) 14 | 15 | LINKLIBSO = $(cc) -shared 16 | LINKEXE = $(cc) -Xlinker -z -Xlinker nodefs 17 | -------------------------------------------------------------------------------- /thirdparty/foamx3m/wmake/rules/linuxIA64I64/c: -------------------------------------------------------------------------------- 1 | .SUFFIXES: .c .h 2 | 3 | cWARN = 4 | 5 | cc = icc 6 | 7 | include $(RULES)/c$(WM_COMPILE_OPTION) 8 | 9 | cFLAGS = $(GFLAGS) $(cWARN) $(cOPT) $(cDBUG) $(LIB_HEADER_DIRS) -fPIC 10 | 11 | ctoo = $(cc) $(cFLAGS) -c $$SOURCE -o $@ 12 | 13 | LINK_LIBS = $(cDBUG) -L$(IA32ROOT)/lib 14 | 15 | LINKLIBSO = $(cc) -i_dynamic 16 | LINKEXE = $(cc) -Xlinker -z -Xlinker nodefs 17 | -------------------------------------------------------------------------------- /thirdparty/foamx3m/wmake/rules/linuxIcc/c: -------------------------------------------------------------------------------- 1 | .SUFFIXES: .c .h 2 | 3 | cWARN = 4 | 5 | cc = icc 6 | 7 | include $(RULES)/c$(WM_COMPILE_OPTION) 8 | 9 | cFLAGS = $(GFLAGS) $(cWARN) $(cOPT) $(cDBUG) $(LIB_HEADER_DIRS) -fPIC 10 | 11 | ctoo = $(WM_SCHEDULER) $(cc) $(cFLAGS) -c $$SOURCE -o $@ 12 | 13 | LINK_LIBS = $(cDBUG) -L$(IA32ROOT)/lib 14 | 15 | LINKLIBSO = $(cc) $(cFLAGS) -shared 16 | LINKEXE = $(cc) $(cFLAGS) 17 | -------------------------------------------------------------------------------- /thirdparty/foamx3m/wmake/rules/solarisGcc/c: -------------------------------------------------------------------------------- 1 | .SUFFIXES: .c .h 2 | 3 | cWARN = -Wall 4 | 5 | cc = gcc 6 | 7 | include $(RULES)/c$(WM_COMPILE_OPTION) 8 | 9 | cFLAGS = $(GFLAGS) $(cWARN) $(cOPT) $(cDBUG) $(LIB_HEADER_DIRS) -fPIC 10 | 11 | ctoo = $(WM_SCHEDULER) $(cc) $(cFLAGS) -c $$SOURCE -o $@ 12 | 13 | LINK_LIBS = $(cDBUG) 14 | 15 | LINKLIBSO = $(cc) -shared 16 | LINKEXE = $(cc) -Xlinker -z -Xlinker nodefs 17 | -------------------------------------------------------------------------------- /thirdparty/foamx3m/src/finiteVolume/interpolation/surfaceInterpolation/schemes/leastSquaresSkewCorrected/leastSquaresSkewCorrected.C: -------------------------------------------------------------------------------- 1 | 2 | #include "leastSquaresSkewCorrected.H" 3 | 4 | // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // 5 | 6 | namespace Foam 7 | { 8 | makeSurfaceInterpolationScheme(leastSquaresSkewCorrected); 9 | } 10 | 11 | // ************************************************************************* // 12 | -------------------------------------------------------------------------------- /thirdparty/foamx3m/wmake/rules/SunOS64Gcc/c: -------------------------------------------------------------------------------- 1 | .SUFFIXES: .c .h 2 | 3 | cWARN = -Wall 4 | 5 | cc = gcc -m64 6 | 7 | include $(RULES)/c$(WM_COMPILE_OPTION) 8 | 9 | cFLAGS = $(GFLAGS) $(cWARN) $(cOPT) $(cDBUG) $(LIB_HEADER_DIRS) -fPIC 10 | 11 | ctoo = $(WM_SCHEDULER) $(cc) $(cFLAGS) -c $$SOURCE -o $@ 12 | 13 | LINK_LIBS = $(cDBUG) 14 | 15 | LINKLIBSO = $(cc) -shared 16 | LINKEXE = $(cc) -Xlinker -z -Xlinker nodefs 17 | -------------------------------------------------------------------------------- /thirdparty/foamx3m/src/dynamicMesh/meshMotion/Allwmake: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | cd ${0%/*} || exit 1 # run from this directory 3 | set -x 4 | 5 | # Make meshMotion solvers 6 | wmake libso solidBodyMotion 7 | wmake libso fvMotionSolver 8 | wmake libso RBFMotionSolver 9 | echo "decativated: wmake libso mesquiteMotionSolver" 10 | echo "decativated: wmake libso tetMotionSolver" 11 | 12 | # ----------------------------------------------------------------- end-of-file 13 | -------------------------------------------------------------------------------- /thirdparty/foamx3m/src/finiteVolume/finiteVolume/divSchemes/leastSquaresDivScheme/leastSquaresDivSchemes.C: -------------------------------------------------------------------------------- 1 | 2 | #include "leastSquaresDivScheme.H" 3 | #include "fvMesh.H" 4 | 5 | // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // 6 | 7 | namespace Foam 8 | { 9 | namespace fv 10 | { 11 | makeFvDivScheme(leastSquaresDivScheme) 12 | } 13 | } 14 | 15 | // ************************************************************************* // 16 | -------------------------------------------------------------------------------- /thirdparty/foamx3m/src/finiteVolume/finiteVolume/ddtSchemes/CrankNicolsonDdtScheme/CrankNicolsonDdtSchemes.C: -------------------------------------------------------------------------------- 1 | 2 | #include "CrankNicolsonDdtScheme.H" 3 | #include "fvMesh.H" 4 | 5 | // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // 6 | 7 | namespace Foam 8 | { 9 | namespace fv 10 | { 11 | makeFvDdtScheme(CrankNicolsonDdtScheme) 12 | } 13 | } 14 | 15 | // ************************************************************************* // 16 | -------------------------------------------------------------------------------- /thirdparty/foamx3m/src/lagrangian/molecularDynamics/molecule/Make/options: -------------------------------------------------------------------------------- 1 | EXE_INC = \ 2 | -I$(LIB_SRC)/finiteVolume/lnInclude \ 3 | -I$(LIB_SRC)/lagrangian/basic/lnInclude \ 4 | -I$(LIB_SRC)/lagrangian/molecularDynamics/potential/lnInclude \ 5 | -I$(LIB_SRC)/lagrangian/molecularDynamics/molecularMeasurements/lnInclude 6 | 7 | LIB_LIBS = \ 8 | -lfiniteVolume \ 9 | -llagrangian \ 10 | -lpotential \ 11 | -lmolecularMeasurements 12 | 13 | -------------------------------------------------------------------------------- /thirdparty/foamx3m/wmake/rules/linuxIA64Icc/c: -------------------------------------------------------------------------------- 1 | .SUFFIXES: .c .h 2 | 3 | cWARN = 4 | 5 | cc = icc 6 | 7 | include $(RULES)/c$(WM_COMPILE_OPTION) 8 | 9 | cFLAGS = $(GFLAGS) $(cWARN) $(cOPT) $(cDBUG) $(LIB_HEADER_DIRS) -fPIC 10 | 11 | ctoo = $(WM_SCHEDULER) $(cc) $(cFLAGS) -c $$SOURCE -o $@ 12 | 13 | LINK_LIBS = $(cDBUG) -L$(IA32ROOT)/lib 14 | 15 | LINKLIBSO = $(cc) -i_dynamic 16 | LINKEXE = $(cc) -Xlinker -z -Xlinker nodefs 17 | -------------------------------------------------------------------------------- /thirdparty/foamx3m/src/dynamicMesh/Allwmake: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | cd ${0%/*} || exit 1 # run from this directory 3 | set -x 4 | 5 | wmake libso dynamicMesh 6 | 7 | # Make meshMotion solvers 8 | meshMotion/Allwmake 9 | 10 | # Make libraries in dynamicFvMesh 11 | wmake libso dynamicFvMesh 12 | wmake libso dynamicTopoFvMesh 13 | 14 | echo "decativated: wmake libso topoChangerFvMesh" 15 | 16 | # ----------------------------------------------------------------- end-of-file 17 | -------------------------------------------------------------------------------- /thirdparty/foamx3m/wmake/rules/linuxPPC64Gcc/c: -------------------------------------------------------------------------------- 1 | .SUFFIXES: .c .h 2 | 3 | cWARN = -Wall 4 | 5 | cc = gcc -m64 -mcpu=power5+ 6 | 7 | include $(RULES)/c$(WM_COMPILE_OPTION) 8 | 9 | cFLAGS = $(GFLAGS) $(cWARN) $(cOPT) $(cDBUG) $(LIB_HEADER_DIRS) -fPIC 10 | 11 | ctoo = $(WM_SCHEDULER) $(cc) $(cFLAGS) -c $$SOURCE -o $@ 12 | 13 | LINK_LIBS = $(cDBUG) 14 | 15 | LINKLIBSO = $(cc) -shared 16 | LINKEXE = $(cc) -Xlinker -z -Xlinker nodefs 17 | -------------------------------------------------------------------------------- /thirdparty/foamx3m/wmake/rules/linuxGcc/c: -------------------------------------------------------------------------------- 1 | .SUFFIXES: .c .h 2 | 3 | cWARN = -Wall 4 | 5 | cc = gcc -m32 6 | 7 | include $(RULES)/c$(WM_COMPILE_OPTION) 8 | 9 | cFLAGS = $(GFLAGS) $(cWARN) $(cOPT) $(cDBUG) $(LIB_HEADER_DIRS) -fPIC 10 | 11 | ctoo = $(WM_SCHEDULER) $(cc) $(cFLAGS) -c $$SOURCE -o $@ 12 | 13 | LINK_LIBS = $(cDBUG) 14 | 15 | LINKLIBSO = $(cc) -shared 16 | LINKEXE = $(cc) -Xlinker --add-needed -Xlinker -z -Xlinker nodefs 17 | -------------------------------------------------------------------------------- /thirdparty/foamx3m/wmake/rules/linuxGcc45/c: -------------------------------------------------------------------------------- 1 | .SUFFIXES: .c .h 2 | 3 | cWARN = -Wall 4 | 5 | cc = gcc -m32 6 | 7 | include $(RULES)/c$(WM_COMPILE_OPTION) 8 | 9 | cFLAGS = $(GFLAGS) $(cWARN) $(cOPT) $(cDBUG) $(LIB_HEADER_DIRS) -fPIC 10 | 11 | ctoo = $(WM_SCHEDULER) $(cc) $(cFLAGS) -c $$SOURCE -o $@ 12 | 13 | LINK_LIBS = $(cDBUG) 14 | 15 | LINKLIBSO = $(cc) -shared 16 | LINKEXE = $(cc) -Xlinker --add-needed -Xlinker -z -Xlinker nodefs 17 | -------------------------------------------------------------------------------- /thirdparty/foamx3m/wmake/rules/linuxGcc46/c: -------------------------------------------------------------------------------- 1 | .SUFFIXES: .c .h 2 | 3 | cWARN = -Wall 4 | 5 | cc = gcc -m32 6 | 7 | include $(RULES)/c$(WM_COMPILE_OPTION) 8 | 9 | cFLAGS = $(GFLAGS) $(cWARN) $(cOPT) $(cDBUG) $(LIB_HEADER_DIRS) -fPIC 10 | 11 | ctoo = $(WM_SCHEDULER) $(cc) $(cFLAGS) -c $$SOURCE -o $@ 12 | 13 | LINK_LIBS = $(cDBUG) 14 | 15 | LINKLIBSO = $(cc) -shared 16 | LINKEXE = $(cc) -Xlinker --add-needed -Xlinker -z -Xlinker nodefs 17 | -------------------------------------------------------------------------------- /thirdparty/foamx3m/wmake/rules/mingwGcc/c: -------------------------------------------------------------------------------- 1 | .SUFFIXES: .c .h 2 | 3 | cWARN = -Wall 4 | 5 | cc = gcc 6 | 7 | include $(RULES)/c$(WM_COMPILE_OPTION) 8 | 9 | cFLAGS = $(GFLAGS) $(cWARN) $(cOPT) $(cDBUG) $(LIB_HEADER_DIRS) -fPIC -Dmingw 10 | 11 | ctoo = $(WM_SCHEDULER) $(cc) $(cFLAGS) -c $$SOURCE -o $@ 12 | 13 | LINK_LIBS = $(cDBUG) 14 | 15 | LINKLIBSO = $(cc) -shared 16 | LINKEXE = $(cc) -Xlinker --add-needed -Xlinker -z -Xlinker nodefs 17 | -------------------------------------------------------------------------------- /thirdparty/libtiff/libtiff/tiffvers.h: -------------------------------------------------------------------------------- 1 | #define TIFFLIB_VERSION_STR "LIBTIFF, Version 4.1.0\nCopyright (c) 1988-1996 Sam Leffler\nCopyright (c) 1991-1996 Silicon Graphics, Inc." 2 | /* 3 | * This define can be used in code that requires 4 | * compilation-related definitions specific to a 5 | * version or versions of the library. Runtime 6 | * version checking should be done based on the 7 | * string returned by TIFFGetVersion. 8 | */ 9 | #define TIFFLIB_VERSION 20191103 10 | -------------------------------------------------------------------------------- /thirdparty/foamx3m/applications/utilities/mesh/manipulation/renumberMesh/Make/options: -------------------------------------------------------------------------------- 1 | EXE_INC = \ 2 | -I$(LIB_SRC)/meshTools/lnInclude \ 3 | -I$(LIB_SRC)/dynamicMesh/dynamicMesh/lnInclude \ 4 | -I$(LIB_SRC)/finiteVolume/lnInclude \ 5 | -I$(LIB_SRC)/decompositionMethods/decompositionMethods/lnInclude 6 | 7 | EXE_LIBS = \ 8 | -l:libmeshTools.$(SO) \ 9 | -l:libdynamicMesh.$(SO) \ 10 | -l:libfiniteVolume.$(SO) \ 11 | -l:libdecompositionMethods.$(SO) 12 | -------------------------------------------------------------------------------- /thirdparty/foamx3m/src/dynamicMesh/dynamicFvMesh/include/createDynamicFvMesh.H: -------------------------------------------------------------------------------- 1 | Info<< "Create dynamic mesh for time = " 2 | << runTime.timeName() << nl << endl; 3 | 4 | autoPtr meshPtr 5 | ( 6 | dynamicFvMesh::New 7 | ( 8 | IOobject 9 | ( 10 | dynamicFvMesh::defaultRegion, 11 | runTime.timeName(), 12 | runTime, 13 | IOobject::MUST_READ 14 | ) 15 | ) 16 | ); 17 | 18 | dynamicFvMesh& mesh = meshPtr(); 19 | -------------------------------------------------------------------------------- /thirdparty/foamx3m/src/foam/include/checkTimeOption.H: -------------------------------------------------------------------------------- 1 | // 2 | // checkTimeOption.H 3 | // ~~~~~~~~~~~~~~~~~ 4 | // check -time and -latestTime options 5 | 6 | if (args.optionFound("time")) 7 | { 8 | Foam::scalar timeValue = args.optionRead("time"); 9 | 10 | startTime = Foam::Time::findClosestTimeIndex(Times, timeValue); 11 | endTime = startTime + 1; 12 | } 13 | 14 | if (args.optionFound("latestTime")) 15 | { 16 | startTime = Times.size() - 1; 17 | } 18 | -------------------------------------------------------------------------------- /thirdparty/foamx3m/wmake/rules/linux64Gcc/c: -------------------------------------------------------------------------------- 1 | .SUFFIXES: .c .h 2 | 3 | cWARN = -Wall 4 | 5 | cc = $(WM_CC) -m64 6 | 7 | include $(RULES)/c$(WM_COMPILE_OPTION) 8 | 9 | cFLAGS = $(GFLAGS) $(cWARN) $(cOPT) $(cDBUG) $(LIB_HEADER_DIRS) -fPIC 10 | 11 | ctoo = $(WM_SCHEDULER) $(cc) $(cFLAGS) -c $$SOURCE -o $@ 12 | 13 | LINK_LIBS = $(cDBUG) 14 | 15 | LINKLIBSO = $(cc) -shared 16 | LINKEXE = $(cc) -Xlinker --add-needed -Xlinker -z -Xlinker nodefs 17 | -------------------------------------------------------------------------------- /thirdparty/foamx3m/src/foam/include/createMeshNoClear.H: -------------------------------------------------------------------------------- 1 | // 2 | // createMeshNoClear.H 3 | // ~~~~~~~~~~~~~~~~~~~ 4 | // currently identical to createMesh.H 5 | 6 | Foam::Info 7 | << "Create mesh, no clear-out for time = " 8 | << runTime.timeName() << Foam::nl << Foam::endl; 9 | 10 | Foam::fvMesh mesh 11 | ( 12 | Foam::IOobject 13 | ( 14 | Foam::fvMesh::defaultRegion, 15 | runTime.timeName(), 16 | runTime, 17 | Foam::IOobject::MUST_READ 18 | ) 19 | ); 20 | -------------------------------------------------------------------------------- /thirdparty/zlib/inffast.h: -------------------------------------------------------------------------------- 1 | /* inffast.h -- header to use inffast.c 2 | * Copyright (C) 1995-2003, 2010 Mark Adler 3 | * For conditions of distribution and use, see copyright notice in zlib.h 4 | */ 5 | 6 | /* WARNING: this file should *not* be used by applications. It is 7 | part of the implementation of the compression library and is 8 | subject to change. Applications should only use zlib.h. 9 | */ 10 | 11 | void ZLIB_INTERNAL inflate_fast OF((z_streamp strm, unsigned start)); 12 | -------------------------------------------------------------------------------- /thirdparty/foamx3m/wmake/rules/SiCortex64Gcc/c: -------------------------------------------------------------------------------- 1 | .SUFFIXES: .c .h 2 | 3 | cWARN = -Wall 4 | 5 | cc = gcc -mabi=64 6 | #cc = scgcc -mabi=64 7 | 8 | include $(RULES)/c$(WM_COMPILE_OPTION) 9 | 10 | cFLAGS = -G0 $(GFLAGS) $(cWARN) $(cOPT) $(cDBUG) $(LIB_HEADER_DIRS) -fPIC 11 | 12 | ctoo = $(WM_SCHEDULER) $(cc) $(cFLAGS) -c $$SOURCE -o $@ 13 | 14 | LINK_LIBS = $(cDBUG) 15 | 16 | LINKLIBSO = $(cc) -shared 17 | LINKEXE = $(cc) -Xlinker -z -Xlinker nodefs 18 | -------------------------------------------------------------------------------- /thirdparty/libtiff/libtiff/tiffvers.h.in: -------------------------------------------------------------------------------- 1 | #define TIFFLIB_VERSION_STR "LIBTIFF, Version LIBTIFF_VERSION\nCopyright (c) 1988-1996 Sam Leffler\nCopyright (c) 1991-1996 Silicon Graphics, Inc." 2 | /* 3 | * This define can be used in code that requires 4 | * compilation-related definitions specific to a 5 | * version or versions of the library. Runtime 6 | * version checking should be done based on the 7 | * string returned by TIFFGetVersion. 8 | */ 9 | #define TIFFLIB_VERSION LIBTIFF_RELEASE_DATE 10 | -------------------------------------------------------------------------------- /thirdparty/foamx3m/src/lagrangian/dsmc/Make/files: -------------------------------------------------------------------------------- 1 | /* Parcels */ 2 | parcels/derived/dsmcParcel/dsmcParcel.C 3 | 4 | /* Cloud base classes */ 5 | clouds/baseClasses/DsmcBaseCloud/DsmcBaseCloud.C 6 | 7 | /* submodels */ 8 | parcels/derived/dsmcParcel/defineDsmcParcel.C 9 | parcels/derived/dsmcParcel/makeDsmcParcelBinaryCollisionModels.C 10 | parcels/derived/dsmcParcel/makeDsmcParcelWallInteractionModels.C 11 | parcels/derived/dsmcParcel/makeDsmcParcelInflowBoundaryModels.C 12 | 13 | LIB = $(FOAM_LIBBIN)/libdsmc 14 | -------------------------------------------------------------------------------- /thirdparty/foamx3m/src/finiteVolume/cfdTools/general/include/readSIMPLEControls.H: -------------------------------------------------------------------------------- 1 | dictionary simple = mesh.solutionDict().subDict("SIMPLE"); 2 | 3 | int nNonOrthCorr = 4 | simple.lookupOrDefault("nNonOrthogonalCorrectors", 0); 5 | 6 | bool momentumPredictor = 7 | simple.lookupOrDefault("momentumPredictor", true); 8 | 9 | bool fluxGradp = 10 | simple.lookupOrDefault("fluxGradp", false); 11 | 12 | bool transonic = 13 | simple.lookupOrDefault("transonic", false); 14 | 15 | -------------------------------------------------------------------------------- /thirdparty/foamx3m/wmake/rules/linuxIcc/cOpt: -------------------------------------------------------------------------------- 1 | cDBUG = 2 | # Intel processor optimization: -x 3 | # K Intel Pentium III and compatible Intel processors 4 | # W Intel Pentium 4 and compatible Intel processors 5 | # N Intel Pentium 4 and compatible Intel processors. Enables new 6 | # optimizations in addition to Intel processor-specific optimizations 7 | # P Intel Pentium 4 processors with SSE3 extensions 8 | # B Intel Pentium M and compatible Intel processors 9 | cOPT = -O3 -xN -no-prec-div 10 | -------------------------------------------------------------------------------- /thirdparty/foamx3m/wmake/rules/darwinIntel64Gcc/c: -------------------------------------------------------------------------------- 1 | .SUFFIXES: .c .h 2 | 3 | cWARN = -Wall 4 | 5 | cc = $(WM_CC) $(WM_CXXFLAGS) -ftrapping-math 6 | 7 | include $(RULES)/c$(WM_COMPILE_OPTION) 8 | 9 | cFLAGS = $(GFLAGS) $(cWARN) $(cOPT) $(cDBUG) $(LIB_HEADER_DIRS) -fPIC -Ddarwin 10 | 11 | ctoo = $(WM_SCHEDULER) $(cc) $(cFLAGS) -c $$SOURCE -o $@ 12 | 13 | LINK_LIBS = $(cDBUG) 14 | 15 | LINKLIBSO = $(cc) -dynamiclib -flat_namespace -undefined suppress 16 | LINKEXE = $(cc) -Xlinker -z -Xlinker nodefs 17 | -------------------------------------------------------------------------------- /thirdparty/foamx3m/wmake/rules/linuxIcc/c++Opt: -------------------------------------------------------------------------------- 1 | c++DBUG = 2 | # Intel processor optimization: -x 3 | # K Intel Pentium III and compatible Intel processors 4 | # W Intel Pentium 4 and compatible Intel processors 5 | # N Intel Pentium 4 and compatible Intel processors. Enables new 6 | # optimizations in addition to Intel processor-specific optimizations 7 | # P Intel Pentium 4 processors with SSE3 extensions 8 | # B Intel Pentium M and compatible Intel processors 9 | c++OPT = -O3 -xN -no-prec-div 10 | -------------------------------------------------------------------------------- /thirdparty/foamx3m/wmake/rules/darwinIntel64Dragonegg/c: -------------------------------------------------------------------------------- 1 | .SUFFIXES: .c .h 2 | 3 | cWARN = -Wall 4 | 5 | cc = $(WM_CC) $(WM_CXXFLAGS) -ftrapping-math 6 | 7 | include $(RULES)/c$(WM_COMPILE_OPTION) 8 | 9 | cFLAGS = $(GFLAGS) $(cWARN) $(cOPT) $(cDBUG) $(LIB_HEADER_DIRS) -fPIC -Ddarwin 10 | 11 | ctoo = $(WM_SCHEDULER) $(cc) $(cFLAGS) -c $$SOURCE -o $@ 12 | 13 | LINK_LIBS = $(cDBUG) 14 | 15 | LINKLIBSO = $(cc) -dynamiclib -flat_namespace -undefined suppress 16 | LINKEXE = $(cc) -Xlinker -z -Xlinker nodefs 17 | -------------------------------------------------------------------------------- /thirdparty/libtiff/COMMITTERS: -------------------------------------------------------------------------------- 1 | 2 | Active Libtiff Committers 3 | ------------------------- 4 | 5 | Frank Warmerdam (fwarmerdam): warmerdam@pobox.com 6 | 7 | Andrey Kiselev (dron): dron@ak4719.spb.edu 8 | 9 | Bob Friesenhahn (bfriesen): bfriesen@simple.dallas.tx.us 10 | 11 | Joris Van Damme (joris): info@awaresystems.be 12 | 13 | Lee Howard (faxguy): faxguy@howardsilvan.com 14 | 15 | Olivier Paquet (olivier): olivier.paquet@gmail.com 16 | 17 | Tom Lane (tgl): tgl@sss.pgh.pa.us 18 | 19 | Even Rouault (erouault): even.rouault@spatialys.com 20 | -------------------------------------------------------------------------------- /thirdparty/libtiff/.travis.yml: -------------------------------------------------------------------------------- 1 | language: c 2 | 3 | sudo: false 4 | dist: trusty 5 | 6 | cache: 7 | directories: 8 | - download 9 | 10 | addons: 11 | apt_packages: 12 | - libjpeg8-dev 13 | - libjbig-dev 14 | - liblzma-dev 15 | - zlib1g-dev 16 | - zip 17 | 18 | os: 19 | - linux 20 | - osx 21 | 22 | env: 23 | matrix: 24 | - BUILD=autoconf 25 | - BUILD=cmake TOOL="Unix Makefiles" TYPE=Release 26 | - BUILD=cmake TOOL="Ninja" TYPE=Debug 27 | 28 | script: 29 | - sh ./build/travis-ci "$BUILD" "$TOOL" "$TYPE" 30 | -------------------------------------------------------------------------------- /thirdparty/foamx3m/wmake/rules/darwinIntel64Clang/c: -------------------------------------------------------------------------------- 1 | .SUFFIXES: .c .h 2 | 3 | cWARN = -Wall 4 | 5 | cc = $(WM_CC) -m64 -ftrapping-math 6 | # -fsignaling-nans 7 | 8 | include $(RULES)/c$(WM_COMPILE_OPTION) 9 | 10 | cFLAGS = $(GFLAGS) $(cWARN) $(cOPT) $(cDBUG) $(LIB_HEADER_DIRS) -fPIC -Ddarwin 11 | 12 | ctoo = $(WM_SCHEDULER) $(cc) $(cFLAGS) -c $$SOURCE -o $@ 13 | 14 | LINK_LIBS = $(cDBUG) 15 | 16 | LINKLIBSO = $(cc) -dynamiclib -flat_namespace -undefined suppress 17 | LINKEXE = $(cc) -Xlinker -z -Xlinker nodefs 18 | -------------------------------------------------------------------------------- /thirdparty/foamx3m/src/finiteVolume/cfdTools/general/include/readPIMPLEControls.H: -------------------------------------------------------------------------------- 1 | dictionary pimple = mesh.solutionDict().subDict("PIMPLE"); 2 | 3 | int nOuterCorr(readInt(pimple.lookup("nOuterCorrectors"))); 4 | int nCorr(readInt(pimple.lookup("nCorrectors"))); 5 | 6 | int nNonOrthCorr = 7 | pimple.lookupOrDefault("nNonOrthogonalCorrectors", 0); 8 | 9 | bool momentumPredictor = 10 | pimple.lookupOrDefault("momentumPredictor", true); 11 | 12 | bool transonic = 13 | pimple.lookupOrDefault("transonic", false); 14 | -------------------------------------------------------------------------------- /src/porefoam1f/script/base/system/postProcessDict: -------------------------------------------------------------------------------- 1 | FoamFile // -*- C++ -*- 2 | { 3 | version 2.0; 4 | format ascii; 5 | class dictionary; 6 | location "system"; 7 | object postProcessDict; 8 | } 9 | 10 | 11 | CVxBounds1 (0); 12 | CVxBounds2 (1); 13 | 14 | 15 | 16 | //CVyBounds1 (-1000000); 17 | //CVyBounds2 (1000000); 18 | //CVzBounds1 (-1000000); 19 | //CVzBounds2 (1000000); 20 | 21 | //relativeBounds false; // default is true 22 | //nGrowCVs 1; 23 | //CVoxelValues ( 0); 24 | //labelImage "BASENAME.mhd"; 25 | 26 | 27 | -------------------------------------------------------------------------------- /thirdparty/foamx3m/src/finiteVolume/cfdTools/general/include/readPISOControls.H: -------------------------------------------------------------------------------- 1 | dictionary piso = mesh.solutionDict().subDict("PISO"); 2 | 3 | int nCorr(readInt(piso.lookup("nCorrectors"))); 4 | 5 | int nNonOrthCorr = 6 | piso.lookupOrDefault("nNonOrthogonalCorrectors", 0); 7 | 8 | bool momentumPredictor = 9 | piso.lookupOrDefault("momentumPredictor", true); 10 | 11 | bool transonic = 12 | piso.lookupOrDefault("transonic", false); 13 | 14 | int nOuterCorr = 15 | piso.lookupOrDefault("nOuterCorrectors", 1); 16 | -------------------------------------------------------------------------------- /thirdparty/foamx3m/src/dynamicMesh/meshMotion/solidBodyMotion/Make/files: -------------------------------------------------------------------------------- 1 | solidBodyMotionFunction/solidBodyMotionFunction.C 2 | solidBodyMotionFunction/newSolidBodyMotionFunction.C 3 | 4 | noMotion/noMotion.C 5 | translation/translation.C 6 | graphMotion/graphMotion.C 7 | 8 | linearOscillation/linearOscillation.C 9 | rotatingOscillation/rotatingOscillation.C 10 | harmonicOscillation/harmonicOscillation.C 11 | 12 | SDA/SDA.C 13 | SKA/SKA.C 14 | 15 | constantVelocity/constantVelocity.C 16 | graphVelocity/graphVelocity.C 17 | 18 | LIB = $(FOAM_LIBBIN)/libsolidBodyMotion 19 | -------------------------------------------------------------------------------- /thirdparty/foamx3m/wmake/rules/mingwGcc/nvcc: -------------------------------------------------------------------------------- 1 | .SUFFIXES: .cu 2 | 3 | NVCC = nvcc -arch $(CUDA_ARCH) 4 | 5 | NVCC_ptFLAGS = -DNoRepository 6 | 7 | NVCC_FLAGS = $(NVCC_ptFLAGS) -Xcompiler -fPIC $(LIB_HEADER_DIRS) $(GFLAGS) $(c++OPT) $(c++DBUG) 8 | 9 | cutoo = $(WM_SCHEDULER) $(NVCC) $(NVCC_FLAGS) -c $$SOURCE -o $@ 10 | 11 | LINK_LIBS = $(c++DBUG) 12 | 13 | LINKLIBSO = $(CC) $(c++FLAGS) -shared -Xlinker --add-needed -Xlinker --no-as-needed 14 | LINKEXE = $(CC) $(c++FLAGS) -Xlinker --add-needed -Xlinker --no-as-needed 15 | 16 | .cu.dep: 17 | $(MAKE_DEP) 18 | -------------------------------------------------------------------------------- /thirdparty/foamx3m/src/decompositionMethods/parMetisDecomp/Make/options: -------------------------------------------------------------------------------- 1 | include $(RULES)/mplib$(WM_MPLIB) 2 | 3 | PARMETIS_INCLUDE_DIR=/usr/include/parmetis 4 | 5 | EXE_INC = \ 6 | $(PFLAGS) $(PINC) \ 7 | -I$(PARMETIS_INCLUDE_DIR)/ \ 8 | -I../decompositionMethods/lnInclude \ 9 | -I../metisDecomp/lnInclude \ 10 | -I../scotchDecomp/lnInclude 11 | 12 | LIB_LIBS = \ 13 | -L$(METIS_LIB_DIR) -lmetis \ 14 | -L$(PARMETIS_LIB_DIR) -lmetis -lparmetis \ 15 | -l:libdecompositionMethods.$(SO) \ 16 | -l:libmetisDecomp.$(SO) \ 17 | -L$(OPENMPI_DIR)/lib -lmpi 18 | -------------------------------------------------------------------------------- /thirdparty/foamx3m/wmake/rules/linux64Gcc/nvcc: -------------------------------------------------------------------------------- 1 | .SUFFIXES: .cu 2 | 3 | NVCC = nvcc -m64 -arch $(CUDA_ARCH) 4 | 5 | NVCC_ptFLAGS = -DNoRepository 6 | 7 | NVCC_FLAGS = $(NVCC_ptFLAGS) -Xcompiler -fPIC $(LIB_HEADER_DIRS) $(GFLAGS) $(c++OPT) $(c++DBUG) 8 | 9 | cutoo = $(WM_SCHEDULER) $(NVCC) $(NVCC_FLAGS) -c $$SOURCE -o $@ 10 | 11 | LINK_LIBS = $(c++DBUG) 12 | 13 | LINKLIBSO = $(CC) $(c++FLAGS) -shared -Xlinker --add-needed -Xlinker --no-as-needed 14 | LINKEXE = $(CC) $(c++FLAGS) -Xlinker --add-needed -Xlinker --no-as-needed 15 | 16 | .cu.dep: 17 | $(MAKE_DEP) 18 | -------------------------------------------------------------------------------- /thirdparty/foamx3m/applications/Allwmake: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | cd ${0%/*} || exit 1 # run from this directory 3 | 4 | if [ "$PWD" != "$WM_PROJECT_DIR/applications" ] 5 | then 6 | echo "Error: Current directory in not \$WM_PROJECT_DIR/applications" 7 | echo " The environment variable are not consistent with the installation." 8 | echo " Check the OpenFOAM entries in your dot-files and source them." 9 | exit 1 10 | fi 11 | 12 | set -x 13 | 14 | wmake all solvers 15 | wmake all utilities 16 | 17 | # ----------------------------------------------------------------- end-of-file 18 | -------------------------------------------------------------------------------- /thirdparty/foamx3m/bin/foamWindowsEnvironment.bat: -------------------------------------------------------------------------------- 1 | @echo off 2 | if defined FOAM_ENV_SET goto :eof 3 | 4 | rem =========== USER EDITABLE SETTINGS =========== 5 | rem set MPI_ROOTDIR=C:\Programs\OpenMPI_v1.6.1-x64 6 | rem set PARAVIEW_HOME=C:\Programs\ParaView-4.3.1 7 | rem ============================================== 8 | 9 | if defined PARAVIEW_HOME set PATH=%PARAVIEW_HOME%\bin;%PATH% 10 | if defined MPI_ROOTDIR set PATH=%MPI_ROOTDIR%\bin;%PATH% 11 | set PATH=%~dp0..\lib;%~dp0..\bin;%PATH% 12 | set WM_PROJECT_DIR=%~dp0.. 13 | set MPI_BUFFER_SIZE=500000000 14 | set FOAM_ENV_SET=1 15 | -------------------------------------------------------------------------------- /thirdparty/zlib/contrib/iostream3/TODO: -------------------------------------------------------------------------------- 1 | Possible upgrades to gzfilebuf: 2 | 3 | - The ability to do putback (e.g. putbackfail) 4 | 5 | - The ability to seek (zlib supports this, but could be slow/tricky) 6 | 7 | - Simultaneous read/write access (does it make sense?) 8 | 9 | - Support for ios_base::ate open mode 10 | 11 | - Locale support? 12 | 13 | - Check public interface to see which calls give problems 14 | (due to dependence on library internals) 15 | 16 | - Override operator<<(ostream&, gzfilebuf*) to allow direct copying 17 | of stream buffer to stream ( i.e. os << is.rdbuf(); ) 18 | -------------------------------------------------------------------------------- /thirdparty/foamx3m/src/foam/Make/options: -------------------------------------------------------------------------------- 1 | include $(RULES)/mplib$(WM_MPLIB) 2 | 3 | EXE_INC = $(PFLAGS) $(PINC) -DWM_PROJECT_VERSION=\"$(WM_PROJECT_VERSION)\"\ 4 | -I$(WM_THIRD_PARTY_DIR)/zlib-1.2.3 5 | 6 | #if defined(mingw) 7 | 8 | LIB_LIBS = $(PLIBS)\ 9 | $(FOAM_LIBBIN)/libOSspecific.o \ 10 | -lz \ 11 | -L$(WM_THIRD_PARTY_DIR)/packages/system/lib \ 12 | -ldl \ 13 | -lpsapi \ 14 | -lpthread 15 | 16 | #else 17 | 18 | LIB_LIBS = $(PLIBS)\ 19 | $(FOAM_LIBBIN)/libOSspecific.o \ 20 | -lz 21 | 22 | #endif 23 | 24 | $(OBJECTS_DIR)/global.o: FORCE 25 | 26 | FORCE: 27 | -------------------------------------------------------------------------------- /thirdparty/foamx3m/src/lagrangian/molecularDynamics/molecule/mdTools/createRefUnits.H: -------------------------------------------------------------------------------- 1 | reducedUnits refUnits; 2 | 3 | IOobject reducedUnitsDictIOobject 4 | ( 5 | "reducedUnitsDict", 6 | runTime.system(), 7 | mesh, 8 | IOobject::READ_IF_PRESENT, 9 | IOobject::NO_WRITE 10 | ); 11 | 12 | if (reducedUnitsDictIOobject.headerOk()) 13 | { 14 | Info << nl 15 | << "Reading reference quantities from reducedUnitsDict file." << endl; 16 | 17 | IOdictionary reducedUnitsDict(reducedUnitsDictIOobject); 18 | 19 | refUnits.setRefValues(reducedUnitsDict); 20 | } 21 | 22 | Info << refUnits << endl; 23 | -------------------------------------------------------------------------------- /src/script/toolchain.txt: -------------------------------------------------------------------------------- 1 | 2 | # the name of the target operating system 3 | SET(CMAKE_SYSTEM_NAME Linux) 4 | 5 | SET(CMAKE_C_COMPILER gcc) 6 | SET(CMAKE_CXX_COMPILER g++) 7 | 8 | # here is the target environment located 9 | SET(CMAKE_FIND_ROOT_PATH /usr ) 10 | 11 | # adjust the default behaviour of the FIND_XXX() commands: 12 | # search headers and libraries in the target environment, search 13 | # programs in the host environment 14 | set(CMAKE_FIND_ROOT_PATH_MODE_PROGRAM NEVER) 15 | set(CMAKE_FIND_ROOT_PATH_MODE_LIBRARY ONLY) 16 | set(CMAKE_FIND_ROOT_PATH_MODE_INCLUDE ONLY) 17 | SET(CMAKE_EXE_LINKER_FLAGS "-static") 18 | -------------------------------------------------------------------------------- /thirdparty/foamx3m/applications/utilities/parallelProcessing/redistributeMeshPar/Make/options: -------------------------------------------------------------------------------- 1 | EXE_INC = \ 2 | -I$(LIB_SRC)/decompositionMethods/decompositionMethods/lnInclude \ 3 | -I$(LIB_SRC)/finiteVolume/lnInclude \ 4 | -I$(LIB_SRC)/meshTools/lnInclude \ 5 | -I$(LIB_SRC)/dynamicMesh/dynamicMesh/lnInclude \ 6 | -I$(LIB_SRC)/dynamicMesh/dynamicFvMesh/lnInclude 7 | 8 | EXE_LIBS = \ 9 | -l:libfiniteVolume.$(SO) \ 10 | -l:libdecompositionMethods.$(SO) \ 11 | -l:libmeshTools.$(SO) \ 12 | -l:libdynamicMesh.$(SO) \ 13 | -l:libdynamicFvMesh.$(SO) \ 14 | -L$(MESQUITE_LIB_DIR) -lmesquite 15 | -------------------------------------------------------------------------------- /thirdparty/foamx3m/src/transportModels/interfaceProperties/Make/files: -------------------------------------------------------------------------------- 1 | interfaceProperties.C 2 | interfaceCompression/interfaceCompression.C 3 | 4 | alphaContactAngle/alphaContactAngle/alphaContactAngleFvPatchScalarField.C 5 | alphaContactAngle/constantAlphaContactAngle/constantAlphaContactAngleFvPatchScalarField.C 6 | alphaContactAngle/dynamicAlphaContactAngle/dynamicAlphaContactAngleFvPatchScalarField.C 7 | alphaContactAngle/timeVaryingAlphaContactAngle/timeVaryingAlphaContactAngleFvPatchScalarField.C 8 | 9 | alphaFixedPressure/alphaFixedPressureFvPatchScalarField.C 10 | 11 | LIB = $(FOAM_LIBBIN)/libinterfaceProperties 12 | -------------------------------------------------------------------------------- /thirdparty/foamx3m/wmake/rules/linuxIcc/c++: -------------------------------------------------------------------------------- 1 | .SUFFIXES: .C .cxx .cc .cpp 2 | 3 | c++WARN = -wd654 -wd1125 -vec-report0 4 | 5 | CC = icpc -DIntel 6 | 7 | include $(RULES)/c++$(WM_COMPILE_OPTION) 8 | 9 | ptFLAGS = -DNoRepository 10 | 11 | c++FLAGS = $(GFLAGS) $(c++WARN) $(c++OPT) $(c++DBUG) $(ptFLAGS) $(LIB_HEADER_DIRS) -fPIC 12 | 13 | Ctoo = $(WM_SCHEDULER) $(CC) $(c++FLAGS) -c $$SOURCE -o $@ 14 | cxxtoo = $(Ctoo) 15 | cctoo = $(Ctoo) 16 | cpptoo = $(Ctoo) 17 | 18 | LINK_LIBS = $(c++DBUG) -L$(IA32ROOT)/lib 19 | 20 | LINKLIBSO = $(CC) $(c++FLAGS) -shared 21 | LINKEXE = $(CC) $(c++FLAGS) 22 | -------------------------------------------------------------------------------- /thirdparty/foamx3m/wmake/rules/linuxIA64Icc/c++: -------------------------------------------------------------------------------- 1 | .SUFFIXES: .C .cxx .cc .cpp 2 | 3 | c++WARN = -wd327,654,819,1125,1476,1505,1572 4 | 5 | CC = icpc 6 | 7 | include $(RULES)/c++$(WM_COMPILE_OPTION) 8 | 9 | ptFLAGS = -DNoRepository 10 | 11 | c++FLAGS = $(GFLAGS) $(c++WARN) $(c++OPT) $(c++DBUG) $(ptFLAGS) $(LIB_HEADER_DIRS) -fPIC 12 | 13 | Ctoo = $(WM_SCHEDULER) $(CC) $(c++FLAGS) -c $$SOURCE -o $@ 14 | cxxtoo = $(Ctoo) 15 | cctoo = $(Ctoo) 16 | cpptoo = $(Ctoo) 17 | 18 | LINK_LIBS = $(c++DBUG) -L$(IA32ROOT)/lib 19 | 20 | LINKLIBSO = $(CC) $(c++FLAGS) -shared 21 | LINKEXE = $(CC) $(c++FLAGS) 22 | -------------------------------------------------------------------------------- /thirdparty/foamx3m/wmake/rules/FreeBSD/c++: -------------------------------------------------------------------------------- 1 | .SUFFIXES: .C .cxx .cc .cpp 2 | 3 | c++WARN = -Wall -W -Wno-unused-parameter 4 | 5 | include $(RULES)/c++$(WM_COMPILE_OPTION) 6 | 7 | ptFLAGS = -DNoRepository -ftemplate-depth-200 8 | 9 | c++FLAGS = $(GFLAGS) $(c++WARN) $(c++OPT) $(c++DBUG) $(ptFLAGS) $(LIB_HEADER_DIRS) -fPIC $(PTHREAD_CFLAGS) 10 | 11 | Ctoo = $(WM_CC_DRIVER) $(CC) $(c++FLAGS) -c $$SOURCE -o $@ 12 | cxxtoo = $(Ctoo) 13 | cctoo = $(Ctoo) 14 | cpptoo = $(Ctoo) 15 | 16 | LINK_LIBS = $(c++DBUG) -lstdc++ $(PTHREAD_LIBS) 17 | 18 | LINKLIBSO = $(CC) $(c++FLAGS) -shared 19 | LINKEXE = $(CC) $(c++FLAGS) 20 | -------------------------------------------------------------------------------- /thirdparty/foamx3m/wmake/rules/linuxIA64I64/c++: -------------------------------------------------------------------------------- 1 | .SUFFIXES: .C .cxx .cc .cpp 2 | 3 | c++WARN = -wd654,819,1125,1476,1505,1572 4 | 5 | CC = icpc -DIntel 6 | 7 | include $(RULES)/c++$(WM_COMPILE_OPTION) 8 | 9 | ptFLAGS = -DNoRepository 10 | 11 | c++FLAGS = $(GFLAGS) $(c++WARN) $(c++OPT) $(c++DBUG) $(ptFLAGS) $(LIB_HEADER_DIRS) -fPIC 12 | 13 | Ctoo = $(WM_SCHEDULER) $(CC) $(c++FLAGS) -c $$SOURCE -o $@ 14 | cxxtoo = $(Ctoo) 15 | cctoo = $(Ctoo) 16 | cpptoo = $(Ctoo) 17 | 18 | LINK_LIBS = $(c++DBUG) -L$(IA32ROOT)/lib 19 | 20 | LINKLIBSO = $(CC) $(c++FLAGS) -shared 21 | LINKEXE = $(CC) $(c++FLAGS) 22 | -------------------------------------------------------------------------------- /thirdparty/foamx3m/wmake/rules/linux64Icc/c++: -------------------------------------------------------------------------------- 1 | .SUFFIXES: .C .cxx .cc .cpp 2 | 3 | c++WARN = -wd327,584,654,819,1125,1476,1505,1572 4 | 5 | CC = icpc -DIntel -std=c++11 6 | 7 | include $(RULES)/c++$(WM_COMPILE_OPTION) 8 | 9 | ptFLAGS = -DNoRepository 10 | 11 | c++FLAGS = $(GFLAGS) $(c++WARN) $(c++OPT) $(c++DBUG) $(ptFLAGS) $(LIB_HEADER_DIRS) -fPIC 12 | 13 | Ctoo = $(WM_SCHEDULER) $(CC) $(c++FLAGS) -c $$SOURCE -o $@ 14 | cxxtoo = $(Ctoo) 15 | cctoo = $(Ctoo) 16 | cpptoo = $(Ctoo) 17 | 18 | LINK_LIBS = $(c++DBUG) -lrt 19 | 20 | LINKLIBSO = $(CC) $(c++FLAGS) -shared 21 | LINKEXE = $(CC) $(c++FLAGS) 22 | -------------------------------------------------------------------------------- /thirdparty/foamx3m/src/transportModels/incompressible/Make/files: -------------------------------------------------------------------------------- 1 | viscosityModels/viscosityModel/viscosityModel.C 2 | viscosityModels/viscosityModel/newViscosityModel.C 3 | viscosityModels/Newtonian/Newtonian.C 4 | viscosityModels/powerLaw/powerLaw.C 5 | viscosityModels/CrossPowerLaw/CrossPowerLaw.C 6 | viscosityModels/BirdCarreau/BirdCarreau.C 7 | viscosityModels/HerschelBulkley/HerschelBulkley.C 8 | viscosityModels/freeSurface/freeSurface.C 9 | 10 | transportModel/transportModel.C 11 | singlePhaseTransportModel/singlePhaseTransportModel.C 12 | 13 | incompressibleTwoPhaseMixture/twoPhaseMixture.C 14 | 15 | LIB = $(FOAM_LIBBIN)/libincompressibleTransportModels 16 | -------------------------------------------------------------------------------- /thirdparty/foamx3m/src/meshTools/Make/options: -------------------------------------------------------------------------------- 1 | ifneq ($(FLEX_DIR),) 2 | EXE_INC = \ 3 | -I$(FLEX_DIR)/include \ 4 | -I$(LIB_SRC)/meshTools/lnInclude \ 5 | -I$(WM_THIRD_PARTY_DIR)/zlib-1.2.3 \ 6 | -I$(LIB_SRC)/decompositionMethods/decompositionMethods/lnInclude \ 7 | -I$(LIB_SRC)/lagrangian/basic/lnInclude 8 | else 9 | EXE_INC = \ 10 | -I$(LIB_SRC)/meshTools/lnInclude \ 11 | -I$(WM_THIRD_PARTY_DIR)/zlib-1.2.3 \ 12 | -I$(LIB_SRC)/decompositionMethods/decompositionMethods/lnInclude \ 13 | -I$(LIB_SRC)/lagrangian/basic/lnInclude 14 | endif 15 | 16 | LIB_LIBS = \ 17 | -l:libdecompositionMethods.$(SO) \ 18 | -l:liblagrangian.$(SO) 19 | -------------------------------------------------------------------------------- /thirdparty/foamx3m/bin/tools/replaceAllShellSun: -------------------------------------------------------------------------------- 1 | #!/usr/xpg4/bin/sh 2 | 3 | # Replace all shell script headers with 4 | if [ $# -ne 1 -o ! -d "$1" ]; then 5 | echo "Usage: `basename $0` " 6 | echo "" 7 | echo "Replaces all occurrences of #!/bin/sh with #!/usr/xpg4/bin/sh inside a directory tree." 8 | exit 1 9 | fi 10 | 11 | #- note that below does not work since {} does not get replaced 12 | #find $1 -type f -exec /usr/xpg4/bin/sh -c "grep '^#\!/bin/sh' {} >/dev/null && echo {} && mv {} {}_bak && sed -e 's@^#\!/bin/sh@#\!/usr/xpg4/bin/sh@' {}_bak > {}" ';' 13 | 14 | find $1 -exec $WM_PROJECT_DIR/bin/tools/inlineReplace '^#\!/bin/sh' '#\!/usr/xpg4/bin/sh' {} \; -print 15 | 16 | -------------------------------------------------------------------------------- /thirdparty/foamx3m/src/lagrangian/molecularDynamics/molecule/mdTools/calculateMDFields.H: -------------------------------------------------------------------------------- 1 | const List >& cellOccupancy = molecules.cellOccupancy(); 2 | 3 | forAll(cellOccupancy, cell) 4 | { 5 | const List& molsInCell = cellOccupancy[cell]; 6 | 7 | forAll(molsInCell, mIC) 8 | { 9 | molecule* mol = molsInCell[mIC]; 10 | 11 | const label molId = mol->id(); 12 | 13 | const vector& molU = mol->U(); 14 | 15 | allSpeciesN_RU[molId][cell]++; 16 | 17 | allSpeciesM_RU[molId][cell] += mol->mass(); 18 | 19 | allSpeciesVelocitySum_RU[molId][cell] += molU; 20 | 21 | allSpeciesVelocityMagSquaredSum_RU[molId][cell] += molU & molU; 22 | } 23 | } 24 | -------------------------------------------------------------------------------- /thirdparty/foamx3m/applications/utilities/parallelProcessing/decomposePar/Make/options: -------------------------------------------------------------------------------- 1 | EXE_INC = \ 2 | -I$(LIB_SRC)/decompositionMethods/decompositionMethods/lnInclude \ 3 | -I$(LIB_SRC)/meshTools/lnInclude \ 4 | -I$(LIB_SRC)/finiteVolume/lnInclude \ 5 | -I$(LIB_SRC)/finiteArea/lnInclude \ 6 | -I$(LIB_SRC)/lagrangian/basic/lnInclude \ 7 | -I$(LIB_SRC)/tetFiniteElement/lnInclude 8 | 9 | EXE_LIBS = -L$(psInstall)/lib \ 10 | -l:libfiniteVolume.$(SO) \ 11 | -l:libdecompositionMethods.$(SO) \ 12 | -l:libmeshTools.$(SO) \ 13 | -l:liblagrangian.$(SO) \ 14 | -l:libscotchDecomp.$(SO) -lscotch 15 | 16 | delsSkip = -ltetFiniteElement 17 | delsSkip = -lfiniteArea 18 | -------------------------------------------------------------------------------- /thirdparty/foamx3m/AllDistclean: -------------------------------------------------------------------------------- 1 | #!/bin/bash 2 | cd ${0%/*} || exit 1 # run from this directory 3 | 4 | if [ "$WM_PROJECT_DIR" == "" ] ; then 5 | source etc/bashrc 6 | echo "$WM_PROJECT_DIR" 7 | fi 8 | 9 | if [ "$PWD" != "$WM_PROJECT_DIR" ] ; then 10 | echo "Error: Current directory is not \$WM_PROJECT_DIR" 11 | echo " The environment variable are not consistent with the installation." 12 | echo " Check the OpenFOAM entries in your dot-files and (un)source them." 13 | exit 1 14 | fi 15 | 16 | ./AllClean 17 | wcleanLnIncludeAll 18 | rm -rf $WM_PROJECT_DIR/applications/bin/$WM_OPTIONS 19 | rm -rf $WM_PROJECT_DIR/lib/$WM_OPTIONS 20 | rm -rf $WM_PROJECT_DIR/wmake/bin/$WM_OPTIONS 21 | -------------------------------------------------------------------------------- /thirdparty/foamx3m/src/foam/include/createNamedMesh.H: -------------------------------------------------------------------------------- 1 | // 2 | // createNamedMesh.H 3 | // ~~~~~~~~~~~~~~~~~ 4 | 5 | Foam::word regionName; 6 | 7 | if (args.optionReadIfPresent("region", regionName)) 8 | { 9 | Foam::Info 10 | << "Create mesh " << regionName << " for time = " 11 | << runTime.timeName() << Foam::nl << Foam::endl; 12 | } 13 | else 14 | { 15 | regionName = Foam::fvMesh::defaultRegion; 16 | Foam::Info 17 | << "Create mesh for time = " 18 | << runTime.timeName() << Foam::nl << Foam::endl; 19 | } 20 | 21 | Foam::fvMesh mesh 22 | ( 23 | Foam::IOobject 24 | ( 25 | regionName, 26 | runTime.timeName(), 27 | runTime, 28 | Foam::IOobject::MUST_READ 29 | ) 30 | ); 31 | -------------------------------------------------------------------------------- /thirdparty/foamx3m/src/lagrangian/molecularDynamics/molecule/mdTools/resetMDFields.H: -------------------------------------------------------------------------------- 1 | if (runTime.outputTime()) 2 | { 3 | allSpeciesN_RU = List< scalarField > 4 | ( 5 | molecules.potential().nIds(), 6 | scalarField(mesh.nCells(), 0.0) 7 | ); 8 | 9 | allSpeciesM_RU = List< scalarField > 10 | ( 11 | molecules.potential().nIds(), 12 | scalarField(mesh.nCells(), 0.0) 13 | ); 14 | 15 | allSpeciesVelocitySum_RU = List< vectorField > 16 | ( 17 | molecules.potential().nIds(), 18 | vectorField(mesh.nCells(), vector::zero) 19 | ); 20 | 21 | allSpeciesVelocityMagSquaredSum_RU = List< scalarField > 22 | ( 23 | molecules.potential().nIds(), 24 | scalarField(mesh.nCells(), 0.0) 25 | ); 26 | } 27 | -------------------------------------------------------------------------------- /thirdparty/foamx3m/src/dynamicMesh/dynamicFvMesh/Make/files: -------------------------------------------------------------------------------- 1 | dynamicFvMesh/dynamicFvMesh.C 2 | dynamicFvMesh/newDynamicFvMesh.C 3 | 4 | staticFvMesh/staticFvMesh.C 5 | solidBodyMotionFvMesh/solidBodyMotionFvMesh.C 6 | dynamicBoxFvMesh/dynamicBoxFvMesh.C 7 | movingBoxFvMesh/movingBoxFvMesh.C 8 | /*dynamicBodyFvMesh/dynamicBodyFvMesh.C*/ 9 | dynamicMotionSolverFvMesh/dynamicMotionSolverFvMesh.C 10 | subsetMotionSolverFvMesh/subsetMotionSolverFvMesh.C 11 | dynamicInkJetFvMesh/dynamicInkJetFvMesh.C 12 | dynamicRefineFvMesh/dynamicRefineFvMesh.C 13 | 14 | mixerGgiFvMesh/mixerGgiFvMesh.C 15 | turboFvMesh/turboFvMesh.C 16 | 17 | fvMeshAdder/fvMeshAdder.C 18 | fvMeshDistribute/fvMeshDistribute.C 19 | 20 | LIB = $(FOAM_LIBBIN)/libdynamicFvMesh 21 | -------------------------------------------------------------------------------- /thirdparty/foamx3m/wmake/rules/solarisGcc/c++: -------------------------------------------------------------------------------- 1 | .SUFFIXES: .C .cxx .cc .cpp 2 | 3 | c++WARN = -Wall -Wextra -Wno-unused-parameter 4 | 5 | CC = g++ 6 | 7 | include $(RULES)/c++$(WM_COMPILE_OPTION) 8 | 9 | ptFLAGS = -DNoRepository -ftemplate-depth-200 10 | 11 | c++FLAGS = $(GFLAGS) $(c++WARN) $(c++OPT) $(c++DBUG) $(ptFLAGS) $(LIB_HEADER_DIRS) -fPIC 12 | 13 | Ctoo = $(WM_SCHEDULER) $(CC) $(c++FLAGS) -c $$SOURCE -o $@ 14 | cxxtoo = $(Ctoo) 15 | cctoo = $(Ctoo) 16 | cpptoo = $(Ctoo) 17 | 18 | LINK_LIBS = $(c++DBUG) 19 | 20 | LINKLIBSO = $(CC) $(c++FLAGS) -shared -Xlinker --add-needed -Xlinker --no-as-needed 21 | LINKEXE = $(CC) $(c++FLAGS) -Xlinker --add-needed -Xlinker --no-as-needed 22 | -------------------------------------------------------------------------------- /thirdparty/foamx3m/src/finiteVolume/cfdTools/general/include/fvCFD.H: -------------------------------------------------------------------------------- 1 | #ifndef fvCFD_H 2 | #define fvCFD_H 3 | 4 | #include "parRun.H" 5 | 6 | #include "objectRegistry.H" 7 | #include "foamTime.H" 8 | #include "fvMesh.H" 9 | #include "fvc.H" 10 | #include "fvMatrices.H" 11 | #include "fvm.H" 12 | #include "linear.H" 13 | #include "uniformDimensionedFields.H" 14 | #include "calculatedFvPatchFields.H" 15 | #include "fixedValueFvPatchFields.H" 16 | #include "adjustPhi.H" 17 | #include "findRefCell.H" 18 | #include "mathematicalConstants.H" 19 | 20 | #include "OSspecific.H" 21 | #include "argList.H" 22 | #include "timeSelector.H" 23 | 24 | #ifndef namespaceFoam 25 | #define namespaceFoam 26 | using namespace Foam; 27 | #endif 28 | 29 | #endif 30 | -------------------------------------------------------------------------------- /thirdparty/foamx3m/src/foam/include/createNamedPolyMesh.H: -------------------------------------------------------------------------------- 1 | // 2 | // createNamedPolyMesh.H 3 | // ~~~~~~~~~~~~~~~~~~~~~ 4 | 5 | Foam::word regionName; 6 | 7 | if (args.optionReadIfPresent("region", regionName)) 8 | { 9 | Foam::Info 10 | << "Create polyMesh " << regionName << " for time = " 11 | << runTime.timeName() << Foam::nl << Foam::endl; 12 | } 13 | else 14 | { 15 | regionName = Foam::polyMesh::defaultRegion; 16 | Foam::Info 17 | << "Create polyMesh for time = " 18 | << runTime.timeName() << Foam::nl << Foam::endl; 19 | } 20 | 21 | Foam::polyMesh mesh 22 | ( 23 | Foam::IOobject 24 | ( 25 | regionName, 26 | runTime.timeName(), 27 | runTime, 28 | Foam::IOobject::MUST_READ 29 | ) 30 | ); 31 | -------------------------------------------------------------------------------- /thirdparty/foamx3m/wmake/src/dirToString.c: -------------------------------------------------------------------------------- 1 | 2 | #include 3 | #include 4 | #include 5 | 6 | int main() 7 | { 8 | int c; 9 | int nextupper = 0; 10 | 11 | while ((c=getchar()) != EOF) 12 | { 13 | if (c == '/') 14 | { 15 | nextupper = 1; 16 | } 17 | else 18 | { 19 | if (nextupper) 20 | { 21 | putchar(toupper(c)); 22 | } 23 | else 24 | { 25 | putchar(c); 26 | } 27 | 28 | nextupper = 0; 29 | } 30 | } 31 | 32 | return 0; 33 | } 34 | 35 | 36 | /*****************************************************************************/ 37 | -------------------------------------------------------------------------------- /src/script/toolchain.icc.txt: -------------------------------------------------------------------------------- 1 | 2 | # the name of the target operating system 3 | SET(CMAKE_SYSTEM_NAME Linux) 4 | 5 | # which compilers to use for C and C++ 6 | SET(CMAKE_C_COMPILER icc) 7 | SET(CMAKE_CXX_COMPILER icpc) 8 | SET(CMAKE_FC_COMPILER ifort) 9 | SET(CMAKE_RC_COMPILER gw32-windres) 10 | 11 | # here is the target environment located 12 | SET(CMAKE_FIND_ROOT_PATH $ICC_HOME ) 13 | 14 | # adjust the default behaviour of the FIND_XXX() commands: 15 | # search headers and libraries in the target environment, search 16 | # programs in the host environment 17 | set(CMAKE_FIND_ROOT_PATH_MODE_PROGRAM NEVER) 18 | set(CMAKE_FIND_ROOT_PATH_MODE_LIBRARY ONLY) 19 | set(CMAKE_FIND_ROOT_PATH_MODE_INCLUDE ONLY) 20 | SET(CMAKE_EXE_LINKER_FLAGS "-static") 21 | -------------------------------------------------------------------------------- /thirdparty/foamx3m/wmake/rules/linuxGcc45/c++: -------------------------------------------------------------------------------- 1 | .SUFFIXES: .C .cxx .cc .cpp 2 | 3 | c++WARN = -Wall -Wextra -Wno-unused-parameter -Wold-style-cast 4 | 5 | CC = g++ -m32 6 | 7 | include $(RULES)/c++$(WM_COMPILE_OPTION) 8 | 9 | ptFLAGS = -DNoRepository -ftemplate-depth-200 10 | 11 | c++FLAGS = $(GFLAGS) $(c++WARN) $(c++OPT) $(c++DBUG) $(ptFLAGS) $(LIB_HEADER_DIRS) -fPIC 12 | 13 | Ctoo = $(WM_SCHEDULER) $(CC) $(c++FLAGS) -c $$SOURCE -o $@ 14 | cxxtoo = $(Ctoo) 15 | cctoo = $(Ctoo) 16 | cpptoo = $(Ctoo) 17 | 18 | LINK_LIBS = $(c++DBUG) 19 | 20 | LINKLIBSO = $(CC) $(c++FLAGS) -shared -Xlinker --add-needed -Xlinker --no-as-needed 21 | LINKEXE = $(CC) $(c++FLAGS) -Xlinker --add-needed -Xlinker --no-as-needed -------------------------------------------------------------------------------- /thirdparty/foamx3m/wmake/rules/linuxGcc46/c++: -------------------------------------------------------------------------------- 1 | .SUFFIXES: .C .cxx .cc .cpp 2 | 3 | c++WARN = -Wall -Wextra -Wno-unused-parameter -Wold-style-cast 4 | 5 | CC = g++ -m32 6 | 7 | include $(RULES)/c++$(WM_COMPILE_OPTION) 8 | 9 | ptFLAGS = -DNoRepository -ftemplate-depth-200 10 | 11 | c++FLAGS = $(GFLAGS) $(c++WARN) $(c++OPT) $(c++DBUG) $(ptFLAGS) $(LIB_HEADER_DIRS) -fPIC 12 | 13 | Ctoo = $(WM_SCHEDULER) $(CC) $(c++FLAGS) -c $$SOURCE -o $@ 14 | cxxtoo = $(Ctoo) 15 | cctoo = $(Ctoo) 16 | cpptoo = $(Ctoo) 17 | 18 | LINK_LIBS = $(c++DBUG) 19 | 20 | LINKLIBSO = $(CC) $(c++FLAGS) -shared -Xlinker --add-needed -Xlinker --no-as-needed 21 | LINKEXE = $(CC) $(c++FLAGS) -Xlinker --add-needed -Xlinker --no-as-needed -------------------------------------------------------------------------------- /thirdparty/foamx3m/wmake/rules/linuxIA64Gcc/c++: -------------------------------------------------------------------------------- 1 | .SUFFIXES: .C .cxx .cc .cpp 2 | 3 | c++WARN = -Wall -Wextra -Wno-unused-parameter -Wold-style-cast 4 | 5 | CC = g++ 6 | 7 | include $(RULES)/c++$(WM_COMPILE_OPTION) 8 | 9 | ptFLAGS = -DNoRepository -ftemplate-depth-200 10 | 11 | c++FLAGS = $(GFLAGS) $(c++WARN) $(c++OPT) $(c++DBUG) $(ptFLAGS) $(LIB_HEADER_DIRS) -fPIC 12 | 13 | Ctoo = $(WM_SCHEDULER) $(CC) $(c++FLAGS) -c $$SOURCE -o $@ 14 | cxxtoo = $(Ctoo) 15 | cctoo = $(Ctoo) 16 | cpptoo = $(Ctoo) 17 | 18 | LINK_LIBS = $(c++DBUG) 19 | 20 | LINKLIBSO = $(CC) $(c++FLAGS) -shared -Xlinker --add-needed -Xlinker --no-as-needed 21 | LINKEXE = $(CC) $(c++FLAGS) -Xlinker --add-needed -Xlinker --no-as-needed 22 | -------------------------------------------------------------------------------- /thirdparty/foamx3m/wmake/rules/SunOS64Gcc/c++: -------------------------------------------------------------------------------- 1 | .SUFFIXES: .C .cxx .cc .cpp 2 | 3 | c++WARN = -Wall -Wextra -Wno-unused-parameter -Wold-style-cast 4 | 5 | CC = g++ -m64 6 | 7 | include $(RULES)/c++$(WM_COMPILE_OPTION) 8 | 9 | ptFLAGS = -DNoRepository -ftemplate-depth-200 10 | 11 | c++FLAGS = $(GFLAGS) $(c++WARN) $(c++OPT) $(c++DBUG) $(ptFLAGS) $(LIB_HEADER_DIRS) -fPIC 12 | 13 | Ctoo = $(WM_SCHEDULER) $(CC) $(c++FLAGS) -c $$SOURCE -o $@ 14 | cxxtoo = $(Ctoo) 15 | cctoo = $(Ctoo) 16 | cpptoo = $(Ctoo) 17 | 18 | LINK_LIBS = $(c++DBUG) 19 | 20 | LINKLIBSO = $(CC) $(c++FLAGS) -shared -Xlinker --add-needed -Xlinker --no-as-needed 21 | LINKEXE = $(CC) $(c++FLAGS) -Xlinker --add-needed -Xlinker --no-as-needed 22 | -------------------------------------------------------------------------------- /thirdparty/foamx3m/wmake/rules/linuxGcc/c++: -------------------------------------------------------------------------------- 1 | .SUFFIXES: .C .cxx .cc .cpp 2 | 3 | c++WARN = -Wall -Wextra -Wno-unused-parameter -Wold-style-cast 4 | 5 | CC = g++ -m32 6 | 7 | include $(RULES)/c++$(WM_COMPILE_OPTION) 8 | 9 | ptFLAGS = -DNoRepository -ftemplate-depth-200 10 | 11 | c++FLAGS = $(GFLAGS) $(c++WARN) $(c++OPT) $(c++DBUG) $(ptFLAGS) $(LIB_HEADER_DIRS) -fPIC 12 | 13 | Ctoo = $(WM_SCHEDULER) $(CC) $(c++FLAGS) -c $$SOURCE -o $@ 14 | cxxtoo = $(Ctoo) 15 | cctoo = $(Ctoo) 16 | cpptoo = $(Ctoo) 17 | 18 | LINK_LIBS = $(c++DBUG) 19 | 20 | LINKLIBSO = $(CC) $(c++FLAGS) -shared -Xlinker --add-needed -Xlinker --no-as-needed 21 | LINKEXE = $(CC) $(c++FLAGS) -Xlinker --add-needed -Xlinker --no-as-needed 22 | -------------------------------------------------------------------------------- /thirdparty/foamx3m/bin/tools/inlineReplace: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | 3 | # $0 string1 string2 file1 .. filen 4 | # 5 | if [ $# -lt 3 ]; then 6 | echo "Usage: `basename $0` [-f] .. " 7 | echo "" 8 | echo "Replaces all occurrences of string1 by string2 in files." 9 | echo "(replacement of sed -i on those systems that don't support it)" 10 | exit 1 11 | fi 12 | 13 | FROMSTRING=$1 14 | shift 15 | TOSTRING=$1 16 | shift 17 | 18 | for f in $* 19 | do 20 | if grep "$FROMSTRING" "$f" >/dev/null 21 | then 22 | cp "$f" "${f}_bak" 23 | sed -e "s@$FROMSTRING@$TOSTRING@g" "${f}"_bak > "$f" 24 | rm -f "${f}"_bak 25 | #else 26 | # echo "String $FROMSTRING not present in $f" 27 | #fi 28 | done 29 | -------------------------------------------------------------------------------- /thirdparty/foamx3m/wmake/rules/linuxPPC64Gcc/c++: -------------------------------------------------------------------------------- 1 | .SUFFIXES: .C .cxx .cc .cpp 2 | 3 | c++WARN = -Wall -Wextra -Wno-unused-parameter -Wold-style-cast 4 | 5 | CC = g++ -m64 -mcpu=power5+ 6 | 7 | include $(RULES)/c++$(WM_COMPILE_OPTION) 8 | 9 | ptFLAGS = -DNoRepository -ftemplate-depth-200 10 | 11 | c++FLAGS = $(GFLAGS) $(c++WARN) $(c++OPT) $(c++DBUG) $(ptFLAGS) $(LIB_HEADER_DIRS) -fPIC 12 | 13 | Ctoo = $(WM_SCHEDULER) $(CC) $(c++FLAGS) -c $$SOURCE -o $@ 14 | cxxtoo = $(Ctoo) 15 | cctoo = $(Ctoo) 16 | cpptoo = $(Ctoo) 17 | 18 | LINK_LIBS = $(c++DBUG) 19 | 20 | LINKLIBSO = $(CC) $(c++FLAGS) -shared -Xlinker --add-needed -Xlinker --no-as-needed 21 | LINKEXE = $(CC) $(c++FLAGS) -Xlinker --add-needed -Xlinker --no-as-needed 22 | -------------------------------------------------------------------------------- /thirdparty/foamx3m/AllInstall: -------------------------------------------------------------------------------- 1 | #!/bin/bash 2 | cd ${0%/*} || exit 1 # run from this directory 3 | 4 | if [ "$WM_PROJECT_DIR" == "" ] ; then 5 | source etc/bashrc 6 | echo "$WM_PROJECT_DIR" 7 | fi 8 | 9 | if [ "$PWD" != "$WM_PROJECT_DIR" ] ; then 10 | echo "Error: Current directory is not \$WM_PROJECT_DIR" 11 | echo " The environment variable are not consistent with the installation." 12 | echo " Check the OpenFOAM entries in your dot-files and (un)source them." 13 | exit 1 14 | fi 15 | 16 | 17 | echo "Warning Assuming msRoot == '${msRoot}' == ../.." 18 | 19 | mkdir -p ../../bin/foamx3m 20 | mkdir -p ../../lib 21 | 22 | cp $FOAM_APPBIN/* ../../bin/foamx3m || echo "not built" 23 | cp $FOAM_LIBBIN/* ../../lib/ || echo "not built" 24 | -------------------------------------------------------------------------------- /thirdparty/foamx3m/AllClean: -------------------------------------------------------------------------------- 1 | #!/bin/bash 2 | cd ${0%/*} || exit 1 # run from this directory 3 | 4 | if [ "$WM_PROJECT_DIR" == "" ] ; then 5 | source etc/bashrc 6 | echo "$WM_PROJECT_DIR" 7 | fi 8 | 9 | if [ "$PWD" != "$WM_PROJECT_DIR" ] ; then 10 | echo "Error: Current directory is not \$WM_PROJECT_DIR" 11 | echo " The environment variable are not consistent with the installation." 12 | echo " Check the OpenFOAM entries in your dot-files and (un)source them." 13 | exit 1 14 | fi 15 | 16 | rmdepall 17 | [ -d cfMesh ] && (cd cfMesh && ./Allwclean) 18 | 19 | rm -rf `find . | grep Make/$WM_OPTIONS` 20 | ### from AllDistClean: 21 | #wcleanLnIncludeAll 22 | #rm -rf $WM_PROJECT_DIR/applications/bin/$WM_OPTIONS 23 | #rm -rf $WM_PROJECT_DIR/lib/$WM_OPTIONS 24 | -------------------------------------------------------------------------------- /thirdparty/foamx3m/wmake/rules/linux64Gcc/c++: -------------------------------------------------------------------------------- 1 | .SUFFIXES: .C .cxx .cc .cpp 2 | 3 | c++WARN = -Wall -Wextra -Wno-unused-parameter -Wnon-virtual-dtor 4 | 5 | CC = $(WM_CXX) -m64 -std=c++11 6 | 7 | include $(RULES)/c++$(WM_COMPILE_OPTION) 8 | 9 | ptFLAGS = -DNoRepository -ftemplate-depth-200 10 | 11 | c++FLAGS = $(GFLAGS) $(c++WARN) $(c++OPT) $(c++DBUG) $(ptFLAGS) $(LIB_HEADER_DIRS) -fPIC 12 | 13 | Ctoo = $(WM_SCHEDULER) $(CC) $(c++FLAGS) -c $$SOURCE -o $@ 14 | cxxtoo = $(Ctoo) 15 | cctoo = $(Ctoo) 16 | cpptoo = $(Ctoo) 17 | 18 | LINK_LIBS = $(c++DBUG) -lrt 19 | 20 | LINKLIBSO = $(CC) $(c++FLAGS) -shared -Xlinker --add-needed -Xlinker --no-as-needed 21 | LINKEXE = $(CC) $(c++FLAGS) -Xlinker --add-needed -Xlinker --no-as-needed 22 | -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- 1 | 2 | Make/*/ 3 | bin/ 4 | build/* 5 | include/ 6 | lib/ 7 | share/ 8 | test/ 9 | **/bu 10 | **/BU 11 | *.log 12 | log.* 13 | *-.cpp 14 | **/__pycache__ 15 | *.pyc 16 | **/*.pyc 17 | *- 18 | **/lnInclude/ 19 | **/Make/linux*/ 20 | 21 | *_secrets 22 | 23 | #latex 24 | *.aux 25 | *.toc 26 | 27 | 28 | 29 | 30 | thirdparty/**/bin/ 31 | 32 | 33 | 34 | # Prerequisites 35 | *.d 36 | *.dep 37 | 38 | # Compiled Object files 39 | *.slo 40 | *.lo 41 | *.o 42 | *.obj 43 | 44 | # Precompiled Headers 45 | *.gch 46 | *.pch 47 | 48 | # Compiled Dynamic libraries 49 | *.so 50 | *.dylib 51 | *.dll 52 | 53 | # Fortran module files 54 | *.mod 55 | *.smod 56 | 57 | # Compiled Static libraries 58 | *.lai 59 | *.la 60 | *.a 61 | *.lib 62 | 63 | # Executables 64 | *.exe 65 | *.out 66 | *.app 67 | -------------------------------------------------------------------------------- /thirdparty/foamx3m/wmake/rules/SiCortex64Gcc/c++: -------------------------------------------------------------------------------- 1 | .SUFFIXES: .C .cxx .cc .cpp 2 | 3 | c++WARN = -Wall -Wextra -Wno-unused-parameter -Wold-style-cast 4 | 5 | CC = g++ -mabi=64 6 | #CC = scg++ -mabi=64 7 | 8 | include $(RULES)/c++$(WM_COMPILE_OPTION) 9 | 10 | ptFLAGS = -DNoRepository -ftemplate-depth-200 11 | 12 | c++FLAGS = -G0 $(GFLAGS) $(c++WARN) $(c++OPT) $(c++DBUG) $(ptFLAGS) $(LIB_HEADER_DIRS) -fPIC 13 | 14 | Ctoo = $(WM_SCHEDULER) $(CC) $(c++FLAGS) -c $$SOURCE -o $@ 15 | cxxtoo = $(Ctoo) 16 | cctoo = $(Ctoo) 17 | cpptoo = $(Ctoo) 18 | 19 | LINK_LIBS = $(c++DBUG) 20 | 21 | LINKLIBSO = $(CC) $(c++FLAGS) -shared -Xlinker --add-needed -Xlinker --no-as-needed 22 | LINKEXE = $(CC) $(c++FLAGS) -Xlinker --add-needed -Xlinker --no-as-needed 23 | -------------------------------------------------------------------------------- /src/libvoxel/test.py: -------------------------------------------------------------------------------- 1 | 2 | import os; ''' ========== set up paths =========== ''' 3 | if not ("msRoot" in os.environ): 4 | print("try again after running:\nsource .../src/bashrc"); exit(-1); 5 | from msrc import * 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | nErrs=0 14 | 15 | with open("voxcylinder.mhd", 'w') as f1: 16 | f1.write("""DimSize = 20 20 20 17 | Offset = 0 0 0 18 | replaceRange 0 255 1 19 | reset dx 1 20 | Paint cylinder 0 10 10 20 10 10 5 21 | reset dx 1e-6 22 | """);#ElementDataFile = NO_READ 23 | 24 | runSh('.', "voxelImageProcess voxcylinder.mhd voxcylinder.tif"); 25 | runSh('.', "voxelImageProcess voxcylinder.tif voxcylinder.mhd"); 26 | if fileFloatDiffersFrom("voxelImageProcess.log","totalPorosity:",math.pi*5*5/(20*20),0.05): nErrs+=1 27 | 28 | exit(nErrs) 29 | -------------------------------------------------------------------------------- /thirdparty/foamx3m/doc/buildInstructions/README: -------------------------------------------------------------------------------- 1 | Here you can find build instructions for foam-extend-3.1 . The instructions for 2 | different Linux distributions are in corresponding sub-folders. If you need to 3 | take different or additional steps to get foam-extend compiled on your machine, 4 | please file a bug at https://sourceforge.net/p/openfoam-extend/ticketsfoamextendrelease/. 5 | 6 | If you compiled/installed on a Linux distribution that is not listed here, 7 | please contribute to the project and submit installation instructions. 8 | For instructions, see: https://sourceforge.net/p/openfoam-extend/wiki/HowToContribute/ 9 | 10 | Please also refer to the unofficial OpenFOAM Wiki for additional installation 11 | instructions: 12 | http://openfoamwiki.net/index.php/Installation/Linux/foam-extend-3.1 13 | -------------------------------------------------------------------------------- /thirdparty/zlib/gzclose.c: -------------------------------------------------------------------------------- 1 | /* gzclose.c -- zlib gzclose() function 2 | * Copyright (C) 2004, 2010 Mark Adler 3 | * For conditions of distribution and use, see copyright notice in zlib.h 4 | */ 5 | 6 | #include "gzguts.h" 7 | 8 | /* gzclose() is in a separate file so that it is linked in only if it is used. 9 | That way the other gzclose functions can be used instead to avoid linking in 10 | unneeded compression or decompression routines. */ 11 | int ZEXPORT gzclose(file) 12 | gzFile file; 13 | { 14 | #ifndef NO_GZCOMPRESS 15 | gz_statep state; 16 | 17 | if (file == NULL) 18 | return Z_STREAM_ERROR; 19 | state = (gz_statep)file; 20 | 21 | return state->mode == GZ_READ ? gzclose_r(file) : gzclose_w(file); 22 | #else 23 | return gzclose_r(file); 24 | #endif 25 | } 26 | -------------------------------------------------------------------------------- /thirdparty/foamx3m/src/finiteVolume/cfdTools/general/include/checkPatchFieldTypes.H: -------------------------------------------------------------------------------- 1 | if (!isA(k_.boundaryField()[patchi])) 2 | { 3 | FatalErrorIn("wall-function evaluation") 4 | << k_.boundaryField()[patchi].type() 5 | << " is the wrong k patchField type for wall-functions on patch " 6 | << curPatch.name() << nl 7 | << " should be zeroGradient" 8 | << exit(FatalError); 9 | } 10 | 11 | if (!isA(epsilon_.boundaryField()[patchi])) 12 | { 13 | FatalErrorIn("wall-function evaluation") 14 | << epsilon_.boundaryField()[patchi].type() 15 | << " is the wrong epsilon patchField type for wall-functions on patch " 16 | << curPatch.name() << nl 17 | << " should be zeroGradient" 18 | << exit(FatalError); 19 | } 20 | -------------------------------------------------------------------------------- /src/porefoam1f/test.py: -------------------------------------------------------------------------------- 1 | 2 | import os; ''' ========== set up paths =========== ''' 3 | if not ("msRoot" in os.environ): 4 | print("try again after running:\nsource .../src/bashrc"); exit(-1); 5 | from msrc import *; 6 | DbgMsg('============ Ignore above messages ===============') 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | with open("voxcylinder.mhd", 'w') as f1: 17 | f1.write("""DimSize = 20 20 20 18 | Offset = 0 0 0 19 | replaceRange 0 255 1 20 | reset dx 1 1 1 21 | Paint cylinder 0 10 10 20 10 10 5 22 | reset dx 1e-6 1e-6 1e-6 23 | """);#ElementDataFile = NO_READ 24 | 25 | runSh('.', "rm -r voxcylinder/*"); 26 | runSh('.', "AllRunImagePar voxcylinder.mhd"); 27 | exit(fileFloatDiffersFrom("voxcylinder/voxcylinder-1-X/summary_voxcylinder-1-X.txt","K_x= ",2.44436e-12)) 28 | 29 | 30 | -------------------------------------------------------------------------------- /thirdparty/foamx3m/src/decompositionMethods/scotchDecomp/Make/options.bu: -------------------------------------------------------------------------------- 1 | EXE_INC = \ 2 | -I$(SCOTCH_INCLUDE_DIR) \ 3 | -I../decompositionMethods/lnInclude 4 | 5 | #if defined(darwin) 6 | 7 | /* No librt for Mac OS X */ 8 | LIB_LIBS = \ 9 | -l:libfoam.$(SO) \ 10 | -L$(SCOTCH_LIB_DIR) -lscotch \ 11 | -L$(SCOTCH_LIB_DIR) -lscotcherrexit 12 | 13 | #elif defined(mingw) 14 | 15 | /* No librt for MinGW */ 16 | LIB_LIBS = \ 17 | -l:libdecompositionMethods.$(SO) \ 18 | -L$(SCOTCH_LIB_DIR) -lscotch \ 19 | -L$(SCOTCH_LIB_DIR) -lscotcherrexit \ 20 | -L$(WM_THIRD_PARTY_DIR)/packages/pthreads-w32-2-9-1-release/Pre-built.2/lib/x64 -lpthreadGC2 \ 21 | -L$(OPENMPI_DIR)/lib -lmpi 22 | 23 | #else 24 | 25 | LIB_LIBS = \ 26 | -L$(SCOTCH_LIB_DIR) -lscotch \ 27 | -L$(SCOTCH_LIB_DIR) -lscotcherrexit \ 28 | -lrt 29 | 30 | #endif 31 | -------------------------------------------------------------------------------- /src/porefoam1f/icoNSFoam/correctmuEff.H: -------------------------------------------------------------------------------- 1 | 2 | { 3 | 4 | volVectorField gradP= fvc::grad(p); 5 | 6 | 7 | const fvBoundaryMesh& boundary = mesh.boundary(); 8 | forAll(boundary, bi) 9 | { 10 | auto& Upi = U.boundaryFieldRef()[bi]; 11 | if (isA(Upi)) 12 | { 13 | //- delta() is not cached, no good for memory nor efficiency, use 1/deltaCoeffs() instead 14 | auto& delCoefs = boundary[bi].deltaCoeffs(); 15 | 16 | muEff.boundaryFieldRef()[bi]+= 17 | min(0.001*cBC* //1.0526315789474; 18 | (mag(gradP.boundaryField()[bi].patchInternalField()))/ 19 | ( delCoefs*delCoefs*( mag(Upi.patchInternalField())+(0.001*gAverage(mag(Upi.patchInternalField()))+1e-9))), 1.*mu.value()); 20 | 21 | muEff.boundaryFieldRef()[bi]*=1./delCoefs/(1./delCoefs+lambda);//(1.-cSlip*4.*(apS*(1-apS))); 22 | 23 | } 24 | } 25 | } 26 | -------------------------------------------------------------------------------- /src/script/toolchain.exe.txt: -------------------------------------------------------------------------------- 1 | 2 | # the name of the target operating system 3 | SET(CMAKE_SYSTEM_NAME Windows) 4 | 5 | # which compilers to use for C and C++ 6 | SET(CMAKE_C_COMPILER x86_64-w64-mingw32-gcc) 7 | SET(CMAKE_CXX_COMPILER x86_64-w64-mingw32-g++) 8 | SET(CMAKE_RC_COMPILER x86_64-w64-mingw32-windres) 9 | 10 | # here is the target environment located 11 | SET(CMAKE_FIND_ROOT_PATH /usr/x86_64-w64-mingw32 ) 12 | SET(MINGW True) # for tif largefile support 13 | 14 | # adjust the default behaviour of the FIND_XXX() commands: 15 | # search headers and libraries in the target environment, search 16 | # programs in the host environment 17 | set(CMAKE_FIND_ROOT_PATH_MODE_PROGRAM NEVER) 18 | set(CMAKE_FIND_ROOT_PATH_MODE_LIBRARY ONLY) 19 | set(CMAKE_FIND_ROOT_PATH_MODE_INCLUDE ONLY) 20 | SET(CMAKE_EXE_LINKER_FLAGS "-static") 21 | SET(CMAKE_EXE_COMPILER_FLAGS "-std=c++17") 22 | -------------------------------------------------------------------------------- /thirdparty/foamx3m/wmake/rules/darwinIntel64Gcc/c++: -------------------------------------------------------------------------------- 1 | .SUFFIXES: .C .cxx .cc .cpp 2 | 3 | c++WARN = -Wall -Wextra -Wno-unused-parameter -Wold-style-cast -Wno-overloaded-virtual -Wno-unsequenced -Wno-c++11-extensions -Wno-unused-comparison 4 | 5 | CC = $(WM_CXX) $(WM_CXXFLAGS) -ftrapping-math 6 | 7 | include $(RULES)/c++$(WM_COMPILE_OPTION) 8 | 9 | ptFLAGS = -DNoRepository -ftemplate-depth-200 10 | 11 | c++FLAGS = $(GFLAGS) $(c++WARN) $(c++OPT) $(c++DBUG) $(ptFLAGS) $(LIB_HEADER_DIRS) -fPIC -Ddarwin 12 | 13 | Ctoo = $(WM_SCHEDULER) $(CC) $(c++FLAGS) -c $$SOURCE -o $@ 14 | cxxtoo = $(Ctoo) 15 | cctoo = $(Ctoo) 16 | cpptoo = $(Ctoo) 17 | 18 | LINK_LIBS = $(c++DBUG) -lpthread 19 | 20 | LINKLIBSO = $(CC) $(c++FLAGS) -lpthread -dynamiclib -undefined dynamic_lookup 21 | LINKEXE = $(CC) $(c++FLAGS) -lpthread -L$(FOAM_LIBBIN) -lfoam 22 | -------------------------------------------------------------------------------- /thirdparty/libtiff/.gitlab-ci.yml: -------------------------------------------------------------------------------- 1 | image: ubuntu:16.04 2 | before_script: 3 | - apt-get update -qq && apt-get install -y -qq autoconf automake build-essential cmake libtool libjpeg8-dev libjbig-dev liblzma-dev ninja-build zlib1g-dev zip wget 4 | 5 | stages: 6 | - build 7 | - pages 8 | 9 | autoconf: 10 | stage: build 11 | script: 12 | - sh build/gitlab-ci autoconf 13 | after_script: 14 | - 'cat autoconf-build/test/test-suite.log' 15 | 16 | cmake-makefiles: 17 | stage: build 18 | script: 19 | - sh build/gitlab-ci cmake "Unix Makefiles" Release 20 | 21 | cmake-ninja: 22 | stage: build 23 | script: 24 | - sh build/gitlab-ci cmake "Ninja" Debug 25 | 26 | pages: 27 | stage: pages 28 | script: 29 | - cp -r html public 30 | artifacts: 31 | name: $CI_PROJECT_NAME-$CI_JOB_NAME 32 | paths: 33 | - public 34 | only: 35 | - master 36 | -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- 1 | 2 | ## porefoam-singlePhase - direct single-phase flow simulator on micro-CT images 3 | ---------------------------------------------------------------- 4 | 5 | ## See [doc](doc) and [src/porefoam1f](src/porefoam1f) for details of single-phase flow codes. 6 | 7 | ## See [src/script/README.md](src/script/README.md) for compile/build instructions. 8 | 9 | See also README files for other modules which are located in their own directories: 10 | [src/libvoxel](src/libvoxel), [src/script](src/script) and in [thirdparty](thirdparty). 11 | 12 | 13 | ---------------------------------------------------------------- 14 | 15 | 16 | ### Contact and References ### 17 | 18 | For contacts and references please see: 19 | https://www.imperial.ac.uk/earth-science/research/research-groups/pore-scale-modelling/ 20 | or contact Ali Q. Raeini, email: a.q.raeini@imperial.ac.uk 21 | 22 | -------------------------------------------------------------------------------- /src/porefoam1f/calc_distributions/correctmuEff.H: -------------------------------------------------------------------------------- 1 | 2 | { 3 | 4 | volVectorField gradP= fvc::grad(p); 5 | 6 | volVectorField::Boundary& Ubf = U.boundaryField(); 7 | 8 | const fvBoundaryMesh& boundary = mesh.boundary(); 9 | forAll(boundary, bi) 10 | { 11 | if (isA(Ubf[bi])) 12 | { 13 | 14 | //muEff.boundaryField()[bi]+=cBC*mag(Ubf[bi].patchInternalField())*mag(boundary[bi].delta()); 15 | muEff.boundaryField()[bi]+= 16 | 0.001*cBC* //1.0526315789474; 17 | (mag(gradP.boundaryField()[bi].patchInternalField())) 18 | * (boundary[bi].delta()&boundary[bi].delta())/ 19 | (mag(Ubf[bi].patchInternalField())+(0.001*gAverage(mag(Ubf[bi].patchInternalField()))+1e-15)); 20 | 21 | muEff.boundaryField()[bi]*=1./boundary[bi].deltaCoeffs()/ 22 | (1./boundary[bi].deltaCoeffs()+lambda);//(1.-cSlip*4.*(apS*(1-apS))); 23 | 24 | } 25 | } 26 | } 27 | -------------------------------------------------------------------------------- /src/porefoam1f/icoNSFoam/setDeltaT.H: -------------------------------------------------------------------------------- 1 | 2 | //Description 3 | // Reset the timestep to maintain a constant maximum courant Number. 4 | // Reduction of time-step is immediate, but increase is damped to avoid 5 | // unstable oscillations. 6 | 7 | 8 | if (adjustTimeStep) 9 | { 10 | if(!(CoNum<10000.)){Info<<"Error CoNum="<0.05 )||( (1.-deltaTFact)>0.02 )) 17 | { 18 | runTime.setDeltaT 19 | ( 20 | min 21 | ( 22 | deltaTFact*runTime.deltaT().value(), 23 | maxDeltaT 24 | ) 25 | ); 26 | } 27 | 28 | Info<< "deltaT = " << runTime.deltaT().value() << endl; 29 | } 30 | 31 | // ************************************************************************* // 32 | -------------------------------------------------------------------------------- /thirdparty/foamx3m/AllMake: -------------------------------------------------------------------------------- 1 | #!/bin/bash 2 | cd ${0%/*} || exit 1 # run from this directory 3 | 4 | if [ "$WM_PROJECT_DIR" == "" ] ; then 5 | source etc/bashrc 6 | echo "$WM_PROJECT_DIR" 7 | fi 8 | 9 | if [ "$PWD" != "$WM_PROJECT_DIR" ] ; then 10 | echo "Error: Current directory is not \$WM_PROJECT_DIR" 11 | echo " The environment variable are not consistent with the installation." 12 | echo " Check the OpenFOAM entries in your dot-files and (un)source them." 13 | exit 1 14 | fi 15 | 16 | 17 | 18 | # build OpenFOAM libraries and applications 19 | 20 | (cd wmake/src && make) 21 | 22 | src/Allwmake 23 | 24 | if [ -f applications/Allwmake ] ; then 25 | applications/Allwmake 26 | fi 27 | 28 | if [ -f cfMesh/Allwmake ] ; then 29 | echo "(cd cfMesh && ./Allwmake)" 30 | (cd cfMesh && ./Allwmake) 31 | fi 32 | 33 | if [ "$1" = doc ] ; then 34 | doc/Allwmake 35 | fi 36 | -------------------------------------------------------------------------------- /src/porefoam1f/iPotentialFoam/correctmuEff.H: -------------------------------------------------------------------------------- 1 | 2 | { 3 | 4 | volVectorField gradP= fvc::grad(p); 5 | 6 | auto& Ubf = U.boundaryFieldRef(); 7 | 8 | const fvBoundaryMesh& boundary = mesh.boundary(); 9 | forAll(boundary, bi) 10 | { 11 | if (isA(Ubf[bi])) 12 | { 13 | //- delta() is not cached, not good for memory nor efficiency, use 1/deltaCoeffs() instead 14 | 15 | muEff.boundaryFieldRef()[bi]+= 16 | 0.001*cBC* //1.0526315789474; 17 | (mag(gradP.boundaryField()[bi].patchInternalField()))/ 18 | ( boundary[bi].deltaCoeffs()*boundary[bi].deltaCoeffs()*( mag(Ubf[bi].patchInternalField())+(0.001*gAverage(mag(Ubf[bi].patchInternalField()))+1e-15))); 19 | 20 | muEff.boundaryFieldRef()[bi]*=1./boundary[bi].deltaCoeffs()/ 21 | (1./boundary[bi].deltaCoeffs()+lambda);//(1.-cSlip*4.*(apS*(1-apS))); 22 | 23 | } 24 | } 25 | } 26 | -------------------------------------------------------------------------------- /src/porefoam1f/script/base/system/controlDict: -------------------------------------------------------------------------------- 1 | FoamFile // -*- C++ -*- 2 | { 3 | version 2.0; 4 | format ascii; 5 | class dictionary; 6 | location "system"; 7 | object controlDict; 8 | } 9 | 10 | 11 | application interFoam; 12 | 13 | maxExecutionTime 151200; // CPU time, seconds 14 | 15 | startFrom latestTime; 16 | 17 | startTime 0; 18 | 19 | stopAt endTime; 20 | 21 | endTime 0.1; 22 | 23 | deltaT 5e-8; 24 | 25 | writeControl timeStep; 26 | 27 | writeInterval 200; 28 | 29 | purgeWrite 1; 30 | 31 | writeFormat binary; 32 | 33 | writePrecision 6; 34 | 35 | writeCompression uncompressed; 36 | 37 | timeFormat general; 38 | 39 | timePrecision 8; 40 | 41 | runTimeModifiable yes; 42 | 43 | adjustTimeStep yes; 44 | 45 | maxCo 0.4; 46 | 47 | maxDeltaT 2e-4; 48 | 49 | 50 | 51 | -------------------------------------------------------------------------------- /thirdparty/foamx3m/Allwmake: -------------------------------------------------------------------------------- 1 | #!/bin/bash 2 | cd ${0%/*} || exit 1 # run from this directory 3 | 4 | if [ "$PWD" != "$WM_PROJECT_DIR" ] ; then 5 | echo "Error: Current directory is not \$WM_PROJECT_DIR" 6 | echo " The environment variable are not consistent with the installation." 7 | echo " Check the OpenFOAM entries in your dot-files and source them." 8 | exit 1 9 | fi 10 | 11 | # wmake is required for subsequent targets 12 | ( cd wmake/src && make ) 13 | 14 | # build ThirdParty sources 15 | # ( cd $WM_THIRD_PARTY_DIR && ./AllMake ) 16 | 17 | # We make sure the ThirdParty packages environment variables are up-to-date 18 | # before compiling the rest of OpenFOAM 19 | . $WM_PROJECT_DIR/etc/settings.sh 20 | 21 | # build OpenFOAM libraries and applications 22 | src/Allwmake 23 | applications/Allwmake 24 | (cd cfMesh && ./Allwmake) 25 | 26 | if [ "$1" = doc ] ; then 27 | doc/Allwmake 28 | fi 29 | -------------------------------------------------------------------------------- /thirdparty/libtiff/HOWTO-SECURITY-RELEASE: -------------------------------------------------------------------------------- 1 | LibTIFF Security Issue Handling 2 | =============================== 3 | 4 | Libtiff can be a significant security risk as many tools use it to read 5 | TIFF files which can come from hostile sources. Thus buffer overflows 6 | and other security holes in libtiff put many users at risk. To that end 7 | we try to deal with security problems fairly quickly and to provide advance 8 | notice to various interested parties to role out security fixes before they 9 | go out in a standard release. 10 | 11 | This document is new and will presumably evolve. 12 | 13 | 1) The mailing list distros@vs.openwall.org can be used to notify folks 14 | at various linux OS distributions as well as the BSD folks about problems 15 | in libtiff. Make sure to prefix subject with [vs]. More info at: 16 | 17 | http://oss-security.openwall.org/wiki/mailing-lists/distros 18 | 19 | ... to be continued ... 20 | -------------------------------------------------------------------------------- /thirdparty/foamx3m/src/finiteVolume/cfdTools/general/include/volContinuity.H: -------------------------------------------------------------------------------- 1 | if (mesh.moving()) 2 | { 3 | dimensionedScalar one("one", dimless, 1.0); 4 | 5 | volScalarField volConservation 6 | ( 7 | "volConservation", 8 | -fvc::div(mesh.phi()) 9 | ); 10 | 11 | // The ddt term constructed by hand because it must be Euler 12 | volConservation.internalField() += 13 | (1.0 - mesh.V0()/mesh.V())/runTime.deltaT().value(); 14 | 15 | scalar sumLocalVolContErr = runTime.deltaT().value()* 16 | mag(volConservation)().weightedAverage(mesh.V()).value(); 17 | 18 | scalar globalVolContErr = runTime.deltaT().value()* 19 | volConservation.weightedAverage(mesh.V()).value(); 20 | 21 | Info<< "volume continuity errors : " 22 | << "volume = " << sum(mesh.V()).value() 23 | << ", max error = " << max(volConservation.internalField()) 24 | << ", sum local = " << sumLocalVolContErr 25 | << ", global = " << globalVolContErr << endl; 26 | } 27 | -------------------------------------------------------------------------------- /src/porefoam1f/script/base/0/p.X: -------------------------------------------------------------------------------- 1 | FoamFile // -*- C++ -*- 2 | { 3 | version 2.0; 4 | format ascii; 5 | class volScalarField; 6 | location "0"; 7 | object p; 8 | } 9 | 10 | 11 | dimensions [1 -1 -2 0 0 0 0]; 12 | 13 | //dimensions [0 2 -2 0 0 0 0]; 14 | 15 | internalField uniform 0; 16 | 17 | 18 | 19 | 20 | boundaryField 21 | { 22 | 23 | Grainwalls 24 | { 25 | type zeroGradient; 26 | } 27 | Left 28 | { 29 | type fixedValue; 30 | value uniform 1; 31 | } 32 | Right 33 | { 34 | type fixedValue; 35 | value uniform 0; 36 | } 37 | Front 38 | { 39 | type zeroGradient; 40 | } 41 | Back 42 | { 43 | type zeroGradient; 44 | } 45 | Top 46 | { 47 | type zeroGradient; 48 | } 49 | Bottom 50 | { 51 | type zeroGradient; 52 | } 53 | "VV.*" 54 | { 55 | type zeroGradient; 56 | } 57 | "processor.*" 58 | { 59 | type processor; 60 | value uniform 0.0; 61 | } 62 | } 63 | 64 | 65 | 66 | 67 | -------------------------------------------------------------------------------- /src/porefoam1f/script/base/0/p.Y: -------------------------------------------------------------------------------- 1 | FoamFile // -*- C++ -*- 2 | { 3 | version 2.0; 4 | format ascii; 5 | class volScalarField; 6 | location "0"; 7 | object p; 8 | } 9 | 10 | 11 | dimensions [1 -1 -2 0 0 0 0]; 12 | 13 | //dimensions [0 2 -2 0 0 0 0]; 14 | 15 | internalField uniform 0; 16 | 17 | 18 | 19 | 20 | boundaryField 21 | { 22 | 23 | Grainwalls 24 | { 25 | type zeroGradient; 26 | } 27 | Bottom 28 | { 29 | type fixedValue; 30 | value uniform 1; 31 | } 32 | Top 33 | { 34 | type fixedValue; 35 | value uniform 0; 36 | } 37 | Front 38 | { 39 | type zeroGradient; 40 | } 41 | Back 42 | { 43 | type zeroGradient; 44 | } 45 | Right 46 | { 47 | type zeroGradient; 48 | } 49 | Left 50 | { 51 | type zeroGradient; 52 | } 53 | "VV.*" 54 | { 55 | type zeroGradient; 56 | } 57 | "processor.*" 58 | { 59 | type processor; 60 | value uniform 0.0; 61 | } 62 | } 63 | 64 | 65 | 66 | 67 | -------------------------------------------------------------------------------- /src/porefoam1f/script/base/0/p.Z: -------------------------------------------------------------------------------- 1 | FoamFile // -*- C++ -*- 2 | { 3 | version 2.0; 4 | format ascii; 5 | class volScalarField; 6 | location "0"; 7 | object p; 8 | } 9 | 10 | 11 | dimensions [1 -1 -2 0 0 0 0]; 12 | 13 | //dimensions [0 2 -2 0 0 0 0]; 14 | 15 | internalField uniform 0; 16 | 17 | 18 | 19 | 20 | boundaryField 21 | { 22 | 23 | Grainwalls 24 | { 25 | type zeroGradient; 26 | } 27 | Back 28 | { 29 | type fixedValue; 30 | value uniform 1; 31 | } 32 | Front 33 | { 34 | type fixedValue; 35 | value uniform 0; 36 | } 37 | Right 38 | { 39 | type zeroGradient; 40 | } 41 | Left 42 | { 43 | type zeroGradient; 44 | } 45 | Top 46 | { 47 | type zeroGradient; 48 | } 49 | Bottom 50 | { 51 | type zeroGradient; 52 | } 53 | "VV.*" 54 | { 55 | type zeroGradient; 56 | } 57 | "processor.*" 58 | { 59 | type processor; 60 | value uniform 0.0; 61 | } 62 | } 63 | 64 | 65 | 66 | 67 | -------------------------------------------------------------------------------- /thirdparty/foamx3m/wmake/rules/darwinIntel64Dragonegg/c++: -------------------------------------------------------------------------------- 1 | .SUFFIXES: .C .cxx .cc .cpp 2 | 3 | c++WARN = -Wall -Wextra -Wno-unused-parameter -Wold-style-cast -Wno-overloaded-virtual -Wno-unsequenced -Wno-c++11-extensions -Wno-unused-comparison 4 | 5 | CC = $(WM_CXX) $(WM_CXXFLAGS) -ftrapping-math 6 | 7 | include $(RULES)/c++$(WM_COMPILE_OPTION) 8 | 9 | ptFLAGS = -DNoRepository -ftemplate-depth-200 10 | 11 | c++FLAGS = $(GFLAGS) $(c++WARN) $(c++OPT) $(c++DBUG) $(ptFLAGS) $(LIB_HEADER_DIRS) -fPIC -Ddarwin 12 | 13 | Ctoo = $(WM_SCHEDULER) $(CC) $(c++FLAGS) -c $$SOURCE -o $@ 14 | cxxtoo = $(Ctoo) 15 | cctoo = $(Ctoo) 16 | cpptoo = $(Ctoo) 17 | 18 | LINK_LIBS = $(c++DBUG) -lpthread 19 | 20 | LINKLIBSO = $(CC) $(c++FLAGS) -lpthread -dynamiclib -undefined dynamic_lookup 21 | # LINKEXE = $(CC) $(c++FLAGS) -lpthread -L$(FOAM_LIBBIN) -lfoam -L$(FOAM_MPI_LIBBIN) -lPstream 22 | LINKEXE = $(CC) $(c++FLAGS) -lpthread -L$(FOAM_LIBBIN)/$(FOAM_MPI) -lPstream 23 | -------------------------------------------------------------------------------- /thirdparty/foamx3m/wmake/rules/darwinIntel64Clang/c++: -------------------------------------------------------------------------------- 1 | .SUFFIXES: .C .cxx .cc .cpp 2 | 3 | c++WARN = -Wall -Wextra -Wno-unused-parameter -Wold-style-cast -Wnon-virtual-dtor -Wno-overloaded-virtual -Wno-unused-comparison 4 | 5 | CC = $(WM_CXX) -m64 -ftrapping-math 6 | # -fsignaling-nans 7 | 8 | include $(RULES)/c++$(WM_COMPILE_OPTION) 9 | 10 | ptFLAGS = -DNoRepository -ftemplate-depth-200 11 | 12 | c++FLAGS = $(GFLAGS) $(c++WARN) $(c++OPT) $(c++DBUG) $(ptFLAGS) $(LIB_HEADER_DIRS) -fPIC -Ddarwin -I/opt/local/include 13 | 14 | Ctoo = $(WM_SCHEDULER) $(CC) $(c++FLAGS) -c $$SOURCE -o $@ 15 | cxxtoo = $(Ctoo) 16 | cctoo = $(Ctoo) 17 | cpptoo = $(Ctoo) 18 | 19 | LINK_LIBS = $(c++DBUG) -lpthread 20 | 21 | LINKLIBSO = $(CC) $(c++FLAGS) -lpthread -dynamiclib -undefined dynamic_lookup 22 | # LINKEXE = $(CC) $(c++FLAGS) -lpthread -L$(FOAM_LIBBIN) -lfoam -L$(FOAM_MPI_LIBBIN) -lPstream 23 | LINKEXE = $(CC) $(c++FLAGS) -lpthread -L$(FOAM_LIBBIN)/$(FOAM_MPI) -lPstream 24 | -------------------------------------------------------------------------------- /thirdparty/foamx3m/src/lagrangian/molecularDynamics/molecule/Make/files: -------------------------------------------------------------------------------- 1 | interactionLists = interactionLists 2 | referredMolecule = $(interactionLists)/referredMolecule 3 | referredCellList = $(interactionLists)/referredCellList 4 | referredCell = $(interactionLists)/referredCell 5 | referralLists = $(interactionLists)/referralLists 6 | directInteractionList = $(interactionLists)/directInteractionList 7 | 8 | $(referralLists)/sendingReferralList.C 9 | $(referralLists)/receivingReferralList.C 10 | $(referredCellList)/referredCellList.C 11 | $(referredCell)/referredCell.C 12 | $(referredMolecule)/referredMolecule.C 13 | $(directInteractionList)/directInteractionList.C 14 | $(interactionLists)/interactionLists.C 15 | 16 | reducedUnits = reducedUnits 17 | $(reducedUnits)/reducedUnits.C 18 | $(reducedUnits)/reducedUnitsIO.C 19 | 20 | molecule = molecule 21 | $(molecule)/molecule.C 22 | $(molecule)/moleculeIO.C 23 | 24 | moleculeCloud = moleculeCloud 25 | $(moleculeCloud)/moleculeCloud.C 26 | 27 | LIB = $(FOAM_LIBBIN)/libmolecule 28 | -------------------------------------------------------------------------------- /src/porefoam1f/script/base/system/decomposeParDict.6: -------------------------------------------------------------------------------- 1 | FoamFile // -*- C++ -*- 2 | { 3 | version 2.0; 4 | format ascii; 5 | class dictionary; 6 | location "system"; 7 | object decomposeParDict; 8 | } 9 | 10 | 11 | numberOfSubdomains 6; 12 | 13 | method multiLevel; 14 | 15 | 16 | 17 | multiLevelCoeffs 18 | { 19 | level0 20 | { 21 | numberOfSubdomains 2; 22 | method scotch; 23 | } 24 | 25 | level1 26 | { 27 | numberOfSubdomains 3; 28 | method scotch; 29 | } 30 | 31 | } 32 | 33 | 34 | 35 | simpleCoeffs 36 | { 37 | n ( 2 2 2 ); 38 | delta 0.001; 39 | } 40 | 41 | hierarchicalCoeffs 42 | { 43 | n ( 2 2 2 ); 44 | delta 0.001; 45 | order xyz; 46 | } 47 | 48 | metisCoeffs 49 | { 50 | // processorWeights ( 1 1 1 1 ); 51 | } 52 | 53 | manualCoeffs 54 | { 55 | dataFile ""; 56 | } 57 | 58 | distributed no; 59 | 60 | roots ( ); 61 | 62 | -------------------------------------------------------------------------------- /src/porefoam1f/script/base/system/decomposeParDict.8: -------------------------------------------------------------------------------- 1 | FoamFile // -*- C++ -*- 2 | { 3 | version 2.0; 4 | format ascii; 5 | class dictionary; 6 | location "system"; 7 | object decomposeParDict; 8 | } 9 | 10 | 11 | numberOfSubdomains 8; 12 | 13 | method multiLevel; 14 | 15 | 16 | 17 | multiLevelCoeffs 18 | { 19 | level0 20 | { 21 | numberOfSubdomains 2; 22 | method scotch; 23 | } 24 | 25 | level1 26 | { 27 | numberOfSubdomains 4; 28 | method scotch; 29 | } 30 | 31 | } 32 | 33 | 34 | 35 | simpleCoeffs 36 | { 37 | n ( 2 2 2 ); 38 | delta 0.001; 39 | } 40 | 41 | hierarchicalCoeffs 42 | { 43 | n ( 2 2 2 ); 44 | delta 0.001; 45 | order xyz; 46 | } 47 | 48 | metisCoeffs 49 | { 50 | // processorWeights ( 1 1 1 1 ); 51 | } 52 | 53 | manualCoeffs 54 | { 55 | dataFile ""; 56 | } 57 | 58 | distributed no; 59 | 60 | roots ( ); 61 | 62 | -------------------------------------------------------------------------------- /thirdparty/foamx3m/doc/Doxygen/tools/find-junkFiles: -------------------------------------------------------------------------------- 1 | #!/usr/bin/perl -w 2 | use strict; 3 | use File::Find (); 4 | 5 | # ----------------------------------------------------------------------------- 6 | # 7 | # Script 8 | # find-junkFiles 9 | # 10 | # Description 11 | # Search for "junk" files left over from editor, core, CVS, etc. 12 | # 13 | # - print filename only 14 | # 15 | # ----------------------------------------------------------------------------- 16 | 17 | sub wanted { 18 | return unless -f $_; 19 | 20 | if ( 21 | m{^\.?.+~$} ## editor backup 22 | or m{^\#.+\#$} ## editor autosave 23 | or m{^\.\#.+$} ## cvs replace update (eg, ".#test.c.1.3") 24 | or m{^core(\.\d+)?$} ## core dump 25 | ) { 26 | print "$File::Find::name\n"; 27 | } 28 | } 29 | 30 | 31 | ## Traverse desired filesystems 32 | for my $dir (@ARGV) { 33 | no warnings 'File::Find'; 34 | warn "(**) checking '$dir' ...\n"; 35 | File::Find::find( { wanted => \&wanted }, $dir ); 36 | } 37 | 38 | -------------------------------------------------------------------------------- /thirdparty/foamx3m/src/dynamicMesh/dynamicFvMesh/Make/options: -------------------------------------------------------------------------------- 1 | EXE_INC = \ 2 | -I$(LIB_SRC)/meshTools/lnInclude \ 3 | -I$(LIB_SRC)/dynamicMesh/dynamicMesh/lnInclude \ 4 | -I$(LIB_SRC)/finiteVolume/lnInclude \ 5 | -I$(LIB_SRC)/decompositionMethods/decompositionMethods/lnInclude \ 6 | -I$(LIB_SRC)/dynamicMesh/meshMotion/solidBodyMotion/lnInclude \ 7 | -I$(LIB_SRC)/dynamicMesh/meshMotion/tetMotionSolver/lnInclude \ 8 | -I$(LIB_SRC)/tetFiniteElement/lnInclude \ 9 | -I$(LIB_SRC)/dynamicMesh/meshMotion/fvMotionSolver/lnInclude \ 10 | -I$(LIB_SRC)/dynamicMesh/meshMotion/RBFMotionSolver/lnInclude \ 11 | -I$(LIB_SRC)/dynamicMesh/meshMotion/mesquiteMotionSolver/lnInclude 12 | 13 | LIB_LIBS = \ 14 | -l:libmeshTools.$(SO) \ 15 | -l:libdynamicMesh.$(SO) \ 16 | -l:libfiniteVolume.$(SO) \ 17 | -l:libdecompositionMethods.$(SO) \ 18 | -l:libsolidBodyMotion.$(SO) \ 19 | -l:libfvMotionSolver.$(SO) \ 20 | -l:libRBFMotionSolver.$(SO) 21 | 22 | /*# -ltetFiniteElement */ 23 | /*# -ltetMotionSolver */ 24 | -------------------------------------------------------------------------------- /thirdparty/foamx3m/src/transportModels/viscoelastic/Make/files: -------------------------------------------------------------------------------- 1 | viscoelasticModel/viscoelasticModel.C 2 | 3 | viscoelasticLaws/viscoelasticLaw/viscoelasticLaw.C 4 | viscoelasticLaws/viscoelasticLaw/newViscoelasticLaw.C 5 | 6 | viscoelasticLaws/LPTT/LPTT.C 7 | viscoelasticLaws/EPTT/EPTT.C 8 | viscoelasticLaws/Oldroyd-B/Oldroyd_B.C 9 | viscoelasticLaws/Maxwell/Maxwell.C 10 | viscoelasticLaws/Giesekus/Giesekus.C 11 | viscoelasticLaws/FENE-CR/FENE_CR.C 12 | viscoelasticLaws/FENE-P/FENE_P.C 13 | viscoelasticLaws/XPP_SE/XPP_SE.C 14 | viscoelasticLaws/XPP_DE/XPP_DE.C 15 | viscoelasticLaws/DCPP/DCPP.C 16 | viscoelasticLaws/Feta-PTT/Feta_PTT.C 17 | viscoelasticLaws/Leonov/Leonov.C 18 | viscoelasticLaws/WhiteMetzner/WhiteMetznerLarson/WhiteMetznerLarson.C 19 | viscoelasticLaws/WhiteMetzner/WhiteMetznerCross/WhiteMetznerCross.C 20 | viscoelasticLaws/WhiteMetzner/WhiteMetznerCarreauYasuda/WhiteMetznerCarreauYasuda.C 21 | viscoelasticLaws/S_MDCPP/S_MDCPP.C 22 | 23 | viscoelasticLaws/multiMode/multiMode.C 24 | 25 | LIB = $(FOAM_LIBBIN)/libviscoelasticTransportModels 26 | -------------------------------------------------------------------------------- /thirdparty/foamx3m/wmake/rules/mingwGcc/c++: -------------------------------------------------------------------------------- 1 | .SUFFIXES: .C .cxx .cc .cpp 2 | 3 | c++WARN = -Wall -Wextra -Wno-unused-parameter -Wold-style-cast -Wnon-virtual-dtor 4 | 5 | CC = g++ 6 | 7 | include $(RULES)/c++$(WM_COMPILE_OPTION) 8 | 9 | ptFLAGS = -DNoRepository -ftemplate-depth-200 10 | 11 | GFLAGS = -DWM_$(WM_PRECISION_OPTION) 12 | c++FLAGS = $(GFLAGS) $(c++WARN) $(c++OPT) $(c++DBUG) $(ptFLAGS) $(LIB_HEADER_DIRS) -I$(OPENMPI_DIR)/include -I$(WM_THIRD_PARTY_DIR)/packages/system/include -Dmingw -DBIG_ENDIAN=0 -DLITTLE_ENDIAN=1 -DBYTE_ORDER=BIG_ENDIAN 13 | 14 | Ctoo = $(WM_SCHEDULER) $(CC) $(c++FLAGS) -c $$SOURCE -o $@ 15 | cxxtoo = $(Ctoo) 16 | cctoo = $(Ctoo) 17 | cpptoo = $(Ctoo) 18 | 19 | LINK_LIBS = $(c++DBUG) -L$(OPENMPI_DIR)/lib -lmpi -lpthread -lz -L$(WM_THIRD_PARTY_DIR)/packages/system/lib -ldl -lpsapi 20 | 21 | LINKLIBSO = $(CC) $(c++FLAGS) -shared -Xlinker --add-needed -Xlinker --no-as-needed 22 | LINKEXE = $(CC) $(c++FLAGS) -Xlinker --add-needed -Xlinker --no-as-needed $(FOAM_LIBBIN)/libOSspecific.o 23 | -------------------------------------------------------------------------------- /thirdparty/foamx3m/src/lduSolvers/Make/files: -------------------------------------------------------------------------------- 1 | crMatrix/crAddressing.C 2 | crMatrix/crMatrix.C 3 | 4 | lduPrecon = lduPrecon 5 | $(lduPrecon)/CholeskyPrecon/CholeskyPrecon.C 6 | $(lduPrecon)/ILU0/ILU0.C 7 | $(lduPrecon)/symGaussSeidelPrecon/symGaussSeidelPrecon.C 8 | $(lduPrecon)/amgPrecon/amgPrecon.C 9 | 10 | lduSmoother = lduSmoother 11 | $(lduSmoother)/symGaussSeidelSmoother/symGaussSeidelSmoother.C 12 | $(lduSmoother)/iluSmoother/iluSmoother.C 13 | 14 | lduSolver = lduSolver 15 | $(lduSolver)/cgSolver/cgSolver.C 16 | $(lduSolver)/bicgSolver/bicgSolver.C 17 | $(lduSolver)/bicgStabSolver/bicgStabSolver.C 18 | $(lduSolver)/gmresSolver/gmresSolver.C 19 | $(lduSolver)/amgSolver/amgSolver.C 20 | $(lduSolver)/fpeAmgSolver/fpeAmgSolver.C 21 | $(lduSolver)/mpeAmgSolver/mpeAmgSolver.C 22 | $(lduSolver)/rreAmgSolver/rreAmgSolver.C 23 | $(lduSolver)/deflationSolver/deflationSolver.C 24 | 25 | amg = amg 26 | $(amg)/amgCycle.C 27 | $(amg)/fineAmgLevel.C 28 | $(amg)/coarseAmgLevel.C 29 | 30 | amgPolicy = $(amg)/amgPolicy 31 | $(amgPolicy)/amgPolicy.C 32 | $(amgPolicy)/pamgPolicy.C 33 | 34 | LIB = $(FOAM_LIBBIN)/liblduSolvers 35 | -------------------------------------------------------------------------------- /.github/workflows/build-test.yml: -------------------------------------------------------------------------------- 1 | name: make and test 2 | 3 | on: 4 | push: 5 | branches: [ master ] 6 | pull_request: 7 | branches: [ master ] 8 | 9 | jobs: 10 | build: 11 | runs-on: ubuntu-latest 12 | 13 | steps: 14 | - name: Checkout 15 | uses: actions/checkout@v4 16 | 17 | # Cache your local build artifacts folder (as you had it). 18 | # Consider keying off files that change when the build graph changes. 19 | - name: Cache lib 20 | uses: actions/cache@v4 21 | with: 22 | path: lib 23 | key: ${{ runner.os }}-lib-${{ hashFiles('**/Makefile', '**/CMakeLists.txt', 'config/**/*.mk') }} 24 | restore-keys: | 25 | ${{ runner.os }}-lib- 26 | 27 | - name: Install prerequisites 28 | shell: bash 29 | run: | 30 | sudo apt-get update 31 | sudo apt-get install -y mpi-default-dev flex libscotch-dev 32 | 33 | - name: Clean 34 | run: echo "skip make distclean" 35 | 36 | - name: Build 37 | run: make -j 38 | 39 | - name: Test 40 | run: make test 41 | -------------------------------------------------------------------------------- /src/porefoam1f/script/base/constant/polyMesh/boundary: -------------------------------------------------------------------------------- 1 | FoamFile // -*- C++ -*- 2 | { 3 | version 2.0; 4 | format ascii; 5 | class polyBoundaryMesh; 6 | location "constant/polyMesh"; 7 | object boundary; 8 | } 9 | 10 | 11 | 6 12 | ( 13 | Top 14 | { 15 | type patch; 16 | nFaces 3805; 17 | startFace 1; 18 | } 19 | Bottom 20 | { 21 | type patch; 22 | nFaces 3805; 23 | startFace 1; 24 | } 25 | 26 | Left 27 | { 28 | type patch; 29 | nFaces 837; 30 | startFace 214105; 31 | } 32 | Right 33 | { 34 | type patch; 35 | nFaces 979; 36 | startFace 214942; 37 | } 38 | Front 39 | { 40 | type patch; 41 | nFaces 3805; 42 | startFace 1; 43 | } 44 | Back 45 | { 46 | type patch; 47 | nFaces 3805; 48 | startFace 1; 49 | } 50 | ) 51 | 52 | 53 | -------------------------------------------------------------------------------- /src/porefoam1f/icoNSFoam/pEqn.H: -------------------------------------------------------------------------------- 1 | 2 | volScalarField rAU = 1./UEqn().A(); 3 | 4 | U = rAU*(UEqn().H()); 5 | 6 | if (pimple.nCorrPISO() <= 1) 7 | { 8 | UEqn.clear(); 9 | } 10 | 11 | phi = (fvc::interpolate(U) & mesh.Sf()) 12 | + fvc::ddtPhiCorr(rho*rAU,U, phi); 13 | 14 | adjustPhi(phi, U, p); 15 | 16 | 17 | // Update the fixedFluxPressure BCs to ensure flux consistency 18 | //setSnGrad ( p.boundaryFieldRef(), 19 | // ( phi.boundaryField() // - fvOptions.relative(mesh.Sf().boundaryField() & U.boundaryField()) 20 | // ) / (mesh.magSf().boundaryField()*rAUf.boundaryField()) ); 21 | 22 | while (pimple.correctNonOrthogonal()) 23 | { 24 | fvScalarMatrix pEqn( fvm::laplacian(rAU, p) == fvc::div(phi) ); 25 | 26 | pEqn.setReference(pRefCell, pRefValue); 27 | 28 | pEqn.solve 29 | ( 30 | mesh.solutionDict().solver(p.select(pimple.finalInnerIter())) 31 | ); 32 | 33 | if (pimple.finalNonOrthogonalIter()) 34 | phi -= pEqn.flux(); 35 | } 36 | 37 | 38 | U -= rAU*(fvc::grad(p)); 39 | //U += rAU*fvc::reconstruct((phi - phiU)/rAUf); 40 | U.correctBoundaryConditions(); 41 | 42 | -------------------------------------------------------------------------------- /src/libvoxel/voxelEndian.h: -------------------------------------------------------------------------------- 1 | //stackoverflow : Kevin: https://stackoverflow.com/a/105342/2718352 2 | //How do I convert between big-endian and little-endian values in C++? 3 | 4 | template inline T be2le(T vv) { 5 | std::cout<<"err"< inline unsigned short be2le(unsigned short vv) { 7 | return (vv >> 8) | (vv << 8); } 8 | template<> inline unsigned int be2le(unsigned int ui) { 9 | return (ui >> 24) | ((ui<<8) & 0x00FF0000) | ((ui>>8) & 0x0000FF00) | (ui << 24); } 10 | template<> inline unsigned long long be2le(unsigned long long ull) { 11 | return (ull >> 56) | 12 | ((ull<<40) & 0x00FF000000000000) | ((ull<<24) & 0x0000FF0000000000) | 13 | ((ull<<8) & 0x000000FF00000000) | ((ull>>8) & 0x00000000FF000000) | 14 | ((ull>>24) & 0x0000000000FF0000) | ((ull>>40) & 0x000000000000FF00) | 15 | (ull << 56); } 16 | 17 | 18 | template class C> 19 | void flipEndian(C& vImage) 20 | { 21 | if(sizeof(T)>1) 22 | std::transform(vImage.begin(), vImage.end(), vImage.begin(), be2le); 23 | } 24 | -------------------------------------------------------------------------------- /thirdparty/foamx3m/src/multiSolver/multiSolver/multiSolverInit.H: -------------------------------------------------------------------------------- 1 | 2 | // Common elements in the constructor initialization list for multiSolver 3 | 4 | multiDicts_(0), 5 | 6 | multiSolverControl_(multiControlDict_.subDict("multiSolverControl")), 7 | solverDomains_(multiControlDict_.subDict("solverDomains")), 8 | currentSolverDomainDict_(), 9 | prefixes_(solverDomains_.toc()), 10 | initialized_(false), 11 | forcedEnd_(false), 12 | noSaveSinceSuperLoopIncrement_(false), 13 | manageLocalRoot_(false), 14 | 15 | superLoop_(0), 16 | currentSolverDomain_("default"), 17 | 18 | initialStartFrom_(misLatestTime), 19 | initialStartTime_(0), 20 | startDomain_("default"), 21 | startSuperLoop_(0), 22 | finalStopAt_(mfsEndTime), 23 | // endDomain_, 24 | finalEndTime_(0), 25 | 26 | endSuperLoop_(0), 27 | 28 | multiDictsRunTimeModifiable_(true), 29 | 30 | globalTimeOffset_(0), 31 | globalIndex_(0), 32 | 33 | purgeWriteSuperLoops_(prefixes_.size()), 34 | 35 | // timeValueStartFrom_, 36 | // scalar startTime_, 37 | // stopAtControls stopAt_, 38 | // scalar endTime_, 39 | // label endIterations_ 40 | 41 | storeFields_(0) 42 | 43 | -------------------------------------------------------------------------------- /src/porefoam1f/script/base/constant/polyMesh/blockMeshDict: -------------------------------------------------------------------------------- 1 | FoamFile // -*- C++ -*- 2 | { 3 | version 2.0; 4 | format ascii; 5 | 6 | root ""; 7 | case ""; 8 | instance ""; 9 | local ""; 10 | 11 | class dictionary; 12 | object blockMeshDict; 13 | } 14 | 15 | 16 | 17 | 18 | convertToMeters 1.; 19 | 20 | vertices 21 | ( 22 | (X1 Y1 Z1) 23 | (X2 Y1 Z1) 24 | (X2 Y2 Z1) 25 | (X1 Y2 Z1) 26 | (X1 Y1 Z2) 27 | (X2 Y1 Z2) 28 | (X2 Y2 Z2) 29 | (X1 Y2 Z2) 30 | ); 31 | blocks 32 | ( 33 | hex (0 1 2 3 4 5 6 7) (Nx Ny Nz) simpleGrading (1 1 1) 34 | ); 35 | 36 | edges 37 | ( 38 | ); 39 | 40 | patches 41 | ( 42 | 43 | patch Back 44 | ( 45 | (0 3 2 1) 46 | ) 47 | patch Front 48 | ( 49 | (4 5 6 7) 50 | ) 51 | patch Left 52 | ( 53 | (0 4 7 3) 54 | ) 55 | patch Right 56 | ( 57 | (2 6 5 1) 58 | ) 59 | patch Bottom 60 | ( 61 | (1 5 4 0) 62 | ) 63 | patch Top 64 | ( 65 | (3 7 6 2) 66 | ) 67 | 68 | ); 69 | 70 | mergePatchPairs 71 | ( 72 | ); 73 | 74 | 75 | 76 | --------------------------------------------------------------------------------